Hi,
I would like to probe the community to see if any of you successfully managed working links using SFPs
Here's my current configuration
OS : OpenWRT 24.10.1 (Bpi-R4 from FW Selector)
Main board : BPi-R4 V1.1
PHY SFP : GSFP-10G-T 10G SFP to RJ45
SFP Chipset : Marvell 88E1111
Added packages : kmod-phy-marvell, kmod-phy-marvell10g
Deleted packages : none (perhaps kmod-phy-realtek, installed at some point)
Current Status :
OpenWRT detects the SFP but with a Realtek RTL8261N chipset instead
rroot@OpenWrt:~# dmesg | grep sfp
[ 13.416057] sfp sfp1: Host maximum power 3.0W
[ 13.420975] sfp sfp2: Host maximum power 3.0W
[ 13.733801] sfp sfp1: module OEM SFP-10G-T rev 1 sn E202411050011 dc 241104
[ 13.754507] sfp sfp2: module OEM SFP-10G-T rev 1 sn E202411050012 dc 241104
[ 50.227076] Realtek RTL8261N i2c:sfp2:11: rtkphy_config_init:69 [RTL8261N/RTL826XB] phy_id: 0x1CCAF3 PHYAD:17
[ 667.820263] mtk_soc_eth 15100000.ethernet eth1: PHY [i2c:sfp2:11] driver [Realtek RTL8261N] (irq=POLL)
[ 674.433150] Realtek RTL8261N i2c:sfp1:11: rtkphy_config_init:69 [RTL8261N/RTL826XB] phy_id: 0x1CCAF3 PHYAD:17
[ 1291.895056] mtk_soc_eth 15100000.ethernet eth2: PHY [i2c:sfp1:11] driver [Realtek RTL8261N] (irq=POLL)
It also reports a S/N different from the one printed on the devices but from a software point of view, everything else seems fine and active, painfully long IP negotiation with the upstream router (10.0.0.X) without successfully establishing a link (after a mere 10+ minutes PER SFP)
I've read here that due to shared I2C pins, there could be a conflict if the M.2 slot is populated, which was at some point but then unpopulated without making a difference.
It was suggested somewhere I just can't find anymore that the br-wan could be causing the SFP not to work and th iface should be directly pointing to eth2
Of course, none of the suggestions worked
ethtool report the link as active.
EDIT :
root@OpenWrt:~# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 100baseT/Half 100baseT/Full
1000baseT/Full
10000baseT/Full
2500baseT/Full
5000baseT/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
2500baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 17
Transceiver: external
Auto-negotiation: on
MDI-X: Unknown
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
Note that partner is only compatible with up to 2.5G
According to this Banana Pi R3 - Enable SFP to RJ45 Adapters with OpenWRT both interfaces should be up and running, but despite ethtool message, according to this guy Gigabit SFP module shows link up with correct rate, but doesn't receive any octets/packets · Issue #34 · Aquantia/AQtion it might be a driver compatibility problem.
Any Insights?
Thanks