BPI-R3 2.5GB Ethernet not working for me

Hello,

Do I have to enable something to make the Ethernet ports 2.5GB ? Doesn’t seem to work for me. I have verified cables, and switch port. I am using image, openwrt-23.05.0-rc3-92a7d087de39-mediatek-filogic-bananapi_bpi-r3-sdcard.img

Everything seems to work, though, haven’t tested the 10GB Ethernet ports, yet…

From menu item, Status, System Log,

  • Mon Sep 11 15:09:28 2023 kern.info kernel: [ 1645.894856] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx

There are no 2.5g “ports”…the sfp cages have 2.5g backend. Here should be noted that right one is connected to switch which also serves the 5 rj45 ports (1g) and also connected with 2.5g to cpu. So having traffic on the rj45 ports will reduce traffic on lan-sfp.

10gbit/s? Upcoming bpi-r4 will have 10g sfp+ ports,but on r3 these are max 2.5g

Ahh, there’s my “problem”, rushing into things again. Thank you for the clarification!

Okay, time to read the SFP threads…

you need this : https://www.aliexpress.com/item/1005004545962352.html

i bought this one : https://www.aliexpress.com/item/1005003922625830.html

but unfortunately it doesn’t seem to support 1G, But TP-Link says it should work at 2.5/1G

root@OpenWrt:~# ethtool sfp2
Settings for sfp2:
        Supported ports: [ FIBRE ]
        Supported link modes:   2500baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  2500baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 2500Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes
root@OpenWrt:~#

i’m wondering if it is not a counterfeit ?

Yes and there are some patches from @ericwoud to get them completely working. Current linux only works in 2.5g mode only…lower speed is not detected,and will cause retransmitts

For tplink version it seems to need special handling

the patch is in the snapshot ? or do we have to compile our own firmware with this patch ? if yes then where can we find it ?

i move the discussion about the TL-SM410U here

No,not yet merged anywhere…SFP OEM SFP-2.5G-T kernel PHY?

I only have a patched mainline kernel here:

You can use it with debian.

Pre-build archlinux package:

ftp://ftp.woudstra.mywire.org/test-builds/aarch64/linux-bpir64-git-6.5.0.rc6.bpi-1-aarch64.pkg.tar.xz

If you know how, can use the binairies inside.

Hmm, I just bought the TL-SM410U from eBay yesterday. Shrug, I want to use it at 2.5GB anyways…