Thx,so basicly eth1 is initially in 2500baseX/Full
mode and change when sfp is inserted. You can try to force mode to 2500baseX in code i posted above
can you try if this series from @dangowrt fixes your 2g5-problem?
https://patchwork.kernel.org/project/linux-mediatek/cover/[email protected]/
?
see comment in coverletter as it requires additional patch to 6.2 for apply
Hi
Thanks for the tips. I will try this weekend.
note series is based on net-next (patch 8 will fail, so apply it with reject and make changes manually)
have applied series here, but have no 2g5 sfp to test: https://github.com/frank-w/BPI-Router-Linux/tree/6.2-netnext-pcs
This one has an option to order for banana pi
€ 14,24 59%OFF | SFP-2.5GE-RJ45 Gigabit 2.5G Module SFP To RJ45 Optical Interface Expansion 2500M Rate Compatible Huawei H3C Cisco TPLINK Switch https://a.aliexpress.com/_EyiBS4l
Anyone have any experience?
Just tested a couple of Huawei MA5671A GPON sticks with standard rooted firmware and Carlito firmware. Both seems to works at 2.5Gbps. Some reeboot attempts are needed to be recognized by R3. I get EEPROM -6 reading error (the EEPROM is simulated on MA5671). Maybe due to the fact that this device is slow to start (fyi it uses an old OpenWRT version). On my TP-LInk MC220L media converter the sticks works without issues. Probably a longer timeout somewhere on R3 startup procedure may be useful…
I got the 2g5 sfps i ordered from erics link above.
They work well with v12 of daniels patches on 6.3. v13 does not work as he needs to drop a patch (or 2) for 2500base-X support. This needs to be done via sfp quirks. It is a software issue we try to solve…hardware works well…i get ~ 2.4 gbit/s with iperf3
Here is a new sale for 13.22€ and without shipping costs if interested:
Ordered a pair. I hope these will be made compatible soon with OpenWRT.
I guess daniel will add the rejected patches to openwrt till a better solution is available
Guess those sales really do not last more than a couple of days… Price is already up on that link as well.
Anyway, I have received the 2 from the first link.
Noticed a possible bug with the 2g5 sfp while bootup and cable connected. Uboot does bot found sd/-partitions. Also full powercycle (disconect power completely for some minutes) does not help. Only disconnecting the cable and powercycle.
It is possible that there are slightly different gnd levels between r3 and my laptop which are bridged by the cable,have not done more tests (e.g. direct connection to rj45 ports of r3 to my laptop…these are connected to my switch).
When i’m in linux there are no issues anymore only uboot seems to be disturbed.
Just in case anyone else fall into it.
I just received the SFP module from Aliexpress. Tried it with OpenWrt SNAPSHOT r22257 on the LAN port (on the WAN I have a Mini ONT MA5671A). I hot plugged the module in, it is recognized and everything seems to work correctly.
I will try to see if rebooting with the cable plugged in causes any problems.
Just received 2 modules from this seller. Working perfectly fine on OpenWrt SNAPSHOT r22235.
do the TL-sm410U work at 1gbit on the BPI-R3?
This module has internal phy which support is currently WIP (discussion between daniel and russel in netdev mailinglist). My cn module can support it,but we have no phy and it can cause retransmitts if more than 1G is transferred (no working flowcontrol on <2g5)
so is there any 2.5gb module that works at 1gb, currently?
There are not much 2g5 modules…i guess in openwrt this tplink sfp works with daniels workaround which was rejected in mainline.
Not only… Not every 1Gb only RJ45 modules works. To be honest I do not know if there are working 1Gb RJ45
I have three working 1000M/100M/10M RJ-45 SFPs:
- ATS SFP-GE-T (1000Base-X, but internally does rate-adaptation and supports 10M and 100M modes as well, doesn’t require additional driver, but comes with broken EEPROM and broken TX-fault indication pin which needs a work-around. In OpenWrt those work-arounds are present)
- FINISAR CORP. FCLF-8521-3-HC (SGMII, comes with Marvell 88E1111 PHY which requires Marvell PHY driver,
kmod-phy-marvell
package in OpenWrt) - AJYA ES-T2-R (like the above requires Marvell PHY driver)