Someone knows that is the Ethernet socket reference involved here? (wiki page)
It seem that a H3-BGA3XX is used but we can not found it from many suppliers (lcsc, digikey, etc…)
and I’ve also tried BGA3 bla bla bla… Nothing
What is the real reference of this component? Does an equivalent exist ?
In addition, many receptacles are numbered from 1 to 8. Not by, B4, A2, etc. More details from editor are welcome.
I’ve applied the same schema like you. No ETH detection by the Armbian system (dmesg does not show anything)
Distrib: Armbian 21.05.1 Focal with Linux 5.15.48-sunxi
For. today, my tip is studying BPI(s) schematics and isolate RJ45 reference and its wiring. I come back when I’ve news
that sounds more like your image does not support the H3 ethernet chip. Even with no wires connected, you should see ‘dwmac-sun8i’ messages with dmesg and a ‘ip a’ should show you an ‘eth0’ device.
I would try the image from my link above, just to verify
I’ve compare the BPI Zero M2 with BPI Zero P2 (near each other).
The P2 model uses a network transformer like HD16K01S-A0. PCB signals name are similar.
Complete schema is here:
A similar schematic is available on texas instruments.
No in-build transformer in my connector, I have used a device similar to this one
as said, as you have no dmesg entries, I think you have a driver problem.
Try command ‘ip a’ to list all network devices.
No need to change wiring or connectors without a eth0 device, do you have this entry?
Did some tests tonight and looks like my assumption is right.
The M2 Zero board settings are applied at boot time according to “sun8i-h2-plus-bananapi-m2-zero.dtb”, so I replaced this file in the ‘non working image’ with the file from the ‘working image’ and after a boot eth0 is visible
@bpoultier Can you try this with your image? I put the dtb file here for download: https://lisy.dev/swrep/BananaPI/sun8i-h2-plus-bananapi-m2-zero.dtb
You find the original file usually in the “/boot/dtb” directory. Best to rename the original file and copy my dtb file afterwards. pls let me know if it works for you
As this is only a workaround we need to find a method enabling this with e.g. a config parameter in armbianEnv.txt. I may ask how to do this in the armbian forum
Happy that I could be of help At the moment I try to write an overlay to activate eth0, but as it is my first ov erlay this will take some time ( first version causes a ‘kernel panic’ )
If you are inrterested in one of my PCB adapters let me know. I ordered a few in China and have some spare …
Thanks for your proposal. I use BPI ZERO M2 on a mainboard (to control power amplifier) and the Eth socket is on this mainboard (it will be connected via LTE modem)
However, you can promote it on armbian’s forum and here then I can forward on twitter to help you to sell your product.
To be complete on BPI ZERO M2 | ETH0 | ETHERNET 10 / 100
EasyEDA / Schema as gif
RG45 Green Led: copy /sys/class/net/eth0/carrier value to an output (script or other language)
RJ45 Yellow Led: wait change on /sys/class/net/eth0/statistics/tx_packets (or rx_packets) and blink yellow led
Components:
RJ2 socket from LCSC: DS1128-09-S8B8X
CN1from LCSC: A2005HWV-2x2P
Note that both can be assembled by JLCPCB
This solution works with “Armbian 21.05.1 Focal with Linux 5.15.48-sunxi” image AND @bontango’s dtb file.
Thanks for the offer but no need for promotion. After test I will make my gerber data public.
The dtb file mentioned here is from an image with a 5.10.60-sunxi kernel. However as I think it is not advisable to mixing Kernel versions I wrote an user overlay which can activate eth0 on newer kernels.