Hey all, I just started from scratch by installing the Mediatek’s 21.02 and I have exactly the same problem - no link on 2.5GbE; I really thought that the problem was with the latest OpenWrt, but now I believe that the board is simply dodged, unless someone proves me here that it was upgrading the bootloader that could have somehow impacted the stuff.
For completeness the dmesg from running with Mediatek’s factory firmware
root@OpenWrt:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[ 0.000000] Linux version 5.4.260 ([email protected]) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 unknown)) #0 SMP Fri Jan 19 02:26:09 2024
[ 0.000000] Machine model: Bananapi BPI-R4
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011000000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] On node 0 totalpages: 1045952
[ 0.000000] DMA32 zone: 12288 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 783808 pages, LIFO batch:63
[ 0.000000] Normal zone: 4096 pages used for memmap
[ 0.000000] Normal zone: 262144 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 20 pages/cpu s44376 r8192 d29352 u81920
[ 0.000000] pcpu-alloc: s44376 r8192 d29352 u81920 alloc=20*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1029568
[ 0.000000] Kernel command line: console=ttyS0,115200n1 loglevel=8 earlycon=uart8250,mmio32,0x11000000 earlyprintk pci=pcie_bus_perf block2mtd.block2mtd=/dev/mmcblk0,65536 mtdparts=mmcblk0:4608K(BL2)ro,4M(RF),2M(FIP)ro,32M(Kernel),1024M(rootfs),2048M(usrdata),-(bmtpool) rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0xfb7ec000-0xff7ec000] (64MB)
[ 0.000000] Memory: 4025132K/4183808K available (8382K kernel code, 600K rwdata, 2460K rodata, 512K init, 295K bss, 158676K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 416 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: Distributor has no Range Selector support
[ 0.000000] GICv3: 16 PPIs implemented
[ 0.000000] GICv3: no VLPI support, no direct LPI support
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000003] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008276] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=52000)
[ 0.018676] pid_max: default: 32768 minimum: 301
[ 0.023404] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.030900] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.039455] ASID allocator initialised with 65536 entries
[ 0.044967] rcu: Hierarchical SRCU implementation.
[ 0.050069] smp: Bringing up secondary CPUs ...
[ 0.054865] Detected VIPT I-cache on CPU1
[ 0.054883] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.054897] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[ 0.055112] Detected VIPT I-cache on CPU2
[ 0.055122] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.055129] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[ 0.055329] Detected VIPT I-cache on CPU3
[ 0.055338] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.055345] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[ 0.055374] smp: Brought up 1 node, 4 CPUs
[ 0.112394] SMP: Total of 4 processors activated.
[ 0.117156] CPU features: detected: 32-bit EL0 Support
[ 0.122356] CPU features: detected: CRC32 instructions
[ 0.127642] CPU: All CPU(s) started at EL2
[ 0.131795] alternatives: patching kernel code
[ 0.138408] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.148289] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.155312] pinctrl core: initialized pinctrl subsystem
[ 0.161015] NET: Registered protocol family 16
[ 0.165721] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.172641] printk: console [pstore-1] enabled
[ 0.177183] pstore: Registered ramoops as persistent store backend
[ 0.183440] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.191235] GPIO line 432 (asm_sel) hogged as output/high
[ 0.196745] GPIO line 433 (pca9545_rst) hogged as output/high
[ 0.207743] cryptd: max_cpu_qlen set to 1000
[ 0.213261] SCSI subsystem initialized
[ 0.217171] libata version 3.00 loaded.
[ 0.221146] usbcore: registered new interface driver usbfs
[ 0.226791] usbcore: registered new interface driver hub
[ 0.232190] usbcore: registered new device driver usb
[ 0.237858] Bluetooth: Core ver 2.22
[ 0.241501] NET: Registered protocol family 31
[ 0.245997] Bluetooth: HCI device and connection manager initialized
[ 0.252432] Bluetooth: HCI socket layer initialized
[ 0.257367] Bluetooth: L2CAP socket layer initialized
[ 0.262483] Bluetooth: SCO socket layer initialized
[ 0.267624] rbus 18000000.wbsys: PCI host bridge to bus 0004:00
[ 0.273622] pci_bus 0004:00: root bus resource [mem 0x18000000-0x18ffffff]
[ 0.280590] pci_bus 0004:00: root bus resource [bus 00-ff]
[ 0.286144] pci_bus 0004:00: scanning bus
[ 0.290210] pci 0004:00:00.0: [14c3:7981] type 00 class 0x000280
[ 0.296298] pci 0004:00:00.0: reg 0x10: [mem 0x18000000-0x1800000f 64bit]
[ 0.303172] pci 0004:00:00.0: reg 0x18: [mem 0x00000000-0x0000000f]
[ 0.309517] pci 0004:00:00.0: reg 0x1c: [mem 0x00000000-0x0000000f]
[ 0.315861] pci 0004:00:00.0: reg 0x20: [mem 0x00000000-0x0000000f]
[ 0.322207] pci 0004:00:00.0: reg 0x24: [mem 0x00000000-0x0000000f]
[ 0.329499] pci_bus 0004:00: fixups for bus
[ 0.333734] pci_bus 0004:00: bus scan returning with max=00
[ 0.339596] clocksource: Switched to clocksource arch_sys_counter
[ 0.346119] thermal_sys: Registered thermal governor 'fair_share'
[ 0.346121] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.352296] thermal_sys: Registered thermal governor 'step_wise'
[ 0.358381] thermal_sys: Registered thermal governor 'user_space'
[ 0.364463] thermal_sys: Registered thermal governor 'power_allocator'
[ 0.370791] NET: Registered protocol family 2
[ 0.381935] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.390500] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.399181] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.407302] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 0.414904] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.421576] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.428406] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.435747] NET: Registered protocol family 1
[ 0.440182] PCI: CLS 0 bytes, default 64
[ 0.444753] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.453108] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.459099] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.463564] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.491520] Debug interface error
[ 0.494933] io scheduler mq-deadline registered
[ 0.499528] io scheduler kyber registered
[ 0.503635] io scheduler bfq registered
[ 0.508066] phy [email protected]: type_sw - reg 0x218, index 0
[ 0.514964] mtk-pcie 11300000.pcie: host bridge /pcie@11300000 ranges:
[ 0.521588] mtk-pcie 11300000.pcie: Parsing ranges property...
[ 0.527498] mtk-pcie 11300000.pcie: IO 0x30000000..0x301fffff -> 0x30000000
[ 0.534819] mtk-pcie 11300000.pcie: MEM 0x30200000..0x37ffffff -> 0x30200000
[ 0.542161] mtk-pcie 11300000.pcie: failed to get max link width
[ 0.755616] mtk-pcie 11300000.pcie: PCIe link down, ltssm reg val: 0x1
[ 0.762259] mtk-pcie: probe of 11300000.pcie failed with error -110
[ 0.768668] mtk-pcie 11310000.pcie: host bridge /pcie@11310000 ranges:
[ 0.775278] mtk-pcie 11310000.pcie: Parsing ranges property...
[ 0.781191] mtk-pcie 11310000.pcie: IO 0x38000000..0x381fffff -> 0x38000000
[ 0.788509] mtk-pcie 11310000.pcie: MEM 0x38200000..0x3fffffff -> 0x38200000
[ 0.795841] mtk-pcie 11310000.pcie: failed to get max link width
[ 1.007621] mtk-pcie 11310000.pcie: PCIe link down, ltssm reg val: 0x1
[ 1.014250] mtk-pcie: probe of 11310000.pcie failed with error -110
[ 1.020652] mtk-pcie 11280000.pcie: host bridge /pcie@11280000 ranges:
[ 1.027265] mtk-pcie 11280000.pcie: Parsing ranges property...
[ 1.033177] mtk-pcie 11280000.pcie: IO 0x20000000..0x201fffff -> 0x20000000
[ 1.040492] mtk-pcie 11280000.pcie: MEM 0x20200000..0x27ffffff -> 0x20200000
[ 1.047822] mtk-xsphy usb-phy@11e10000: incompatible phy type
[ 1.053659] mtk-pcie 11280000.pcie: failed to get max link width
[ 1.267608] mtk-pcie 11280000.pcie: PCIe link down, ltssm reg val: 0x1
[ 1.274239] mtk-pcie: probe of 11280000.pcie failed with error -110
[ 1.280638] mtk-pcie 11290000.pcie: host bridge /pcie@11290000 ranges:
[ 1.287255] mtk-pcie 11290000.pcie: Parsing ranges property...
[ 1.293167] mtk-pcie 11290000.pcie: IO 0x28000000..0x281fffff -> 0x28000000
[ 1.300486] mtk-pcie 11290000.pcie: MEM 0x28200000..0x2fffffff -> 0x28200000
[ 1.307816] mtk-pcie 11290000.pcie: failed to get max link width
[ 1.519615] mtk-pcie 11290000.pcie: PCIe link down, ltssm reg val: 0x1
[ 1.526242] mtk-pcie: probe of 11290000.pcie failed with error -110
[ 1.533183] mtk-power-controller 11d10000.topmisc: /topmisc@11d10000/eth2p5@2: A default off power domain has been ON
[ 1.544096] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 1.550887] printk: console [ttyS0] disabled
[ 1.575325] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 17, base_baud = 2500000) is a ST16650V2
[ 1.584600] printk: console [ttyS0] enabled
[ 1.592960] printk: bootconsole [uart8250] disabled
[ 1.603155] mtk_rng trng@1020f000: registered RNG driver
[ 1.603192] random: crng init done
[ 1.613057] loop: module loaded
[ 1.618121] spi-nand spi0.0: calibration result: 0x2
[ 1.623169] spi-nand spi0.0: Winbond SPI NAND was found.
[ 1.628479] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 1.638087] mt7988-pinctrl 1001f000.pinctrl: invalid function mdio in map table
[ 1.645961] [mtk_hw_init] reset_lock:0, force:0
[ 1.650640] [mtk_hw_init] execute fe cold reset
[ 1.666169] mtk_soc_eth 15100000.ethernet: MDC is running on 8333333 Hz
[ 1.693371] mtk_soc_eth 15100000.ethernet: generated random MAC address ae:ea:24:d7:08:72
[ 1.701723] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc012080000, irq 14
[ 1.710778] mtk_soc_eth 15100000.ethernet: generated random MAC address 8e:cf:f6:ae:e5:0b
[ 1.719072] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc012080000, irq 14
[ 1.728121] mtk_soc_eth 15100000.ethernet: generated random MAC address e6:e9:5d:aa:c2:1c
[ 1.736404] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc012080000, irq 14
[ 1.745439] (unnamed net_device) (dummy): netif_napi_add() called with weight 256
[ 1.753044] PPP generic driver version 2.4.2
[ 1.757357] PPP BSD Compression module registered
[ 1.762051] PPP Deflate Compression module registered
[ 1.767092] NET: Registered protocol family 24
[ 1.771562] usbcore: registered new interface driver r8152
[ 1.777046] usbcore: registered new interface driver ax88179_178a
[ 1.783139] usbcore: registered new interface driver cdc_ether
[ 1.788969] usbcore: registered new interface driver rndis_host
[ 1.794894] usbcore: registered new interface driver cdc_ncm
[ 1.800558] usbcore: registered new interface driver qmi_wwan_q
[ 1.806476] usbcore: registered new interface driver qmi_wwan
[ 1.812219] usbcore: registered new interface driver cdc_mbim
[ 1.818098] xhci-mtk 11200000.xhci: 11200000.xhci supply vbus not found, using dummy regulator
[ 1.826722] xhci-mtk 11200000.xhci: 11200000.xhci supply vusb33 not found, using dummy regulator
[ 1.835611] phy [email protected]: try to get sw efuse
[ 1.841179] phy [email protected]: try to get sw efuse
[ 1.846895] xhci-mtk 11200000.xhci: xHCI Host Controller
[ 1.852206] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 1
[ 1.862739] xhci-mtk 11200000.xhci: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[ 1.871971] xhci-mtk 11200000.xhci: irq 122, io mem 0x11200000
[ 1.877845] xhci-mtk 11200000.xhci: xHCI Host Controller
[ 1.883148] xhci-mtk 11200000.xhci: new USB bus registered, assigned bus number 2
[ 1.890620] xhci-mtk 11200000.xhci: Host supports USB 3.2 Enhanced SuperSpeed
[ 1.897980] hub 1-0:1.0: USB hub found
[ 1.901738] hub 1-0:1.0: 1 port detected
[ 1.905848] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.914095] hub 2-0:1.0: USB hub found
[ 1.917848] hub 2-0:1.0: 1 port detected
[ 1.921952] usbcore: registered new interface driver cdc_wdm
[ 1.927674] usbcore: registered new interface driver uas
[ 1.933005] usbcore: registered new interface driver usb-storage
[ 1.939038] usbcore: registered new interface driver usbserial_generic
[ 1.945562] usbserial: USB Serial support registered for generic
[ 1.951570] usbcore: registered new interface driver option
[ 1.957137] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1.964139] usbcore: registered new interface driver pl2303
[ 1.969706] usbserial: USB Serial support registered for pl2303
[ 1.975625] usbcore: registered new interface driver qcaux
[ 1.981105] usbserial: USB Serial support registered for qcaux
[ 1.986936] usbcore: registered new interface driver qcserial
[ 1.992677] usbserial: USB Serial support registered for Qualcomm USB modem
[ 1.999756] i2c /dev entries driver
[ 2.010960] vcore: supplied by rt5190a-buck1
[ 2.017915] proc: supplied by rt5190a-buck1
[ 2.024340] rt5190a-buck4: supplied by rt5190a-buck1
[ 2.030243] rt5190a-ldo: supplied by regulator-dummy
[ 2.037403] at24 3-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[ 2.048260] rtc rtc0: invalid alarm value: 2024-01-13T24:04:00
[ 2.054124] rtc-pcf8563 3-0051: registered as rtc0
[ 2.059788] i2c i2c-2: Added multiplexed i2c bus 3
[ 2.064627] i2c i2c-2: Added multiplexed i2c bus 4
[ 2.069458] i2c i2c-2: Added multiplexed i2c bus 5
[ 2.129432] i2c i2c-2: Added multiplexed i2c bus 6
[ 2.134222] pca954x 2-0070: registered 4 multiplexed busses for I2C switch pca9545
[ 2.142135] mtk-soc-temp-lvts 1100a000.lvts: [lvts_cal] golden_temp = 60
[ 2.148831] mtk-soc-temp-lvts 1100a000.lvts: [lvts_cal] num:g_count:g_count_rc 0:19558:5212 1:19588:0 2:19598:0 3:19597:0 4:19540:5216 5:19582:0 6:19563:0 7:19587:0
[ 2.165351] mtk-soc-temp-lvts 1100a000.lvts: [COUNT_RC_NOW] 0:5216 1:5215 2:5216 3:5218 4:5222 5:5220 6:5220 7:5220
[ 2.175883] mtk-soc-temp-lvts 1100a000.lvts: set_polling_speed 0, LVTSMONCTL1_0= 0x10000c,LVTSMONCTL2_0= 0x10001
[ 2.186045] mtk-soc-temp-lvts 1100a000.lvts: set_hw_filter 0, LVTSMSRCTL0_0= 0xb6d
[ 2.193603] mtk-soc-temp-lvts 1100a000.lvts: lvts0: read all 4 sensors in 10080 us, one in 2404 us
[ 2.202573] mtk-soc-temp-lvts 1100a000.lvts: set_polling_speed 1, LVTSMONCTL1_0= 0x10000c,LVTSMONCTL2_0= 0x10001
[ 2.212735] mtk-soc-temp-lvts 1100a000.lvts: set_hw_filter 1, LVTSMSRCTL0_0= 0xb6d
[ 2.220293] mtk-soc-temp-lvts 1100a000.lvts: lvts1: read all 4 sensors in 10080 us, one in 2404 us
[ 2.229239] mtk-soc-temp-lvts 1100a000.lvts: set_tc_hw_reboot_threshold: LVTS0, the dominator sensing point= 0
[ 2.239227] mtk-soc-temp-lvts 1100a000.lvts: set_tc_hw_reboot_threshold: LVTS1, the dominator sensing point= 0
[ 2.249474] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: [email protected]
[ 2.257963] Bluetooth: HCI UART driver ver 2.3
[ 2.262399] Bluetooth: HCI UART protocol H4 registered
[ 2.267527] Bluetooth: HCI UART protocol BCSP registered
[ 2.272863] Bluetooth: HCI UART protocol Broadcom registered
[ 2.278521] Bluetooth: HCI UART protocol QCA registered
[ 2.309877] exFAT: Version 1.3.0
[ 2.313496] Initializing XFRM netlink socket
[ 2.317934] NET: Registered protocol family 10
[ 2.322788] Segment Routing with IPv6
[ 2.326489] NET: Registered protocol family 17
[ 2.327616] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[ 2.330952] Bridge firewalling registered
[ 2.341471] 8021q: 802.1Q VLAN Support v1.8
[ 2.353489] nmbm nmbm_spim_nand: Signature found at block 1023 [0x07fe0000]
[ 2.361200] nmbm nmbm_spim_nand: First info table with writecount 0 found in block 960
[ 2.371260] nmbm nmbm_spim_nand: Second info table with writecount 0 found in block 963
[ 2.379262] nmbm nmbm_spim_nand: NMBM has been successfully attached
[ 2.385712] 4 fixed-partitions partitions found on MTD device nmbm_spim_nand
[ 2.392749] Creating 4 MTD partitions on "nmbm_spim_nand":
[ 2.398226] 0x000000000000-0x000000100000 : "BL2"
[ 2.403338] 0x000000100000-0x000000180000 : "u-boot-env"
[ 2.408903] 0x000000180000-0x000000580000 : "Factory"
[ 2.414197] 0x000000580000-0x000000780000 : "FIP"
[ 2.419343] sfp sfp@0: Host maximum power 3.0W
[ 2.423801] sfp sfp@0: tx disable 1 -> 1
[ 2.427728] sfp sfp@0: SM: enter empty:detached:down event insert
[ 2.433812] sfp sfp@0: SM: exit probe:detached:down
[ 2.438845] sfp sfp@0: SM: enter probe:detached:down event dev_attach
[ 2.445277] sfp sfp@0: SM: exit probe:down:down
[ 2.449921] sfp sfp@1: Host maximum power 3.0W
[ 2.454367] sfp sfp@1: tx disable 1 -> 1
[ 2.467209] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.478180] mmc0: new high speed SDHC card at address aaaa
[ 2.484124] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 2.486196] hub 1-1:1.0: USB hub found
[ 2.492402] hub 1-1:1.0: 5 ports detected
[ 2.494554] mmcblk0: p1 p2 p3 p4 p5 p6
[ 2.618276] usb 2-1: new SuperSpeed Gen 1x2 USB device number 2 using xhci-mtk
[ 2.645942] hub 2-1:1.0: USB hub found
[ 2.649900] hub 2-1:1.0: 4 ports detected
[ 2.755600] sfp sfp@0: SM: enter probe:down:down event timeout
[ 2.772557] sfp sfp@0: module OEM 1000BX-S34-10DI rev 2.0 sn ED412072698 dc 141226
[ 2.782032] sfp sfp@0: sfp: support mode 00,00000000,00006040
[ 2.787776] mtk_soc_eth 15100000.ethernet eth2: validation with support 00,00000000,00006440 failed: -22
[ 2.797244] sfp sfp@0: SM: exit error:down:down
[ 3.163597] usb 1-1.5: new high-speed USB device number 3 using xhci-mtk
[ 3.434638] MediaTek MT7988 PHY dsa-0.0:00: TX-VCM SW cal result: 0x2
[ 3.460556] MediaTek MT7988 PHY dsa-0.0:01: TX-VCM SW cal result: 0x2
[ 3.487185] MediaTek MT7988 PHY dsa-0.0:02: TX-VCM SW cal result: 0x2
[ 3.513823] MediaTek MT7988 PHY dsa-0.0:03: TX-VCM SW cal result: 0x2
[ 3.532668] mt7530 mdio-bus:1f lan0 (uninitialized): PHY [dsa-0.0:00] driver [MediaTek MT7988 PHY]
[ 3.552851] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:01] driver [MediaTek MT7988 PHY]
[ 3.572921] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [MediaTek MT7988 PHY]
[ 3.592984] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:03] driver [MediaTek MT7988 PHY]
[ 3.602131] mt7530 mdio-bus:1f: configuring for fixed/10gbase-kr link mode
[ 3.609011] DSA: tree 0 setup
[ 3.609013] mt7530 mdio-bus:1f: Link is Up - 10Gbps/Full - flow control rx/tx
[ 3.619093] mt7530-nl: genl_register_family_with_ops
[ 3.624303] 7 cmdlinepart partitions found on MTD device block2mtd: /dev/mmcblk0
[ 3.631691] Creating 7 MTD partitions on "block2mtd: /dev/mmcblk0":
[ 3.637951] 0x000000000000-0x000000480000 : "BL2"
[ 3.643097] 0x000000480000-0x000000880000 : "RF"
[ 3.648050] 0x000000880000-0x000000a80000 : "FIP"
[ 3.653074] 0x000000a80000-0x000002a80000 : "Kernel"
[ 3.658377] 0x000002a80000-0x000042a80000 : "rootfs"
[ 3.663595] mtd: device 9 (rootfs) set to be root filesystem
[ 3.670341] 1 squashfs-split partitions found on MTD device rootfs
[ 3.676520] 0x000006600000-0x000042a80000 : "rootfs_data"
[ 3.682256] 0x000042a80000-0x0000c2a80000 : "usrdata"
[ 3.687640] 0x0000c2a80000-0x0001d9c00000 : "bmtpool"
[ 3.692997] block2mtd: mtd0: [/dev/mmcblk0] erase_size = 64KiB [65536]
[ 3.701067] rtc-pcf8563 3-0051: setting system clock to 2024-01-19T02:29:33 UTC (1705631373)
[ 3.713410] VFS: Mounted root (squashfs filesystem) readonly on device 31:9.
[ 3.720559] Freeing unused kernel memory: 512K
[ 3.743628] Run /sbin/init as init process
[ 3.916628] init: Console is alive
[ 4.614335] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.649580] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.656406] fsl-ehci: Freescale EHCI Host controller driver
[ 4.662281] ehci-platform: EHCI generic platform driver
[ 4.668230] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.674633] ohci-platform: OHCI generic platform driver
[ 4.681869] mediatek_soc_hnat 15100000.hnat: wan = eth2
[ 4.687116] mediatek_soc_hnat 15100000.hnat: lan = lan
[ 4.692255] mediatek_soc_hnat 15100000.hnat: lan2 = eth1
[ 4.697559] mediatek_soc_hnat 15100000.hnat: ppd = eth0
[ 4.702774] mediatek_soc_hnat 15100000.hnat: gmac num = 3
[ 4.708162] mediatek_soc_hnat 15100000.hnat: ppe num = 1
[ 4.713896] mediatek_soc_hnat 15100000.hnat: PPE0 entry number = 8192
[ 4.730562] mediatek_soc_hnat 15100000.hnat: PPE0 hwnat start
[ 4.736352] hnat roaming work enable
[ 4.741870] warp_module_init(): module init and register callback for warp
[ 4.748786] create warp_ctrl ok!!!
[ 4.752228] wed_get_slot_map(): assign slot_id:0 for entry: 0!
[ 4.758062] wed_get_slot_map(): assign slot_id:1 for entry: 1!
[ 4.763891] wed_get_slot_map(): assign slot_id:2 for entry: 2!
[ 4.770075] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.779031] init: - preinit -
[ 5.122316] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/10gbase-kr link mode
[ 5.130593] mtk_soc_eth 15100000.ethernet: mtk_gmac_usxgmii_path_setup path gmac1_usxgmii in
[ 5.144726] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 5.151440] 8021q: adding VLAN 0 to HW filter on device lan1
[ 6.691598] mtk_gdm_fsm_poll fsm invalid
[ 6.691617] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[ 6.704069] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 9.201479] mount_root: loading kmods from internal overlay
[ 9.212932] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 9.220827] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 10.285762] block: attempting to load /etc/config/fstab
[ 10.291375] block: unable to load configuration (fstab: Entry not found)
[ 10.298085] block: no usable configuration
[ 10.302478] mount_root: no usable overlay filesystem found, using tmpfs overlay
[ 10.312533] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 10.351327] procd: - early -
[ 10.894871] procd: - ubus -
[ 10.949680] procd: - init -
[ 11.255448] urngd: v1.0.2 started.
[ 11.970826] kmodloader: loading kernel modules from /etc/modules.d/*
[ 11.995450] MACsec IEEE 802.1AE
[ 12.003972] RPC: Registered named UNIX socket transport module.
[ 12.009893] RPC: Registered udp transport module.
[ 12.014586] RPC: Registered tcp transport module.
[ 12.019294] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 12.027265] NET: Registered protocol family 15
[ 12.036786] l2tp_core: L2TP core driver, V2.0
[ 12.042391] l2tp_netlink: L2TP netlink interface
[ 12.049073] gre: GRE over IPv4 demultiplexor driver
[ 12.054529] ip_gre: GRE over IPv4 tunneling driver
[ 12.061480] ip6_gre: GRE over IPv6 tunneling driver
[ 12.070667] Installing knfsd (copyright (C) 1996 [email protected]).
[ 12.088980] Loading modules backported from Linux version v5.15.81-0-ge4a7232c917c
[ 12.096565] Backport generated by backports.git v5.15.81-1-0-ge1867d55
[ 12.126207] mt_wifi_cmn: loaded
[ 12.127776] hidraw: raw HID events driver (C) Jiri Kosina
[ 13.037699] mt_wifi: module license 'Proprietary' taints kernel.
[ 13.043716] Disabling lock debugging due to kernel taint
[ 13.074390] physical_device_init!
[ 13.077840] [email protected],get_dbg_setting_by_profile() 4203: debug level setting=INDEX0_debug_level not found!!
[ 13.088035] [email protected],get_dbg_setting_by_profile() 4228: debug option setting=INDEX0_debug_option not found!!
[ 13.098390] [email protected],bss_mngr_con_init() 2987: bss_mngr_con_init: inited = 0
[ 13.105962] [email protected],bss_idx_bitmap_init() 89: bss_idx_bitmap_init: map_size=12
[ 13.113786] [email protected],mld_grp_bitmap_init() 210: : map_size=12
[ 13.120105] [email protected],bss_mngr_ext_entry_init() 2968: bss(64), grp(65)
[ 13.127062] ser_mngr_init()[email protected],init_sta_mld_link_mgr() 3101: --->
[ 13.134191] [email protected],csi_genl_register() 4014: register CSI genl family(0)!!!
[ 13.162077] mtk_hwifi: module uses symbols from proprietary module mt_wifi, inheriting taint.
[ 13.172218] connac_if: module uses symbols from proprietary module mt_wifi, inheriting taint.
[ 13.181540] mtk_pci: module uses symbols from proprietary module mtk_hwifi, inheriting taint.
[ 13.191203] mtk_wed: module uses symbols from proprietary module mtk_hwifi, inheriting taint.
[ 13.770097] mt7990: module uses symbols from proprietary module mtk_hwifi, inheriting taint.
[ 13.782437] mt7991: module uses symbols from proprietary module mtk_hwifi, inheriting taint.
[ 13.793216] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 13.798533] Bluetooth: BNEP filters: protocol multicast
[ 13.803755] Bluetooth: BNEP socket layer initialized
[ 13.809629] usbcore: registered new interface driver btusb
[ 13.815543] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 13.821464] Bluetooth: HIDP socket layer initialized
[ 13.828239] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 13.833725] Current mapfilter version v3.0.1.2
[ 13.838680] -->mtfwd_init(ver:2.0)
[ 13.838699] <--
[ 13.842555] -->mtqos_init(), mtqos ver:1.0
[ 13.844333] <--
[ 13.864915] PPP MPPE Compression module registered
[ 13.870071] PPTP driver version 0.8.5
[ 13.874371] Bluetooth: RFCOMM TTY layer initialized
[ 13.879282] Bluetooth: RFCOMM socket layer initialized
[ 13.884419] Bluetooth: RFCOMM ver 1.11
[ 13.889208] usbcore: registered new interface driver usblp
[ 13.899681] xt_time: kernel timezone is -0000
[ 13.904581] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 16.782185] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.791671] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.801071] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.810457] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.819859] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.829738] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.839317] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.848726] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.858117] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 16.867504] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 19.932423] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 20.158442] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/10gbase-kr link mode
[ 20.166742] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[ 20.167282] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 20.182236] 8021q: adding VLAN 0 to HW filter on device lan1
[ 20.188120] br-lan: port 1(lan1) entered blocking state
[ 20.193344] br-lan: port 1(lan1) entered disabled state
[ 20.198708] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 20.208095] device lan1 entered promiscuous mode
[ 20.212703] device eth0 entered promiscuous mode
[ 20.219871] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 20.226661] 8021q: adding VLAN 0 to HW filter on device lan2
[ 20.232546] br-lan: port 2(lan2) entered blocking state
[ 20.234120] /dev/mmcblk0p6: Can't open blockdev
[ 20.237779] br-lan: port 2(lan2) entered disabled state
[ 20.237947] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 20.256940] device lan2 entered promiscuous mode
[ 20.263406] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 20.270223] 8021q: adding VLAN 0 to HW filter on device lan3
[ 20.276179] br-lan: port 3(lan3) entered blocking state
[ 20.281437] br-lan: port 3(lan3) entered disabled state
[ 20.286869] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 20.296277] device lan3 entered promiscuous mode
[ 20.329680] MediaTek MT798x 2.5GbE PHY mdio-bus:0f: Firmware loading/trigger ok.
[ 20.337329] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:0f] driver [MediaTek MT798x 2.5GbE PHY]
[ 20.346570] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/xgmii link mode
[ 20.354537] br-lan: port 4(eth1) entered blocking state
[ 20.359786] br-lan: port 4(eth1) entered disabled state
[ 20.365161] device eth1 entered promiscuous mode
[ 20.369844] br-lan: port 4(eth1) entered blocking state
[ 20.375066] br-lan: port 4(eth1) entered forwarding state
[ 20.381775] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 20.390249] mt7530 mdio-bus:1f lan0: configuring for phy/gmii link mode
[ 20.397067] 8021q: adding VLAN 0 to HW filter on device lan0
[ 20.402965] br-wan: port 1(lan0) entered blocking state
[ 20.408217] br-wan: port 1(lan0) entered disabled state
[ 20.413671] mtk_soc_eth 15100000.ethernet eth0: TX vlan offload cannot be enabled when dsa is attached.
[ 20.423181] device lan0 entered promiscuous mode
[ 20.430263] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-kr link mode
[ 20.438667] mtk_soc_eth 15100000.ethernet: mtk_gmac_usxgmii_path_setup path gmac3_usxgmii in
[ 20.458091] sfp sfp@0: SM: enter error:down:down event dev_up
[ 20.463845] sfp sfp@0: SM: exit error:up:down
[ 20.479554] br-wan: port 2(eth2) entered blocking state
[ 20.484787] br-wan: port 2(eth2) entered disabled state
[ 20.490190] device eth2 entered promiscuous mode
[ 20.494938] br-wan: port 2(eth2) entered blocking state
[ 20.500170] br-wan: port 2(eth2) entered forwarding state
[ 20.505681] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready
[ 20.931972] br-lan: port 4(eth1) entered disabled state
[ 20.937712] br-wan: port 2(eth2) entered disabled state
[ 27.331825] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 27.339334] br-lan: port 1(lan1) entered blocking state
[ 27.344558] br-lan: port 1(lan1) entered forwarding state
[ 33.828073] rt5190a-buck1: disabling
[ 33.832094] vcore: disabling
[ 33.835401] proc: disabling
[ 33.838631] rt5190a-buck4: disabling
[ 33.842637] rt5190a-ldo: disabling
[ 36.756271] jffs2: notice: (6674) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 40.980846] overlayfs: upper fs does not support tmpfile.
[ 40.987462] overlayfs: "xino" feature enabled using 32 upper inode bits.
[ 45.763735] mt7530 mdio-bus:1f lan1: Link is Down
[ 45.768515] br-lan: port 1(lan1) entered disabled state
[ 51.700663] Per-port-per-queue mode is going to be enabled!
[ 51.706281] PPPQ use qid 0~11 (scheduler 0).
[ 102.083831] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 102.091343] br-lan: port 1(lan1) entered blocking state
[ 102.096567] br-lan: port 1(lan1) entered forwarding state
[ 103.107705] mt7530 mdio-bus:1f lan1: Link is Down
[ 103.112466] br-lan: port 1(lan1) entered disabled state
[ 106.179827] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 106.187337] br-lan: port 1(lan1) entered blocking state
[ 106.192562] br-lan: port 1(lan1) entered forwarding state
[ 107.203729] mt7530 mdio-bus:1f lan1: Link is Down
[ 107.208506] br-lan: port 1(lan1) entered disabled state
[ 148.163829] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 148.171342] br-lan: port 1(lan1) entered blocking state
[ 148.176567] br-lan: port 1(lan1) entered forwarding state
[ 201.763591] mapfilter:drop IP addr timeout! stop dropping IP addr.
[ 202.435718] mt7530 mdio-bus:1f lan1: Link is Down
[ 202.446637] br-lan: port 1(lan1) entered disabled state
[ 215.839775] sfp sfp@0: SM: enter error:up:down event los_high
[ 215.845525] sfp sfp@0: SM: exit error:up:down
[ 217.794493] sfp sfp@0: SM: enter error:up:down event remove
[ 217.800072] sfp sfp@0: SM: exit empty:up:down
[ 369.347820] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 369.355329] br-lan: port 1(lan1) entered blocking state
[ 369.360552] br-lan: port 1(lan1) entered forwarding state
I could probably try running now with Ubuntu, Debian and yet-another-distro-out-there with the hope that one of them will click&work, but if I were to bet, I’d rather bet that this particular board that I have should have never had left the factory ¯_(ツ)_/¯
Sorry I got so many people involved, but if Mediatek’s build behaves the same, not sure there is anyone for us to do here