[BPI-M2 Zero]Ethernet socket reference

a thousand thanks! if you could upload the BOM and CPL files by today that would be great (full rj45 connector for bpi-m2-zero in industrial production) A thousand thanks

Find all files here: https://lisy.dev/swrep/BananaPI/Ethernet_Connector/v2/

You will need to purchase and solder the ‘4pin header’ yourself because JLCPCB allows only pre assembling on one side and the RJ45 is at ‘top’ while the 4pin header is on ‘bottom’.

Hope it works. For any questions you will find my e-mail address at the contact page of my website.

Once finished and tested would be great if you can send me some pictures of v2 for www.lisy.dev

grafik

thank you so much my friend!

I uploaded a new order on the site https://jlcpcb.com/ with a request for pre-assembly of the rj45 connector. From what I see their rj45 is possibly unshielded (???): rj45_not_schermatic

From the new preview view scheme that loads the jlcpcb site, the bpi to rj45 pins do not seem to be connected correctly as per today’s previous scheme. The pin 3 (bpi) on PCB V2 not connected to rj45, this is normal? V2_pre-assembled_pin3_bpi_not_connect

We hope it arrives soon to try it on the banana pi zero card. A thousand thanks

As GND is not connected to the adapter anyway, I used an unshielded connector. Pin3 is connected at ‘bottom’ layer, you see the connection at the picture on the right which shows the bottom side of the PCB.

Looking forward to your test report :slightly_smiling_face:

OK thanks.

To use a rj45 schematic connector now would it be a problem?

I saw that they have not yet started the assembly procedure, I could try to have the rectification done.

a thousand thanks

For the first testorder you should go with the connector I choosed. I’m pretty sure that it will work.

Hello,

I registered just to post thank you. it works for me. I have used HanRun HR911105A. For status LEDs, it is possible to use the values in:

/sys/class/net/eth0/statistics/rx_packets

and

/sys/class/net/eth0/carrier

and output it via any 2 free GPIOs with help of little python scripting

Thanks again Sergi

Hi I try to get ethernet working on my BPI.

Linux bananapim2zero 5.10.12-sunxi

I can see eth0

eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 02:81:68:db:ea:a8 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 41

dmesg looks good

8362] dwmac-sun8i 1c30000.ethernet eth0: PHY [0.1:01] driver [Generic PHY] (irq=POLL)
[ 19.505738] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[ 19.505770] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[ 19.505787] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[ 19.506856] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/mii link mode

And status looks ok
root@bananapim2zero:/sys/firmware/devicetree/base/soc/ethernet@1c30000# cat status
okay
root@bananapim2zero:/sys/firmware/devicetree/base/soc/ethernet@1c30000#

I have connected the BPI with an simple 4-pol cabel to the Switch, but I don’t get an connection. I’ve checked the wiring multiple times, but nothing. The switch doesn’t blink either. Don’t I have to configure anything? What can I do.

BR Hartmut

Now it Run’S

Who can tell - which socket type will fit here?

As I’ve describe, I used DS1128-09-S8B8X --> https://jlcpcb.com/partdetail/CONNFLYElec-DS1128_09S8B8X/C86578

You can choose another. The main thing is to choose without transformer :wink:

Thanks, but I want to solder onboard socket, something like https://www.platan.ru/img_base/nn_jpg/2015024105.jpg

to connect ethernet to it

I am almost sure (I hadn’t one to confirm) that those pins are 0.1" pitch

Sockets like https://www.mouser.com/datasheet/2/527/ssq_th-2854703.pdf works

1 Like

Thank you very much, bontango. It worked perfectly.

1 Like

Hey, I’ve been having the same problem.

I’m using a BPI-M2 Zero with Armbian Bookworm.

At first I had described at the beginning of this topic (eth0 disabled) and followed the Bontango’s steps to enable thought users overlays (shout out to @bontango, you helped a lot). But instead of enabling the eth0 interface, it activated a connection called “end0”, I’m assuming it’s just another name for the same interface.

But now I’m stuck at the same problem discribed by @hartmut, how did you fixed it?

Not sure, but I would guess that Armbian Bookworm prefers end0 instead of eth0? Anyway, it should work with ‘end0’ also what is the output of ‘ip a’ ? Do you have made a network config for end0 interface?

I’ve done some research regarding the name “end0”, it seems that on newest systems the name is based on hardware location. The following link explains it: https://wiki.debian.org/NetworkInterfaceNames

I actually have configured the network interface to:

imagem_2023-06-01_192901204

And the “ip a” output was:

imagem_2023-06-01_193310813

I also tested iperf3 command (sorry about the cutted content, but i think it does its job)

imagem_2023-06-01_193751706

I’m quite new at these microcontrollers and linux universe, therefore I have absolutely no idea what to do now…

You can do this https://forum.armbian.com/topic/5798-predictable-network-interface-names/#comment-44887

Network config looks good, the interface name should not be the cause of the problem. However from the ‘ip a’ output your interface is still in ‘down’ state. As soon as you connect it to your Network it should change to ‘up’ state.Most likely its a physical problem. Did you doublecheck the connections? What is your physical setup? Did you use my adapter or your own wiring?

Sorry for ghosting on you guys, I had to put the project on hold for a while.

Meantime, I got some RJ45 to MicroUSB adapters and they work just fine! I was using my own wiring and that might be the problem, though I checked multiple times if the connections were right.

In the future I intend to try solding the wires again, but for now I’ll stick to what is working. When I do, will post the results!

@igorpec it worked just fine! Thank you all guys!!!

1 Like

I would love to get an ethernet adapter for my M2.0, but I don’t know how to send a DM here on this board.