BPI-R4: Copper SFP issues

Martin Schiller ms at dev.tdt.de
Thu Aug 1 04:02:35 PDT 2024


On 2024-08-01 10:22, Daniel Golle wrote:
> On 1 August 2024 07:26:35 UTC, Martin Schiller <ms at dev.tdt.de> wrote:
>> Hi!
>> 
>> I've got some issues bringing up copper SFPs in a BananaPi BPI-R4 
>> runnig
>> the latest OpenWrt master. Using the original Firmware pre-installed 
>> on
>> the BPI-R4 makes the modules work as expected:
>> 
>> I've tested with a HPE J8177C 1GBASE-T module as well as with a FS
>> SFP-10G-T module.
>> 
>> Any ideas what could be wrong here?
>> 
>> Here are the debug log outputs:
> 
>> [   81.554779] mtk_soc_eth 15100000.ethernet eth2: validation with 
>> support 00,00000000,00000000,00000000 failed: -EINVAL
>> [   81.565458] sfp sfp1: sfp_add_phy failed: -EINVAL
>> [   81.570155] sfp sfp1: SM: exit present:up:fail
> 
> Looks like you are simply missing kmod-phy-marvell as well as
> kmod-phy-marvell-10g. Do you have those driver module packages
> installed?

Thank you very much for this hint. Adding the kmod-phy-marvell makes the
1G-BASE-T module working.

The FS SFP-10G-T is still not working, but I've found some fixes for
this module in linux v6.9 and v6.10.

I'll try to backport this changes.

Thanks,
Martin



More information about the openwrt-devel mailing list