xvzf / zyxel-gpon-sfp

Telekom FTTH with OpenWRT/PfSense/VyOS/Mikrotik/... (Reverse engineering Zyxel PMG3000-D20B GPON SFP)
177 stars 23 forks source link

Broadcom 57810S based SFP+ NIC compatibility #10

Open k0xak opened 2 years ago

k0xak commented 2 years ago

Anybody can confirm compatibility of this SFP module with server/desktop NIC based on Broadcom 57810S chipset?

Dell 0Y40PH or N20KJ
HP 530SFP+
10Gtek 57810S-10G-2S-X8

Is soldering mod needed to get it working in these type of cards?

Is management working when fiber is not plugged in?

1Gbps (SGMII) speed is working with unmodified driver? Anyone tested 2.5Gbps (HSGMII) with modified driver?

xvzf commented 2 years ago

For HP 530SFP+: no experience with this specific SFP but it likely works out of the box, have used it with Juniper&Arista vendors as well. The BCM57810S should support HSGMII but Auto negotiation for that likely does not

xvzf commented 2 years ago

For me it doesn't matter if fiber is connected or not, it might make sense to hot-reload drivers. Since the SFP runs Linux it can take some time to boot up and the interface doesn't come up properly

k0xak commented 2 years ago

I have tested two BCM57810S based cards and two Zyxel SFP modules.

No matter what I do its not detected via ethtool -m. It simply wont show up - with our without fibre connected.

When I insert Huawei MA5671A or some 10G Ethernet - its immedieately recognized.

Do I really have two dead Zyxel adapters (purchased as used from Italy) or some magic is needed?

xvzf commented 2 years ago

@k0xak you're located nearby by chance, then I could check.

I ordered the official telekom branded modem (idealo link) and it worked on my desktop 10G card (Intel chipset), an Intel Atom based 10G chipset and a Mikrotik Rb5009 which is its current home.

k0xak commented 2 years ago

10G card with Intel chipset - you mean Intel X520 card?

k0xak commented 2 years ago

I tried this tip. Unfortunately module stil not detected. On monday I will try to find another sfp device.

https://www.computerbase.de/forum/threads/eigenes-modem-an-ftth-anschluss-via-sfp-gpon-modul.2061989/post-26839447

xvzf commented 2 years ago

Yep, Intel X520. You could try to plug the SFP into a regular switch and see if the link is coming up.

IMHO the 2.5G HSGMII is not really relevant here in Germany (yet), as you almost never reach >1Gbit data rates. That's me saying with an extended homelab ;)

k0xak commented 2 years ago

I can now confirm Zyxel SFP GPON module works out of the box in Intel X520 card.

Broadcom 57810S seems incompatible - cannot get it to work even with soldering mod.

xvzf commented 2 years ago

@k0xak feel free to create a PR and add your findings there!

sodaws commented 12 months ago

Hmmm for me the dslreports soldering mod works. I have a QLogic QLE3442-CU, which should be the exact same card as the HP 530SFP+ but with a different name. Did you double check continuity with a multimeter @k0xak?

Screenshot 2023-09-17 150337

Solder bridge the green parts and probe between to top of the marked resistor and ground. It should read around 0 Ohm. The resistor itself has 5k Ohm. It is really easy to make a cold solder joint here.

The other method to get it working is to solder on the module.

This module seems to suffer the same issue as the Nokia ones, described here. Compared to the Nokia one I'm reading 56k Ohm between pin 6 and ground. The layout is quite different. There seem to be multiple parts between pin 6 and ground. The right hand bottom resistor in this picture is 10k Ohm. Don't see an obvious way to bridge to ground though. tw236h-cdel-th Screenshot 2023-09-16 203456

Haven't tested 2.5G mode yet. 1G works.

EDIT: 2.5G mode also works

Activated 2.5G with this command. I don't know why it says it doesn't work with 57810s...it works for me.

nalilord commented 5 months ago

Solder bridge the green parts and probe between to top of the marked resistor and ground. It should read around 0 Ohm. The resistor itself has 5k Ohm. It is really easy to make a cold solder joint here.

The other method to get it working is to solder on the module.

This module seems to suffer the same issue as the Nokia ones, described here. Compared to the Nokia one I'm reading 56k Ohm between pin 6 and ground. The layout is quite different. There seem to be multiple parts between pin 6 and ground. The right hand bottom resistor in this picture is 10k Ohm. Don't see an obvious way to bridge to ground though.

Regarding soldering directly on the module: You can put a wire strand between the resistor connected to pin 6 and the cap next to it. The module is working fine for me now in a BCM957810A1006G NIC with 2.5G link speed. Btw the module was working fine out of the box in an Intel X520-DA2 via 1G.

Also, I used this patch to patch my kernel driver module (Gentoo Linux): curl https://raw.githubusercontent.com/JAMESMTL/snippets/master/bnx2x/patches/bnx2x_warpcore_8727_2_5g_sgmii_txfault.patch | patch -p1 -d/usr/src/linux

IMG_20240407_090834