[BPI-R4 Pro] General questions & Mainline

lan ports(2.5g) work only in cooldboot, restart make it down. power off → boot → ports up and working. Restart → ports flaps toons of times and down

root@OpenWrt:~# ip link show lan0
5: lan0@eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN qlen 1000
    link/ether e6:60:16:0c:e5:11 brd ff:ff:ff:ff:ff:ff
root@OpenWrt:~# ethtool lan0
Settings for lan0:
        Supported ports: [  ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
                                2500baseT/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Half
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: external
        MDI-X: Unknown
        Supports Wake-on: pg
        Wake-on: d
        Link detected: no
root@OpenWrt:~#

root@OpenWrt:~# dmesg | grep -i mxl
[    5.934666] mxl862xx mdio-bus:10: switch ready after 0 ms, firmware 1.0.70 (build 70)
[    5.942518] mxl862xx mdio-bus:10:    Mxl862xx CPU Port 9, User Port number 4
[    5.988630] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:00: Firmware Version: 0.77 (0x004D test version)
[    6.042685] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:01: Firmware Version: 0.77 (0x004D test version)
[    6.096665] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:02: Firmware Version: 0.77 (0x004D test version)
[    6.150633] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:03: Firmware Version: 0.77 (0x004D test version)
[    6.204659] MaxLinear Ethernet MxL86252 mxl862xx_dsa-0:04: Firmware Version: 0.77 (0x004D test version)
[    6.221804] mxl862xx mdio-bus:10: mxl862xx_set_vlan_filter_limits: user_pnum:4, priv->max_vlans: 54, cpu_ingress_entries: 9, cpu_egress_entries: 110, user_ingress_entries: 113, user_egress_entries: 111
[    6.251519] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[    6.263852] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 1, to vlan:1 failed with ret -1
[    6.275490] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[    6.289034] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 2, to vlan:1 failed with ret -1
[    6.313618] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[    6.325954] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 3, to vlan:1 failed with ret -1
[    6.346494] mxl862xx mdio-bus:10: mxl862xx_port_vlan_add: Port:9 failed to prepare egress filters for VLAN:1 with vlan_filtering disabled
[    6.358827] mxl862xx mdio-bus:10: mxl862xx_isolate_port: adding port 4, to vlan:1 failed with ret -1
[    6.374190] mxl862xx mdio-bus:10: configuring for fixed/usxgmii link mode
[    6.380979] mxl862xx mdio-bus:10: Link is Up - 10Gbps/Full - flow control off
[    6.381943] mxl862xx mdio-bus:10 lan0 (uninitialized): PHY [mxl862xx_dsa-0:00] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[    6.400558] mxl862xx mdio-bus:10 lan1 (uninitialized): PHY [mxl862xx_dsa-0:01] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[    6.418396] mxl862xx mdio-bus:10 lan2 (uninitialized): PHY [mxl862xx_dsa-0:02] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[    6.430722] mxl862xx mdio-bus:10 lan3 (uninitialized): PHY [mxl862xx_dsa-0:03] driver [MaxLinear Ethernet MxL86252] (irq=POLL)
[    6.452270] mxl862xx mdio-bus:10: Firmware version 1.0.70.70
[    6.737282] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[   15.186559] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[   15.208910] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   15.241893] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   15.264910] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   15.288816] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   15.311786] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   15.335398] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   15.400015] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[   15.424613] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   15.462114] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   15.485508] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   15.514419] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   15.537389] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   15.566331] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   15.630188] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[   15.652223] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   15.694074] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   15.716960] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   15.750137] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   15.772914] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   15.806317] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   15.870602] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[   15.892631] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   15.939293] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[   15.962185] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   16.000356] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[   16.023139] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   16.321030] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[   16.480787] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[   16.510841] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   16.558188] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   25.838088] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   28.949189] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   28.987557] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   29.010471] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[   29.048795] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[   29.061220] mxl862xx mdio-bus:10 lan0: Link is Down
[   29.116806] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[   29.141044] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   29.187897] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   29.210735] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   29.248955] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   29.271763] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[   29.309829] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[   29.371234] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[   29.393037] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   29.439773] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   29.462593] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   29.500662] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   29.523473] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[   29.561656] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[   29.624010] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[   29.645797] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   29.692409] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[   29.715312] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   29.753471] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[   29.776277] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[   29.814308] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  303.098878] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[  307.261594] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[  471.594896] mxl862xx mdio-bus:10 lan0: Link is Down
[  474.721172] mxl862xx mdio-bus:10 lan0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[  510.372386] mxl862xx mdio-bus:10 lan0: Link is Down
[  510.450363] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[  510.473563] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  510.520712] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  510.543535] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  510.582244] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  510.605036] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  510.643123] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  510.724846] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[  510.746665] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  510.793397] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  510.816215] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  510.854341] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  510.877114] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  510.915326] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  510.994230] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[  511.016050] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  511.062737] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  511.085596] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  511.123863] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  511.146635] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  511.184887] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  511.263648] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[  511.285470] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  511.332372] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  511.355194] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  511.393431] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  511.416199] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  511.713623] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  511.885835] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[  511.908704] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  511.934196] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  511.957111] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  511.995217] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  512.018076] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  512.056380] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  512.198320] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[  512.220163] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  512.258457] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  512.281306] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  512.320128] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  512.342950] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  512.381041] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  512.449323] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[  512.471118] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  512.517843] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  512.540750] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  512.578773] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  512.601598] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  512.639771] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  512.701386] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[  513.001869] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  513.040208] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  513.063137] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  513.101314] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  513.124144] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  513.162343] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  548.283955] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  548.322558] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  678.581623] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[  678.614649] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  678.653285] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  678.676138] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  678.714252] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  678.737023] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  678.775218] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  678.856740] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[  678.878570] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  678.925382] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  678.948205] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  678.986393] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  679.009178] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  679.047510] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  679.126697] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[  679.148488] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  679.195252] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  679.218074] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  679.256160] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  679.278934] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  679.317033] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  679.396760] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[  679.418549] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  679.450251] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  679.473179] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  679.511330] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  679.534097] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  679.830555] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  680.003156] mxl862xx mdio-bus:10 lan0: configuring for phy/internal link mode
[  680.026141] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  680.073133] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  680.096014] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  680.134087] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  680.156909] mxl862xx mdio-bus:10 lan0: entered allmulticast mode
[  680.195036] mxl862xx mdio-bus:10 lan0: left allmulticast mode
[  680.258750] mxl862xx mdio-bus:10 lan1: configuring for phy/internal link mode
[  680.280952] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  680.327607] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  680.350491] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  680.388744] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  680.411623] mxl862xx mdio-bus:10 lan1: entered allmulticast mode
[  680.449756] mxl862xx mdio-bus:10 lan1: left allmulticast mode
[  680.549272] mxl862xx mdio-bus:10 lan2: configuring for phy/internal link mode
[  680.571075] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  680.617797] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  680.640703] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  680.678895] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  680.701723] mxl862xx mdio-bus:10 lan2: entered allmulticast mode
[  680.739775] mxl862xx mdio-bus:10 lan2: left allmulticast mode
[  680.802165] mxl862xx mdio-bus:10 lan3: configuring for phy/internal link mode
[  680.823941] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  681.120142] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  681.149053] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  681.187155] mxl862xx mdio-bus:10 lan3: left allmulticast mode
[  681.210012] mxl862xx mdio-bus:10 lan3: entered allmulticast mode
[  681.248198] mxl862xx mdio-bus:10 lan3: left allmulticast mode
root@OpenWrt:~# dmesg | grep -i eth1
[    5.104809] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082980000, irq 104
[    6.442385] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[    6.710992] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[    6.765705] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   15.143413] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   15.150984] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   15.204454] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   15.223442] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.247656] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.270917] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.294602] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.317794] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.341188] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.349243] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   15.365211] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   15.419418] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   15.439171] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.467877] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.491550] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.520182] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.543395] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.572080] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.579837] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   15.595361] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   15.648402] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   15.666715] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.699810] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.722964] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.755879] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.778910] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.812061] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.819756] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   15.835270] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   15.888331] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   15.907123] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   15.945044] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   15.968182] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   16.006099] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   16.029135] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   16.326775] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   16.334676] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   16.449389] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   16.508004] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   16.525357] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   16.563980] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   28.955209] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   28.993303] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.016477] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.054561] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.067556] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   29.086108] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   29.139148] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   29.155544] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.193640] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.216738] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.254698] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.277759] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.315571] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.324009] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   29.340864] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   29.393539] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   29.399031] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.445516] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.468589] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.506406] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.529470] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.567394] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.575807] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   29.592682] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[   29.645728] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[   29.660279] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.698146] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.721315] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.759209] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.782280] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   29.820045] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[   29.873272] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  239.184212] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  239.237279] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  510.390285] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  510.417117] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  510.470129] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  510.488062] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.526450] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.549538] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.587991] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.611040] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.648867] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.657055] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  510.693845] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  510.746901] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  510.752660] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.799141] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.822216] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.860082] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.883110] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  510.921077] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  510.929470] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  510.963225] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  511.016292] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  511.022052] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.068483] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.091598] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.129605] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.152635] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.190631] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.198887] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  511.232672] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  511.285725] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  511.291468] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.338116] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.361197] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.399176] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.422199] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.719364] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.727877] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  511.852817] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  511.905989] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  511.908710] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  511.939941] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  511.963108] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.000967] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.024073] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.062135] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.075517] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  512.094253] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  512.147568] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  512.226161] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.264196] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.287310] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.325866] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.348955] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.386789] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.395316] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  512.418610] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  512.471653] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  512.477116] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.523582] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.546754] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.584510] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.607600] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  512.645508] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  512.653732] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  512.670681] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  512.723725] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  513.007878] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  513.045946] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  513.069141] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  513.107062] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  513.130148] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  513.168086] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  513.176514] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  548.289955] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  548.328298] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  678.545831] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  678.599247] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  678.620656] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  678.659024] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  678.682143] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  678.719999] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  678.743023] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  678.780960] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  678.789423] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  678.825706] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  678.878771] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  678.884569] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  678.931127] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  678.954207] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  678.992136] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.015180] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.053253] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.061672] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  679.095715] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  679.148790] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  679.154489] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.200998] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.224079] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.261903] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.284935] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.322776] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.331201] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  679.365743] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  679.418810] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  679.424547] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.455988] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.479175] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.517067] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.540098] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  679.836293] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  679.844772] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  679.970534] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  680.023506] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  680.040638] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.078871] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.102017] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.139832] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.162911] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.200779] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.209219] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  680.227873] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  680.280806] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  680.295435] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.333357] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.356489] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.394493] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.417619] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.455502] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.463956] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  680.518053] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  680.570818] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  680.585566] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.623539] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.646698] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.684647] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.707720] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  680.745522] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  680.753932] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[  680.771470] mtk_soc_eth 15100000.ethernet eth1: configuring for fixed/10gbase-r link mode
[  680.824509] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control rx/tx
[  680.829939] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  681.125898] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  681.155055] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  681.192900] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  681.216009] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[  681.253941] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  681.262402] mtk_soc_eth 15100000.ethernet eth1: Link is Down

Thank you for the report,the driver i try to add is for such tests…it will be replaced by mainline driver where such reports will improve this mainline driver.

1 Like

Are you able to add a line to bpi-r4pro dtsi file for mxl switch?

It looks like chads driver i use for openwrt uses different reset than i use for debian.

reset-gpios = <&pio 4 GPIO_ACTIVE_HIGH>;

To the mxl properties

i build ur last commit - 2.5 ports wont start at all

[   16.251151] mxl862xx mdio-bus:10: switch not responding after reset
[   16.257427] mxl862xx mdio-bus:10: failed to register DSA switch
[   16.263344] mxl862xx mdio-bus:10: probe with driver mxl862xx failed with error -110
[   16.271236] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   16.282245] init: - preinit -
[   16.498039] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   16.506212] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
Press the [f] key and hit [enter] to enter failsafe mode

yes,i know…you are fast with testing :slight_smile:

already reverted it (pushed because other user wanted to try out :slight_smile: )…currently try if it has to be active low

edit: active-low seems to work, also after reboot (reproduced your issue before)…only get vlan-error while bootup…not sure if it is critical…updated my tree with new patch

After adding additional delay after the reset it looks stable so far,lower delay seems not working.

Daniel told me that downstream driver should not merged to openwrt and he should finish upstream driver soon to add this to openwrt instead.

In the meantime i try to get R4Pro working with 7.0 where i experienced some issues (mxl switch detected,but no traffic,ethmux broken+reverted for now,phy not tested yet).

1 Like

kernel: add DSA driver for MaxLinear MxL862xx switches by dangowrt · Pull Request #22612 · openwrt/openwrt

@frank-w what is the plan for the 1.0.78 firmware… it is not clear to me if it will be released or buildt completely from dango?

I still use 1.0.70 and not yet done a firmware update yet (other firmwares are currently under nda),only got some information from daniel about this. We can only wait till maxlinear releases an offical firmware ot test with current installed version. Latest patches work so far (7.0-mxl branch in my repo),only noticed an issue with software bridge which could be caused by my outdated firnware. But i have not done extenaive tests yet,only bootup basic ip assignment on sw bridge (which does not get traffic),removed bridge and put ip on interface directly (worked so far). No iperf,vlan or similar yet.

1 Like

now that the driver is merged and the statement from Daniel is very clear… at least the 1.0.78 is needed… I am wondering if @sinovoip as vendor of the rourter itself is in charge/available to provide the 1.0.78 firmware for ppl that bought the board. @sinovoip1

@sinovoip @sinovoip1 what is the status on firmware 1.0.78. I have a router sitting here that I purchased from you and it is essentially useless without the firmware.

2 Likes

Also looking for the latest firmware version for the MXL 2.5g switch.

2 Likes

Dear Manufacturer,

As a customer, we require a new version for the switch. We kindly ask you to provide it.

[BPI-R4 PRO] Maxlinear switch firmware update - Banana Pi Router design / BPI-R4/BPI-R4 Pro(MT7988) - banana pi single board computer open source project official forum BPI team

I believe ethmux has been merged into the kernel according to this article. Does this mean we are getting closer?

https://bootlin.com/blog/linux-7-0-released-bootlin-contributions-inside/

No it is only the base for mux patches which are not yet sent (only 2 series between)

I’d appreciate your honest opinion. I bought a BPI-R4 Pro 8X (and then read the forum—very “insightful”), and I’ve already received it (version 1.0 board); I have 90 days to return it. My question is: is there any hope that this will be a stable device? Did I just buy a very expensive paperweight? I’m wondering whether to return it and order again or just wait.

I know it’s called a “development” board, but I think we all expect to be able to use this as a primary device and for it to be stable. I’ve been following the discussions on Maxilinear v1.0.78, and I have enormous respect for everyone working on GitHub in the OpenWRT context for your work. However, I’m not an expert in this field, so I’d like to ask you what you think.

let’s say that maxlinear releases the new firmware(who knows that). You would have a half good working board supported with main openwrt.

Half, because ATM there is no support for muxing the sfp/lan/wan ports at runtime. This means that if the pull request your are talking about on openwrt gets merged (again with the new firmware, who knows when it will come) you will only be able to use the SFPs + the 2.5 switch ports.

can you live with it for an indefinite amount of time? This series is stuck, and this is not even the final one to have muxing working. Netdev + BPF - Patchwork

Also somewhere i read there were issues with the 2 aeonsemi… so no-one knows when the aeonsemi and hot-muxing will be “stable” enough.

If you can live with all of this you keep it.

Good morning @Pavarell, definitely return it, don’t hesitate.

The manuals are outdated and corrupt the internal NAND.

Banana Pi won’t lift a finger for us. This decoder was born to fail.

I haven’t seen anyone post any images anywhere yet.

Only the ones I’ve uploaded to the forum. Definitely return it.

Regards

have you bought the board with the sole purpose of using openwrt ? or are you open to use other versions like the mtk-sdk, Frank’s kernel versions that you can wrap around a linux distro… if you are looking solely to use openwrt i am afraid is a waiting game and suggest you return it to comeback when openwrt suppport is full.