I’ve recently received my R4 board and set it up, using the current openwrt snapshot running on a SD. The only missing item is WAN running over SFP, my ISP uses a technicolor AFM0002 as ONT but, if i set it in the sfp wan port, i only get a single notification in dmesg that the sfp port is providing 3W and nothing else. If i set the ONT in a gigabit media converter, the status indicator shows that the link goes up after roughly a minute so i would guess there is some shenanigans that aren’t supported on the openwrt build or the bpi. My ISP doesn’t support that part anymore so if i change plan I’m getting an external ONT if I like it or not anyway, so is there a forum favorite part to get copper 2.5/5/10 speeds on SFP+?
There are few threads where after reading posts, you will get an answer.
From my side, two days ago I received SFP+ module based on RTL8261 (you can buy it on Ali here - it is module for 30m, the module for 80m is based on Broadcom). After short time, I can recommend, but for sure on that forum or on OpenWRT forum you will get better answer.
I’m trying to get my SFP working but I’m hitting a wall. On the chip it’s RTL8261BE and in OpenWRT it’s loading the RTL8261N firmware. Could you help by sharing dmesg | grep sfp ? My installation (24.10.1) is really struggling with this one spending over 10 minutes trying to enable the interface for each one of them. Also, sharing which packages you used for the drivers would maybe help Thanks
Here’s the output of mine, pay attention to timestamps
BPI-R4:~# dmesg | grep sfp | grep -v sfp-lan
[ 6.725964] mtk_soc_eth 15100000.ethernet sfp-wan: renamed from eth2
[ 13.041193] sfp sfp1: Host maximum power 3.0W
[ 13.046115] sfp sfp2: Host maximum power 3.0W
[ 13.364477] sfp sfp2: module OEM SFP-2.5G-T rev 1.0 sn SKY2307120002 dc 230712
[ 13.411348] sfp sfp1: module OEM SFP-10G-T-I rev A sn 202503260109 dc 250326
[ 13.420772] mtk_soc_eth 15100000.ethernet sfp-wan: switched to inband/1000base-x link mode
[ 16.085373] sfp sfp2: Unable to ascertain link mode
[ 16.283350] mtk_soc_eth 15100000.ethernet sfp-wan: configuring for inband/1000base-x link mode
[ 16.298336] br-wan: port 1(sfp-wan) entered blocking state
[ 16.303863] br-wan: port 1(sfp-wan) entered disabled state
[ 16.309375] mtk_soc_eth 15100000.ethernet sfp-wan: entered allmulticast mode
I know that what I would say is stupid, but it works on my side. Tl;dr in u-boot via UART, run reset settings to defaults (or something like that). If you are using sdcard, you need to make reset in eMMC, when NAND do it in NAND, when eMMC do in eMMC. I don’t know why, but it works.
I’ve created a post on OpenWrt Forum with more details about my issue, including the listing from Alibaba and a picture of the actual product I got from them, but I’m still experiencing… challenges [Banana BPI-R4] SFP Status - For Developers - OpenWrt Forum
i think I did that many times, but for other reasons. I’ve reflashed so many times the SD → NAND → emmc with different builds, some were corrupted in the process (or partially flashed) for an obscure reason and I remember running the Uboot reset to factory multiple times, but I was mostly looking at the BE14 Wifi7 card that would randomly not being detected or held the system hostage until I get a full stack error XD I believe it’s a thermal issue but will surely look into th state of SFPs after running the factory reset from Uboot menu once I figure out how to regain access to the UART input!
Thanks for the insight!