[BPI-R4-PRO] Mainline OpenWRT

Hello, is anyone working on having OpenWRT main working with the R4 PRO?

I know @frank-w is working on the “official” support for upstream linux 6.19 (?) but, in the meanwhile, I was trying to cook something working.

I have a “buildable” - about to test - project merging the non-autobuild master folder of the MTK feed. To that I added my own changes to have U-Boot support and SD image build, in anyone needs it. I put at

Help wanted… :wink:

Thank you.

2 Likes

if someone is more familiar with openwrt build system it can add my patches for uboot and linux (atf is same as R4)

i have one issue left so far that is a deadlock when switching phylink from sfp back to phy (phy is default and changed on insertion of SFP, back switch on removing SFP).

the one can contact me to figure out whats needed (mxl driver, phy-driver, eth-mux, gpio sharing, dts).

1 Like

The image built merging the master from the MTK feed compiles fine.
My SD image generation and UBoot config build something that actually boots on the board. Then, when kernel takes over, it starts, something crashes 3 times and then it reboots in recovery so… it was too good to be true. :stuck_out_tongue_winking_eye:

If you post the traces maybe i can tell you why it happens…have seen many traces while working on R4Pro :stuck_out_tongue:

I just bought one with intentions to start the port. It’s on the way, but will probably be a while before it arrives. There will probably be some delays while we wait for “phy mux” support Making sure you're not a bot!

This is for the 10g SFP/RJ45 combo ports.

Yes i know that series from maxime is base for upstream eth-mux support, but i have a modified downstream version working so far (except the back switch to phy).

There is already a v19

https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/

1 Like

Can you have a look and see if you recognize anything in here?

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2025.11.27 00:18:23 =~=~=~=~=~=~=~=~=~=~=~=
F0: 102B 0000
FA: 1042 0000
FA: 1042 0000 [0200]
F9: 1041 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 380E 5012
F5: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0600 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [3000]
MK: 0000 0000 [0000]
T0: 0000 01BD [0101]

Jump to BL

NOTICE:  BL2: v2.13.0(release):OpenWrt v2025.07.11~78a0dfd9-1 (mt7988-sdmmc-comb)
NOTICE:  BL2: Built : 15:21:14, Nov 26 2025
NOTICE:  WDT: Cold boot
NOTICE:  WDT: disabled
NOTICE:  CPU: MT7988
NOTICE:  EMI: Using DDR unknown settings
NOTICE:  EMI: Detected DRAM size: 4096 MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  LVTS: Enable thermal HW reset
NOTICE:  Located partition 'fip' at 0x680000, size 0x400000
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.13.0(release):OpenWrt v2025.07.11~78a0dfd9-1 (mt7988-sdmmc-comb)
NOTICE:  BL31: Built : 15:21:14, Nov 26 2025


U-Boot 2025.10-OpenWrt-r0-2418ff9 (Nov 26 2025 - 17:56:19 +0000)

CPU:   MediaTek MT7988
Model: Bananapi BPI-R4
DRAM:  4 GiB
Core:  64 devices, 24 uclasses, devicetree: embed
spi-nand: spi_nand spi_nand@0: WINBOND W25N02KV SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
MMC:   mmc@11230000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Reading from MMC(0)... In:    serial@11000000
Out:   serial@11000000
Err:   serial@11000000
reset button found
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Reading from MMC(0)... Net:   MediaTek MT7988 built-in switch

Warning: ethernet@15110100 (eth0) using random MAC address - e6:ac:cd:cc:13:97
eth0: ethernet@15110100
Saving Environment to MMC... Writing to MMC(0)... OK
Saving Environment to MMC... Writing to MMC(0)... OK
off
      ( ( ( OpenWrt ) ) )  [SD card]       U-Boot 2025.10-OpenWrt-r0-2418ff9 (Nov 26 2025 - 17:56:19 +0000)Press UP/DOWN to move, ENTER to select, ESC to quit1. Run default boot command.2. Boot system via TFTP.3. Boot production system from SD card.4. Boot recovery system from SD card.5. Load production system via TFTP then write to SD card.6. Load recovery system via TFTP then write to SD card.7. Install bootloader, recovery and production to NAND.8. Reboot.9. Reset all settings to factory defaults.0. ExitHit any key to stop autoboot: 3 Hit any key to stop autoboot: 2 Hit any key to stop autoboot: 1 MMC read: dev # 0, block # 131072, count 256 ... 256 blocks read: OK
MMC read: dev # 0, block # 131072, count 63376 ... 63376 blocks read: OK
## Loading kernel (any) from FIT Image at 50000000 ...
   Using 'config-mt7988a-bananapi-bpi-r4-pro' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.12.59
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x50001000
     Data Size:    6286577 Bytes = 6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x46000000
     Entry Point:  0x46000000
     Hash algo:    crc32
     Hash value:   5338de23
     Hash algo:    sha1
     Hash value:   962fc6210aa46ed4b31979969d99280fa0b76a77
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt (any) from FIT Image at 50000000 ...
   Using 'config-mt7988a-bananapi-bpi-r4-pro' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4-pro device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x50600000
     Data Size:    55148 Bytes = 53.9 KiB
     Architecture: AArch64
     Load Address: 0x45f00000
     Hash algo:    crc32
     Hash value:   b6dee229
     Hash algo:    sha1
     Hash value:   b070764897072b18c0f6b2b41b2bd2a1c0241b6f
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x50600000 to 0x45f00000
   Loading Device Tree to 00000000fe7db000, end 00000000fe7ebfff ... OK
Working FDT set to fe7db000
## Loading fdt (any) from FIT Image at 50000000 ...
   Using 'mt7988a-bananapi-bpi-r4-sd' configuration
   Trying 'fdt-mt7988a-bananapi-bpi-r4-sd' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4-pro device tree overlay mt7988a-bananapi-bpi-r4-sd
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x50610000
     Data Size:    1462 Bytes = 1.4 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   dc3d838d
     Hash algo:    sha1
     Hash value:   47c779b5fb7acc9baf4e57810ddca89a4bef2615
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt (any) from FIT Image at 50000000 ...
Could not find configuration node
load of <NULL> failed
   Booting using the fdt blob at 0xfe7db000
Working FDT set to fe7db000
## Loading loadables (any) from FIT Image at 50000000 ...
   Trying 'rootfs-1' loadables subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r4-pro rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x50611000
     Data Size:    26087424 Bytes = 24.9 MiB
     Hash algo:    crc32
     Hash value:   59ee021b
     Hash algo:    sha1
     Hash value:   cbd052a3fce1e0e8da729583889f6295f0ec8e45
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Uncompressing Kernel Image to 46000000
   Loading Device Tree to 00000000fe7cb000, end 00000000fe7daa00 ... OK
Working FDT set to fe7cb000
set /chosen/rootdisk to bootrom media: rootdisk-sd (phandle 0x000000da)

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[    0.000000] Linux version 6.12.59 (edoardo@TheBrain) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r0-a119464) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Wed Nov 26 17:56:19 2025
[    0.000000] Machine model: Bananapi BPI-R4
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[    0.000000] OF: reserved mem: 0x0000000047cc0000..0x0000000047dbffff (1024 KiB) nomap non-reusable wmcpu-reserved@47cc0000
[    0.000000] OF: reserved mem: 0x000000004f600000..0x000000004f63ffff (256 KiB) nomap non-reusable wo-emi@4f600000
[    0.000000] OF: reserved mem: 0x000000004f640000..0x000000004f67ffff (256 KiB) nomap non-reusable wo-emi@4f640000
[    0.000000] OF: reserved mem: 0x000000004f680000..0x000000004f6bffff (256 KiB) nomap non-reusable wo-emi@4f680000
[    0.000000] OF: reserved mem: 0x000000004f700000..0x000000004fefffff (8192 KiB) nomap non-reusable wo-data@4f700000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004304ffff]
[    0.000000]   node   0: [mem 0x0000000043050000-0x0000000047cbffff]
[    0.000000]   node   0: [mem 0x0000000047cc0000-0x0000000047dbffff]
[    0.000000]   node   0: [mem 0x0000000047dc0000-0x000000004f5fffff]
[    0.000000]   node   0: [mem 0x000000004f600000-0x000000004f6bffff]
[    0.000000]   node   0: [mem 0x000000004f6c0000-0x000000004f6fffff]
[    0.000000]   node   0: [mem 0x000000004f700000-0x000000004fefffff]
[    0.000000]   node   0: [mem 0x000000004ff00000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    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.5
[    0.000000] percpu: Embedded 20 pages/cpu s42584 r8192 d31144 u81920
[    0.000000] pcpu-alloc: s42584 r8192 d31144 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: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 1048576
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fa7cb000-0x00000000fe7cb000] (64MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000068] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000075] pid_max: default: 32768 minimum: 301
[    0.002136] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002149] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003649] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.004122] rcu: Hierarchical SRCU implementation.
[    0.004124] rcu: Max phase no-delay instances is 1000.
[    0.004216] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.004390] smp: Bringing up secondary CPUs ...
[    0.004605] Detected VIPT I-cache on CPU1
[    0.004644] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004665] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[    0.004935] Detected VIPT I-cache on CPU2
[    0.004958] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.004968] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[    0.005202] Detected VIPT I-cache on CPU3
[    0.005222] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005232] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[    0.005268] smp: Brought up 1 node, 4 CPUs
[    0.005272] SMP: Total of 4 processors activated.
[    0.005274] CPU: All CPU(s) started at EL2
[    0.005276] CPU features: detected: 32-bit EL0 Support
[    0.005279] CPU features: detected: CRC32 instructions
[    0.005306] alternatives: applying system-wide alternatives
[    0.005385] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005478] Memory: 4019080K/4194304K available (9536K kernel code, 1118K rwdata, 2840K rodata, 448K init, 302K bss, 171660K reserved, 0K cma-reserved)
[    0.009014] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.009027] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009078] 29168 pages in range for non-PLT usage
[    0.009079] 520688 pages in range for PLT usage
[    0.010213] pinctrl core: initialized pinctrl subsystem
[    0.010991] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.011278] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.011379] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.011473] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011780] thermal_sys: Registered thermal governor 'fair_share'
[    0.011782] thermal_sys: Registered thermal governor 'bang_bang'
[    0.011784] thermal_sys: Registered thermal governor 'step_wise'
[    0.011786] thermal_sys: Registered thermal governor 'user_space'
[    0.011828] ASID allocator initialised with 65536 entries
[    0.012527] pstore: Using crash dump compression: deflate
[    0.012534] printk: legacy console [ramoops-1] enabled
[    0.012784] pstore: Registered ramoops as persistent store backend
[    0.012789] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.015022] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[    0.018651] /soc/pcie@11280000: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[    0.018748] /soc/pcie@11290000: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[    0.018839] /soc/pcie@11300000: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[    0.018937] /soc/pcie@11310000: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[    0.028876] cryptd: max_cpu_qlen set to 1000
[    0.030603] SCSI subsystem initialized
[    0.030692] libata version 3.00 loaded.
[    0.031716] clocksource: Switched to clocksource arch_sys_counter
[    0.033320] NET: Registered PF_INET protocol family
[    0.033450] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.035953] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.035979] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.035988] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.036099] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.036508] TCP: Hash tables configured (established 32768 bind 32768)
[    0.036814] MPTCP token hash table entries: 4096 (order: 5, 98304 bytes, linear)
[    0.036940] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.036998] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.037207] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.037239] PCI: CLS 0 bytes, default 64
[    0.038064] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.041965] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.041972] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.073778] mtk-xsphy soc:xs-phy@11e10000: failed to get ref_clk(id-1)
[    0.074386] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.074403] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.074415] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.074429] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.074532] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.074543] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.074553] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.074563] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.074582] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.074591] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.074646] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.074656] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.074666] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.074675] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.074692] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.074700] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.074774] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.074783] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.074793] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.074803] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.074819] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.074827] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    0.079442] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.080154] printk: legacy console [ttyS0] disabled
[    0.100407] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[    0.100444] printk: legacy console [ttyS0] enabled
[    1.160037] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2
[    1.189855] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2
[    1.199826] random: crng init done
[    1.204826] loop: module loaded
[    1.209679] ------------[ cut here ]------------
[    1.214315] memcpy: detected field-spanning write (size 4) of single field "(u32 *)&nand->memorg.bits_per_cell + i" at drivers/mtd/nand/spi/core.c:1938 (size 0)
[    1.228664] WARNING: CPU: 2 PID: 1 at spinand_probe+0x274/0x1020
[    1.234667] Modules linked in:
[    1.237716] CPU: 2 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.59 #0
[    1.244321] Hardware name: Bananapi BPI-R4 (DT)
[    1.248840] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    1.255790] pc : spinand_probe+0x274/0x1020
[    1.259963] lr : spinand_probe+0x274/0x1020
[    1.264137] sp : ffffffc080e3b6b0
[    1.267440] x29: ffffffc080e3b770 x28: ffffffc080daa0d1 x27: ffffff80c010b022
[    1.274567] x26: ffffff80c0a57d80 x25: 0000000000000004 x24: 0000000000000800
[    1.281693] x23: 0000000000000004 x22: 0000000000000000 x21: 0000000000000000
[    1.288818] x20: ffffff80c010b000 x19: ffffff80c0a57880 x18: ffffffc080cbec98
[    1.295943] x17: 000000003e484597 x16: 0000000028591d7a x15: 00000000000000a4
[    1.303068] x14: 00000000000000a4 x13: 00000000ffffffea x12: ffffffc080d16c40
[    1.310194] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[    1.317319] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[    1.324444] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc080e3b490
[    1.331569] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000094
[    1.338695] Call trace:
[    1.341132]  spinand_probe+0x274/0x1020
[    1.344958]  spi_mem_probe+0x68/0xa0
[    1.348526]  spi_probe+0x80/0xe0
[    1.351745]  really_probe+0xb8/0x2a4
[    1.355313]  __driver_probe_device+0x74/0x118
[    1.359659]  driver_probe_device+0x3c/0xe0
[    1.363745]  __device_attach_driver+0xac/0xe8
[    1.368090]  bus_for_each_drv+0x6c/0xb0
[    1.371915]  __device_attach+0x98/0x178
[    1.375740]  device_initial_probe+0x10/0x18
[    1.379912]  bus_probe_device+0xa0/0xa4
[    1.383736]  device_add+0x540/0x724
[    1.387213]  __spi_add_device+0x13c/0x1f8
[    1.391212]  of_register_spi_device+0x44c/0x720
[    1.395731]  spi_register_controller+0x4cc/0x6c0
[    1.400338]  devm_spi_register_controller+0x48/0xa0
[    1.405204]  mtk_spi_probe+0x420/0x720
[    1.408944]  platform_probe+0x64/0xcc
[    1.412597]  really_probe+0xb8/0x2a4
[    1.416162]  __driver_probe_device+0x74/0x118
[    1.420508]  driver_probe_device+0x3c/0xe0
[    1.424593]  __driver_attach+0x88/0x154
[    1.428417]  bus_for_each_dev+0x60/0xa0
[    1.432241]  driver_attach+0x20/0x28
[    1.435806]  bus_add_driver+0xdc/0x208
[    1.439544]  driver_register+0x64/0x114
[    1.443369]  __platform_driver_register+0x20/0x30
[    1.448062]  mtk_spi_driver_init+0x18/0x20
[    1.452150]  do_one_initcall+0x4c/0x1f8
[    1.455976]  kernel_init_freeable+0x238/0x290
[    1.460323]  kernel_init+0x1c/0x120
[    1.463802]  ret_from_fork+0x10/0x20
[    1.467368] ---[ end trace 0000000000000000 ]---
[    1.471997] spi-nand spi0.0: WINBOND W25N02KV SPI NAND was found.
[    1.478079] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[    1.486419] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.492812] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.499683] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.506694] Creating 5 MTD partitions on "spi0.0":
[    1.511476] 0x000000000000-0x000000100000 : "BL2"
[    1.517190] 0x000000100000-0x000000180000 : "u-boot-env"
[    1.522997] 0x000000180000-0x000000580000 : "Factory"
[    1.530991] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.537989] 0x000000580000-0x000000780000 : "FIP"
[    1.544225] 0x000000780000-0x000007800000 : "ubi"
[    1.627268] ubi0: default fastmap pool size: 45
[    1.631800] ubi0: default fastmap WL pool size: 22
[    1.636580] ubi0: attaching mtd4
[    2.398036] ubi0: scanning is finished
[    2.410856] ubi0 warning: ubi_read_volume_table: static volume 3 misses 1 LEBs - corrupted
[    2.419125] ubi0 error: ubi_read_volume_table: not enough PEBs, required 964, available 900
[    2.427555] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd4, error -28
[    2.437282] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    2.563352] i2c_dev: i2c /dev entries driver
[    2.568073] /soc/i2c@11003000/rt5190a@64: Fixed dependency cycle(s) with /soc/i2c@11003000/rt5190a@64/regulators/buck1
[    2.580085] mtk-lvts-thermal 1100a000.lvts: golden temp=60
[    2.613654] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.623618] mtk-msdc 11230000.mmc: Got CD GPIO
[    2.629111] Initializing XFRM netlink socket
[    2.633494] NET: Registered PF_INET6 protocol family
[    2.638865] Segment Routing with IPv6
[    2.642542] In-situ OAM (IOAM) with IPv6
[    2.646487] NET: Registered PF_PACKET protocol family
[    2.651579] 8021q: 802.1Q VLAN Support v1.8
[    2.652451] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=52 arg=00000C00; host->error=0x00000002
[    2.665381] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=52 arg=80000C08; host->error=0x00000002
[    2.668541] phy phy-soc:[email protected]: type_sw - reg 0x194, index 0
[    2.679538] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=5 arg=00000000; host->error=0x00000002
[    2.681748] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    2.690541] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=5 arg=00000000; host->error=0x00000002
[    2.697309] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    2.706778] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=5 arg=00000000; host->error=0x00000002
[    2.712495] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    2.721965] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=5 arg=00000000; host->error=0x00000002
[    2.729850] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.747309] mtk-pcie-gen3 11280000.pcie: failed to get max link width
[    2.770366] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.782185] mmc0: new high speed SDHC card at address aaaa
[    2.788237] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[    2.799161] Alternate GPT is invalid, using primary GPT.
[    2.804500]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    3.071721] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.080519] mtk-pcie-gen3 11280000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    3.089557] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    3.096872] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    3.103141] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    3.111573] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    3.120054] mtk-pcie-gen3 11290000.pcie: failed to get max link width
[    3.441731] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.450513] mtk-pcie-gen3 11290000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    3.459396] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.466704] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.472968] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.481398] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.489857] mtk-pcie-gen3 11300000.pcie: failed to get max link width
[    3.811738] mtk-pcie-gen3 11300000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.820517] mtk-pcie-gen3 11300000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    3.829383] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    3.836692] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    3.842957] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    3.851385] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    3.859838] mtk-pcie-gen3 11310000.pcie: failed to get max link width
[    4.181725] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    4.190504] mtk-pcie-gen3 11310000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    4.199976] FIT: Detected U-Boot 2025.10-OpenWrt-r0-2418ff9
[    4.205550] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4-pro" (OpenWrt bananapi_bpi-r4-pro)
[    4.215288] FIT:           kernel sub-image 0x00001000..0x005ffcf0 "kernel-1" (ARM64 OpenWrt Linux-6.12.59) 
[    4.225114] FIT:          flat_dt sub-image 0x00600000..0x0060d76b "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4-pro device tree blob) 
[    4.236672] FIT:          flat_dt sub-image 0x0060e000..0x0060e5fd "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4-pro device tree overlay mt7988a-bananapi-bpi-r4-emmc) 
[    4.253352] FIT:          flat_dt sub-image 0x0060f000..0x0060f11c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4-pro device tree overlay mt7988a-bananapi-bpi-r4-rtc) 
[    4.269862] FIT:          flat_dt sub-image 0x00610000..0x006105b5 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4-pro device tree overlay mt7988a-bananapi-bpi-r4-sd) 
[    4.286191] FIT:       filesystem sub-image 0x00611000..0x01ef1fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4-pro rootfs) 
[    4.297360] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    4.305090] block mmcblk0p7: mapped remaining space as /dev/fitrw
[    4.312206] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    4.444509] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    4.453115] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    4.462543] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    4.584433] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    4.593030] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    4.602263] clk: Disabling unused clocks
[    4.606669] PM: genpd: Disabling unused power domains
[    4.616407] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    4.623649] Freeing unused kernel memory: 448K
[    4.628108] Run /sbin/init as init process
[    4.632218]   with arguments:
[    4.635175]     /sbin/init
[    4.637871]   with environment:
[    4.641001]     HOME=/
[    4.643360]     TERM=linux
[    4.779601] init: Console is alive
[    4.783123] init: - watchdog -
[    5.201746] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.228549] usbcore: registered new interface driver usbfs
[    5.234093] usbcore: registered new interface driver hub
[    5.239421] usbcore: registered new device driver usb
[    5.247948] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    5.255794] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    5.267111] xhci-mtk 11190000.usb: supply vbus not found, using dummy regulator
[    5.274573] xhci-mtk 11190000.usb: supply vusb33 not found, using dummy regulator
[    5.282363] xhci-mtk 11190000.usb: xHCI Host Controller
[    5.287587] xhci-mtk 11190000.usb: new USB bus registered, assigned bus number 1
[    5.315077] xhci-mtk 11190000.usb: clocks are not stable (0x0)
[    5.320898] xhci-mtk 11190000.usb: can't setup: -110
[    5.325875] xhci-mtk 11190000.usb: USB bus 1 deregistered
[    5.331288] xhci-mtk 11190000.usb: probe with driver xhci-mtk failed with error -110
[    5.339191] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    5.346542] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    5.354384] xhci-mtk 11200000.usb: xHCI Host Controller
[    5.359609] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    5.370053] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    5.379205] xhci-mtk 11200000.usb: irq 123, io mem 0x11200000
[    5.384509] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    5.385015] xhci-mtk 11200000.usb: xHCI Host Controller
[    5.393523] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    5.398329] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    5.413895] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    5.421255] hub 1-0:1.0: USB hub found
[    5.425034] hub 1-0:1.0: 1 port detected
[    5.429143] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.437455] hub 2-0:1.0: USB hub found
[    5.441210] hub 2-0:1.0: 1 port detected
[    5.448778] usbcore: registered new interface driver usb-storage
[    5.454945] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.463758] init: - preinit -
[    5.612606] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    5.734679] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    5.743352] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
Cannot find device "eth0"
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3[    5.812113] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
] or [4] key and hit [enter] to select the debug level
[    5.871877] hub 2-1:1.0: USB hub found
[    5.875858] hub 2-1:1.0: 4 ports detected
[    5.982730] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    5.991733] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    6.102985] ------------[ cut here ]------------
[    6.107594] notifier callback mtk_device_event already registered
[    6.107610] WARNING: CPU: 2 PID: 623 at notifier_chain_register+0x58/0x80
[    6.120469] Modules linked in: usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[    6.137603] CPU: 2 UID: 0 PID: 623 Comm: kworker/u16:5 Tainted: G        W  O       6.12.59 #0
[    6.146205] Tainted: [W]=WARN, [O]=OOT_MODULE
[    6.150551] Hardware name: Bananapi BPI-R4 (DT)
[    6.155069] Workqueue: events_unbound deferred_probe_work_func
[    6.160895] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    6.167845] pc : notifier_chain_register+0x58/0x80
[    6.172625] lr : notifier_chain_register+0x58/0x80
[    6.177405] sp : ffffffc081d5ba00
[    6.180708] x29: ffffffc081d5ba00 x28: ffffffc081d5bb40 x27: ffffffc0809f6258
[    6.187834] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[    6.194960] x23: ffffff80c1479000 x22: ffffff80c011ac00 x21: ffffff80c1479940
[    6.202085] x20: ffffff80c14799c8 x19: ffffff80c1452080 x18: ffffffc080cbec98
[    6.209210] x17: 0000000000000000 x16: 00000000000018f8 x15: 0000000000000165
[    6.216335] x14: 0000000000000165 x13: 00000000ffffffea x12: ffffffc080d16c40
[    6.223460] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[    6.230585] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[    6.237710] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc081d5b7e0
[    6.244836] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[    6.251960] Call trace:
[    6.254395]  notifier_chain_register+0x58/0x80
[    6.258828]  raw_notifier_chain_register+0x10/0x18
[    6.263607]  register_netdevice_notifier+0x44/0x124
[    6.268476]  mtk_probe+0xbcc/0x1924
[    6.271955]  platform_probe+0x64/0xcc
[    6.275608]  really_probe+0xb8/0x2a4
[    6.279173]  __driver_probe_device+0x74/0x118
[    6.283519]  driver_probe_device+0x3c/0xe0
[    6.287604]  __device_attach_driver+0xac/0xe8
[    6.291951]  bus_for_each_drv+0x6c/0xb0
[    6.295775]  __device_attach+0x98/0x178
[    6.299600]  device_initial_probe+0x10/0x18
[    6.303772]  bus_probe_device+0xa0/0xa4
[    6.307597]  deferred_probe_work_func+0xa0/0xe4
[    6.312116]  process_one_work+0x174/0x300
[    6.316117]  worker_thread+0x278/0x430
[    6.319856]  kthread+0xd8/0xdc
[    6.322901]  ret_from_fork+0x10/0x20
[    6.326468] ---[ end trace 0000000000000000 ]---
[    6.331220] ------------[ cut here ]------------
[    6.335832] notifier callback mtk_device_event already registered
[    6.335840] WARNING: CPU: 2 PID: 623 at notifier_chain_register+0x58/0x80
[    6.348696] Modules linked in: usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[    6.355263] hub 1-1:1.0: USB hub found
[    6.365821] CPU: 2 UID: 0 PID: 623 Comm: kworker/u16:5 Tainted: G        W  O       6.12.59 #0
[    6.365828] Tainted: [W]=WARN, [O]=OOT_MODULE
[    6.369900] hub 1-1:1.0: 4 ports detected
[    6.378153] Hardware name: Bananapi BPI-R4 (DT)
[    6.378156] Workqueue: events_unbound deferred_probe_work_func
[    6.396837] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    6.403786] pc : notifier_chain_register+0x58/0x80
[    6.408565] lr : notifier_chain_register+0x58/0x80
[    6.413345] sp : ffffffc081d5ba00
[    6.416648] x29: ffffffc081d5ba00 x28: ffffffc081d5bb40 x27: ffffffc0809f6258
[    6.423775] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[    6.430901] x23: ffffff80c147a000 x22: ffffff80c011ac00 x21: ffffff80c147a940
[    6.438027] x20: ffffff80c147a9c8 x19: ffffff80c1452080 x18: ffffffc080cbec98
[    6.445153] x17: 63702e3030303138 x16: 3030313a6d726f66 x15: 000000000000018f
[    6.452278] x14: 000000000000018f x13: 00000000ffffffea x12: ffffffc080d16c40
[    6.459403] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[    6.466528] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[    6.473653] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc081d5b7e0
[    6.480777] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[    6.487901] Call trace:
[    6.490336]  notifier_chain_register+0x58/0x80
[    6.494769]  raw_notifier_chain_register+0x10/0x18
[    6.499548]  register_netdevice_notifier+0x44/0x124
[    6.504417]  mtk_probe+0xbcc/0x1924
[    6.507896]  platform_probe+0x64/0xcc
[    6.511550]  really_probe+0xb8/0x2a4
[    6.515115]  __driver_probe_device+0x74/0x118
[    6.519461]  driver_probe_device+0x3c/0xe0
[    6.523547]  __device_attach_driver+0xac/0xe8
[    6.527893]  bus_for_each_drv+0x6c/0xb0
[    6.531718]  __device_attach+0x98/0x178
[    6.535543]  device_initial_probe+0x10/0x18
[    6.539715]  bus_probe_device+0xa0/0xa4
[    6.543540]  deferred_probe_work_func+0xa0/0xe4
[    6.548059]  process_one_work+0x174/0x300
[    6.552061]  worker_thread+0x278/0x430
[    6.555801]  kthread+0xd8/0xdc
[    6.558846]  ret_from_fork+0x10/0x20
[    6.562411] ---[ end trace 0000000000000000 ]---
[    6.567156] ------------[ cut here ]------------
[    6.571770] notifier callback mtk_device_event already registered
[    6.571780] WARNING: CPU: 2 PID: 623 at notifier_chain_register+0x58/0x80
[    6.584636] Modules linked in: usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[    6.601765] CPU: 2 UID: 0 PID: 623 Comm: kworker/u16:5 Tainted: G        W  O       6.12.59 #0
[    6.610365] Tainted: [W]=WARN, [O]=OOT_MODULE
[    6.614710] Hardware name: Bananapi BPI-R4 (DT)
[    6.619228] Workqueue: events_unbound deferred_probe_work_func
[    6.625052] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    6.632001] pc : notifier_chain_register+0x58/0x80
[    6.636780] lr : notifier_chain_register+0x58/0x80
[    6.641559] sp : ffffffc081d5ba00
[    6.644861] x29: ffffffc081d5ba00 x28: ffffffc081d5bb40 x27: ffffffc0809f6258
[    6.651988] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[    6.659113] x23: ffffff80c147c000 x22: ffffff80c011ac00 x21: ffffff80c147c940
[    6.666238] x20: ffffff80c147c9c8 x19: ffffff80c1452080 x18: ffffffc080cbec98
[    6.673363] x17: 63702e3030303038 x16: 3030313a6d726f66 x15: 00000000000001bb
[    6.680487] x14: 00000000000001bb x13: 00000000ffffffea x12: ffffffc080d16c40
[    6.687612] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[    6.694738] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[    6.701863] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc081d5b7e0
[    6.708988] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[    6.716113] Call trace:
[    6.718548]  notifier_chain_register+0x58/0x80
[    6.722981]  raw_notifier_chain_register+0x10/0x18
[    6.727760]  register_netdevice_notifier+0x44/0x124
[    6.732629]  mtk_probe+0xbcc/0x1924
[    6.736107]  platform_probe+0x64/0xcc
[    6.739760]  really_probe+0xb8/0x2a4
[    6.743325]  __driver_probe_device+0x74/0x118
[    6.747671]  driver_probe_device+0x3c/0xe0
[    6.751756]  __device_attach_driver+0xac/0xe8
[    6.756101]  bus_for_each_drv+0x6c/0xb0
[    6.759926]  __device_attach+0x98/0x178
[    6.763751]  device_initial_probe+0x10/0x18
[    6.767925]  bus_probe_device+0xa0/0xa4
[    6.771750]  deferred_probe_work_func+0xa0/0xe4
[    6.776269]  process_one_work+0x174/0x300
[    6.780269]  worker_thread+0x278/0x430
[    6.784008]  kthread+0xd8/0xdc
[    6.787053]  ret_from_fork+0x10/0x20
[    6.790619] ---[ end trace 0000000000000000 ]---
[    6.796580] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    6.805184] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    7.002331] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[    7.124522] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    7.133125] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[    9.852702] mount_root: overlay filesystem in /dev/fitrw has not been formatted yet
[   11.376478] F2FS-fs (fitrw): Found nat_bits in checkpoint
[   11.407038] F2FS-fs (fitrw): Mounted with checkpoint version = d70cacb
[   11.414260] mount_root: overlay filesystem has not been fully initialized yet
[   11.421639] mount_root: switching to f2fs overlay
[   11.428908] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   11.439798] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.481881] procd: - early -
[   11.484814] procd: - watchdog -
[   12.020388] procd: - watchdog -
[   12.023770] procd: - ubus -
[   12.179388] procd: - init -
Please press Enter to activate this console.
[   12.403324] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.430824] pca954x 2-0070: supply vdd not found, using dummy regulator
[   12.438116] i2c i2c-2: Added multiplexed i2c bus 3
[   12.443157] i2c i2c-2: Added multiplexed i2c bus 4
[   12.448004] i2c i2c-2: Added multiplexed i2c bus 5
[   12.452906] i2c i2c-2: Added multiplexed i2c bus 6
[   12.457689] pca954x 2-0070: registered 4 multiplexed busses for I2C switch pca9545
[   12.465512] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[   12.473317] OF: /thermal-zones/cpu-thermal/cooling-maps/cpu-active-hot: could not get #cooling-cells for /cpus/cpu@1
[   12.483878] thermal_sys: Add a cooling_device property with at least one device
[   12.494055] ntfs3: Enabled Linux POSIX ACLs support
[   12.500713] crypto-safexcel 15600000.crypto: EIP197:331(7,1,8,4)-HIA:272(2,5,5),PE:151/450(alg:7fe1fc00)/240/240/450
[   12.502521] urngd: v1.0.2 started.
[   12.512083] crypto-safexcel 15600000.crypto: TRC init: 8704d,48a (32r,128h)
[   12.549053] at24 3-0057: supply vcc not found, using dummy regulator
[   12.556339] at24 3-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[   12.563036] at24 6-0051: supply vcc not found, using dummy regulator
[   12.594367] usbcore: registered new interface driver cdc_wdm
[   12.600059] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   12.608448] Loading modules backported from Linux version v6.16-0-g038d61fd6422
[   12.615760] Backport generated by backports.git v6.1.145-1-47-g6194bf852a3e
[   12.622746] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   12.646157] NET: Registered PF_QIPCRTR protocol family
[   12.654585] rtc-pcf8563 3-0051: low voltage detected, date/time is not reliable.
[   12.662066] rtc-pcf8563 3-0051: registered as rtc0
[   12.668045] rtc-pcf8563 3-0051: low voltage detected, date/time is not reliable.
[   12.675493] rtc-pcf8563 3-0051: hctosys: unable to read the hardware clock
[   12.684483] sfp sfp1: Host maximum power 3.0W
[   12.688860] sfp sfp1: tx disable 1 -> 1
[   12.693116] sfp sfp2: Host maximum power 3.0W
[   12.697480] sfp sfp2: tx disable 1 -> 1
[   12.704963] usbcore: registered new interface driver usbserial_generic
[   12.711539] usbserial: USB Serial support registered for generic
[   12.725196] xt_time: kernel timezone is -0000
[   12.730223] usbcore: registered new interface driver cdc_ether
[   12.736968] usbcore: registered new interface driver cdc_ncm
[   12.787175] PPP generic driver version 2.4.2
[   12.792112] NET: Registered PF_PPPOX protocol family
[   12.797908] usbcore: registered new interface driver qmi_wwan
[   12.805891] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   12.813731] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[   12.826472] usbcore: registered new interface driver cdc_mbim
[   12.833503] usbcore: registered new interface driver option
[   12.839098] usbserial: USB Serial support registered for GSM modem (1-port)
[   12.847739] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.882797] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[   13.002999] ------------[ cut here ]------------
[   13.007619] notifier callback mtk_device_event already registered
[   13.007635] WARNING: CPU: 0 PID: 44 at notifier_chain_register+0x58/0x80
[   13.020408] Modules linked in: xt_connlimit pppoe ppp_async option nf_conncount cdc_mbim xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard usb_wwan qmi_wwan pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mhi_wwan_mbim mhi_wwan_ctrl mac80211(O) libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wwan usbserial usbnet tcp_bbr slhc sfp rtc_pcf8563 qrtr_mhi qrtr poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mhi_pci_generic mhi_net mhi mdio_i2c libcurve25519_generic
[   13.020589]  libcrc32c libchacha iptable_mangle iptable_filter ipt_ECN ip_tables compat(O) cdc_wdm at24 crypto_safexcel ntfs3 pwm_fan i2c_mux_pca954x i2c_mux xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_arm64 sha1_ce usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[   13.180784] CPU: 0 UID: 0 PID: 44 Comm: kworker/u16:1 Tainted: G        W  O       6.12.59 #0
[   13.189299] Tainted: [W]=WARN, [O]=OOT_MODULE
[   13.193643] Hardware name: Bananapi BPI-R4 (DT)
[   13.198161] Workqueue: events_unbound deferred_probe_work_func
[   13.203986] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.210935] pc : notifier_chain_register+0x58/0x80
[   13.215714] lr : notifier_chain_register+0x58/0x80
[   13.220494] sp : ffffffc0813bba00
[   13.223797] x29: ffffffc0813bba00 x28: ffffffc0813bbb40 x27: ffffffc0809f6258
[   13.230924] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[   13.238050] x23: ffffff80c11fd000 x22: ffffff80c011ac00 x21: ffffff80c11fd940
[   13.245175] x20: ffffff80c11fd9c8 x19: ffffff80c0bba080 x18: ffffffc080cbec98
[   13.252301] x17: ffffffc080d50bd0 x16: 0000000000000006 x15: 0000000000000224
[   13.259425] x14: 0000000000000224 x13: 00000000ffffffea x12: ffffffc080d16c40
[   13.266551] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[   13.273677] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[   13.280802] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc0813bb7e0
[   13.287927] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[   13.295053] Call trace:
[   13.297488]  notifier_chain_register+0x58/0x80
[   13.301922]  raw_notifier_chain_register+0x10/0x18
[   13.306701]  register_netdevice_notifier+0x44/0x124
[   13.311571]  mtk_probe+0xbcc/0x1924
[   13.315050]  platform_probe+0x64/0xcc
[   13.318703]  really_probe+0xb8/0x2a4
[   13.322268]  __driver_probe_device+0x74/0x118
[   13.326614]  driver_probe_device+0x3c/0xe0
[   13.330700]  __device_attach_driver+0xac/0xe8
[   13.335046]  bus_for_each_drv+0x6c/0xb0
[   13.338871]  __device_attach+0x98/0x178
[   13.342697]  device_initial_probe+0x10/0x18
[   13.346869]  bus_probe_device+0xa0/0xa4
[   13.350694]  deferred_probe_work_func+0xa0/0xe4
[   13.355212]  process_one_work+0x174/0x300
[   13.359213]  worker_thread+0x278/0x430
[   13.362953]  kthread+0xd8/0xdc
[   13.365998]  ret_from_fork+0x10/0x20
[   13.369565] ---[ end trace 0000000000000000 ]---
[   13.374344] ------------[ cut here ]------------
[   13.378951] notifier callback mtk_device_event already registered
[   13.378961] WARNING: CPU: 0 PID: 44 at notifier_chain_register+0x58/0x80
[   13.391730] Modules linked in: xt_connlimit pppoe ppp_async option nf_conncount cdc_mbim xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard usb_wwan qmi_wwan pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mhi_wwan_mbim mhi_wwan_ctrl mac80211(O) libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wwan usbserial usbnet tcp_bbr slhc sfp rtc_pcf8563 qrtr_mhi qrtr poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mhi_pci_generic mhi_net mhi mdio_i2c libcurve25519_generic
[   13.391895]  libcrc32c libchacha iptable_mangle iptable_filter ipt_ECN ip_tables compat(O) cdc_wdm at24 crypto_safexcel ntfs3 pwm_fan i2c_mux_pca954x i2c_mux xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_arm64 sha1_ce usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[   13.552073] CPU: 0 UID: 0 PID: 44 Comm: kworker/u16:1 Tainted: G        W  O       6.12.59 #0
[   13.560586] Tainted: [W]=WARN, [O]=OOT_MODULE
[   13.564930] Hardware name: Bananapi BPI-R4 (DT)
[   13.569448] Workqueue: events_unbound deferred_probe_work_func
[   13.575272] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.582221] pc : notifier_chain_register+0x58/0x80
[   13.587001] lr : notifier_chain_register+0x58/0x80
[   13.591780] sp : ffffffc0813bba00
[   13.595083] x29: ffffffc0813bba00 x28: ffffffc0813bbb40 x27: ffffffc0809f6258
[   13.602209] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[   13.609335] x23: ffffff80c11f8000 x22: ffffff80c011ac00 x21: ffffff80c11f8940
[   13.616460] x20: ffffff80c11f89c8 x19: ffffff80c0bba080 x18: ffffffc080cbec98
[   13.623586] x17: 63702e3030303138 x16: 3030313a6d726f66 x15: 000000000000024f
[   13.630710] x14: 000000000000024f x13: 00000000ffffffea x12: ffffffc080d16c40
[   13.637835] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[   13.644960] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[   13.652085] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc0813bb7e0
[   13.659210] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[   13.666335] Call trace:
[   13.668771]  notifier_chain_register+0x58/0x80
[   13.673203]  raw_notifier_chain_register+0x10/0x18
[   13.677983]  register_netdevice_notifier+0x44/0x124
[   13.682853]  mtk_probe+0xbcc/0x1924
[   13.686332]  platform_probe+0x64/0xcc
[   13.689986]  really_probe+0xb8/0x2a4
[   13.693550]  __driver_probe_device+0x74/0x118
[   13.697896]  driver_probe_device+0x3c/0xe0
[   13.701982]  __device_attach_driver+0xac/0xe8
[   13.706328]  bus_for_each_drv+0x6c/0xb0
[   13.710153]  __device_attach+0x98/0x178
[   13.713978]  device_initial_probe+0x10/0x18
[   13.718151]  bus_probe_device+0xa0/0xa4
[   13.721976]  deferred_probe_work_func+0xa0/0xe4
[   13.726495]  process_one_work+0x174/0x300
[   13.730496]  worker_thread+0x278/0x430
[   13.734235]  kthread+0xd8/0xdc
[   13.737280]  ret_from_fork+0x10/0x20
[   13.740846] ---[ end trace 0000000000000000 ]---
[   13.745593] ------------[ cut here ]------------
[   13.750201] notifier callback mtk_device_event already registered
[   13.750210] WARNING: CPU: 0 PID: 44 at notifier_chain_register+0x58/0x80
[   13.762980] Modules linked in: xt_connlimit pppoe ppp_async option nf_conncount cdc_mbim xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard usb_wwan qmi_wwan pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mhi_wwan_mbim mhi_wwan_ctrl mac80211(O) libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wwan usbserial usbnet tcp_bbr slhc sfp rtc_pcf8563 qrtr_mhi qrtr poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mhi_pci_generic mhi_net mhi mdio_i2c libcurve25519_generic
[   13.763136]  libcrc32c libchacha iptable_mangle iptable_filter ipt_ECN ip_tables compat(O) cdc_wdm at24 crypto_safexcel ntfs3 pwm_fan i2c_mux_pca954x i2c_mux xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_arm64 sha1_ce usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[   13.923321] CPU: 0 UID: 0 PID: 44 Comm: kworker/u16:1 Tainted: G        W  O       6.12.59 #0
[   13.931836] Tainted: [W]=WARN, [O]=OOT_MODULE
[   13.936180] Hardware name: Bananapi BPI-R4 (DT)
[   13.940699] Workqueue: events_unbound deferred_probe_work_func
[   13.946526] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   13.953476] pc : notifier_chain_register+0x58/0x80
[   13.958257] lr : notifier_chain_register+0x58/0x80
[   13.963037] sp : ffffffc0813bba00
[   13.966341] x29: ffffffc0813bba00 x28: ffffffc0813bbb40 x27: ffffffc0809f6258
[   13.973467] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[   13.980592] x23: ffffff80c11fe000 x22: ffffff80c011ac00 x21: ffffff80c11fe940
[   13.987717] x20: ffffff80c11fe9c8 x19: ffffff80c0bba080 x18: ffffffc080cbec98
[   13.994842] x17: 63702e3030303038 x16: 3030313a6d726f66 x15: 000000000000027a
[   14.001967] x14: 000000000000027a x13: 00000000ffffffea x12: ffffffc080d16c40
[   14.009092] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[   14.016217] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : c0000000ffffefff
[   14.023342] x5 : 0000000000057fa8 x4 : 0000000000000000 x3 : ffffffc0813bb7e0
[   14.030466] x2 : ffffffc080cbebc0 x1 : ffffffc080cbebc0 x0 : 0000000000000035
[   14.037591] Call trace:
[   14.040027]  notifier_chain_register+0x58/0x80
[   14.044461]  raw_notifier_chain_register+0x10/0x18
[   14.049240]  register_netdevice_notifier+0x44/0x124
[   14.054110]  mtk_probe+0xbcc/0x1924
[   14.057589]  platform_probe+0x64/0xcc
[   14.061242]  really_probe+0xb8/0x2a4
[   14.064808]  __driver_probe_device+0x74/0x118
[   14.069153]  driver_probe_device+0x3c/0xe0
[   14.073239]  __device_attach_driver+0xac/0xe8
[   14.077585]  bus_for_each_drv+0x6c/0xb0
[   14.081410]  __device_attach+0x98/0x178
[   14.085236]  device_initial_probe+0x10/0x18
[   14.089408]  bus_probe_device+0xa0/0xa4
[   14.093233]  deferred_probe_work_func+0xa0/0xe4
[   14.097753]  process_one_work+0x174/0x300
[   14.101755]  worker_thread+0x278/0x430
[   14.105495]  kthread+0xd8/0xdc
[   14.108541]  ret_from_fork+0x10/0x20
[   14.112108] ---[ end trace 0000000000000000 ]---
[   14.118157] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   14.126805] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   22.871991] mt7530-mmio 15020000.switch: Failed to register DSA switch: -517
[   22.993124] ------------[ cut here ]------------
[   22.997740] notifier callback mtk_device_event already registered
[   22.997755] WARNING: CPU: 3 PID: 293 at notifier_chain_register+0x58/0x80
[   23.010615] Modules linked in: xt_connlimit pppoe ppp_async option nf_conncount cdc_mbim xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard usb_wwan qmi_wwan pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mhi_wwan_mbim mhi_wwan_ctrl mac80211(O) libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wwan usbserial usbnet tcp_bbr slhc sfp rtc_pcf8563 qrtr_mhi qrtr poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mhi_pci_generic mhi_net mhi mdio_i2c libcurve25519_generic
[   23.010800]  libcrc32c libchacha iptable_mangle iptable_filter ipt_ECN ip_tables compat(O) cdc_wdm at24 crypto_safexcel ntfs3 pwm_fan i2c_mux_pca954x i2c_mux xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_arm64 sha1_ce usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[   23.170994] CPU: 3 UID: 0 PID: 293 Comm: kworker/u16:3 Tainted: G        W  O       6.12.59 #0
[   23.179595] Tainted: [W]=WARN, [O]=OOT_MODULE
[   23.183939] Hardware name: Bananapi BPI-R4 (DT)
[   23.188458] Workqueue: events_unbound deferred_probe_work_func
[   23.194283] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   23.201232] pc : notifier_chain_register+0x58/0x80
[   23.206012] lr : notifier_chain_register+0x58/0x80
[   23.210791] sp : ffffffc0819f3a00
[   23.214095] x29: ffffffc0819f3a00 x28: ffffffc0819f3b40 x27: ffffffc0809f6258
[   23.221221] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[   23.228347] x23: ffffff80c1096000 x22: ffffff80c011ac00 x21: ffffff80c1096940
[   23.235472] x20: ffffff80c10969c8 x19: ffffff80c0bba080 x18: ffffffc080cbec98
[   23.242598] x17: 63702e3030303138 x16: 0000000000000014 x15: 00000000000002a8
[   23.249723] x14: 00000000000002a8 x13: 00000000ffffffea x12: ffffffc080d16c40
[   23.256848] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[   23.263973] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : 0000000000000001
[   23.271098] x5 : ffffff80ff7974d0 x4 : 0000000000000000 x3 : 0000000000000027
[   23.278223] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 0000000000000035
[   23.285349] Call trace:
[   23.287785]  notifier_chain_register+0x58/0x80
[   23.292218]  raw_notifier_chain_register+0x10/0x18
[   23.296997]  register_netdevice_notifier+0x44/0x124
[   23.301867]  mtk_probe+0xbcc/0x1924
[   23.305345]  platform_probe+0x64/0xcc
[   23.308998]  really_probe+0xb8/0x2a4
[   23.312564]  __driver_probe_device+0x74/0x118
[   23.316909]  driver_probe_device+0x3c/0xe0
[   23.320995]  __device_attach_driver+0xac/0xe8
[   23.325341]  bus_for_each_drv+0x6c/0xb0
[   23.329167]  __device_attach+0x98/0x178
[   23.332993]  device_initial_probe+0x10/0x18
[   23.337165]  bus_probe_device+0xa0/0xa4
[   23.340990]  deferred_probe_work_func+0xa0/0xe4
[   23.345509]  process_one_work+0x174/0x300
[   23.349510]  worker_thread+0x278/0x430
[   23.353249]  kthread+0xd8/0xdc
[   23.356295]  ret_from_fork+0x10/0x20
[   23.359862] ---[ end trace 0000000000000000 ]---
[   23.364620] ------------[ cut here ]------------
[   23.369230] notifier callback mtk_device_event already registered
[   23.369241] WARNING: CPU: 3 PID: 293 at notifier_chain_register+0x58/0x80
[   23.382097] Modules linked in: xt_connlimit pppoe ppp_async option nf_conncount cdc_mbim xt_state xt_helper xt_conntrack xt_connmark xt_connbytes xt_CT wireguard usb_wwan qmi_wwan pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mhi_wwan_mbim mhi_wwan_ctrl mac80211(O) libchacha20poly1305 ipt_REJECT chacha_neon cfg80211(O) cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wwan usbserial usbnet tcp_bbr slhc sfp rtc_pcf8563 qrtr_mhi qrtr poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_compat nf_tables nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mhi_pci_generic mhi_net mhi mdio_i2c libcurve25519_generic
[   23.382262]  libcrc32c libchacha iptable_mangle iptable_filter ipt_ECN ip_tables compat(O) cdc_wdm at24 crypto_safexcel ntfs3 pwm_fan i2c_mux_pca954x i2c_mux xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel nls_utf8 nls_iso8859_1 nls_cp437 sha512_arm64 sha1_ce usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd nvme nvme_core gpio_button_hotplug(O) vfat fat exfat usbcore usb_common aquantia crc_itu_t mii
[   23.542443] CPU: 3 UID: 0 PID: 293 Comm: kworker/u16:3 Tainted: G        W  O       6.12.59 #0
[   23.551043] Tainted: [W]=WARN, [O]=OOT_MODULE
[   23.555387] Hardware name: Bananapi BPI-R4 (DT)
[   23.559906] Workqueue: events_unbound deferred_probe_work_func
[   23.565731] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   23.572680] pc : notifier_chain_register+0x58/0x80
[   23.577460] lr : notifier_chain_register+0x58/0x80
[   23.582239] sp : ffffffc0819f3a00
[   23.585543] x29: ffffffc0819f3a00 x28: ffffffc0819f3b40 x27: ffffffc0809f6258
[   23.592669] x26: ffffff80c011ac10 x25: ffffffc080dfac38 x24: ffffffc080d9b400
[   23.599795] x23: ffffff80c1093000 x22: ffffff80c011ac00 x21: ffffff80c1093940
[   23.606921] x20: ffffff80c10939c8 x19: ffffff80c0bba080 x18: ffffffc080cbec98
[   23.614046] x17: 63702e3030303038 x16: 3030313a6d726f66 x15: 00000000000002d3
[   23.621171] x14: 00000000000002d3 x13: 00000000ffffffea x12: ffffffc080d16c40
[   23.628296] x11: ffffffc080cbec98 x10: ffffffc080d16c98 x9 : 0000000000000001
[   23.635421] x8 : 0000000000000001 x7 : 0000000000017fe8 x6 : 0000000000000001
[   23.642546] x5 : ffffff80ff7974d0 x4 : 0000000000000000 x3 : 0000000000000027
[   23.649671] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 0000000000000035
[   23.656796] Call trace:
[   23.659231]  notifier_chain_register+0x58/0x80
[   23.663664]  raw_notifier_chain_register+0x10/0x18
[   23.668443]  register_netdevice_notifier+0x44/0x124
[   23.673313]  mtk_probe+0xbcc/0x1924
[   23.676791]  platform_probe+0x64/0xcc
[   23.680443]  really_probe+0xb8/0x2a4
[   23.684008]  __driver_probe_device+0x74/0x118
[   23.688355]  driver_probe_device+0x3c/0xe0
[   23.692441]  __device_attach_driver+0xac/0xe8
[   23.696786]  bus_for_each_drv+0x6c/0xb0
[   23.700611]  __device_attach+0x98/0x178
[   23.704436]  device_initial_probe+0x10/0x18
[   23.708609]  bus_probe_device+0xa0/0xa4
[   23.712434]  deferred_probe_work_func+0xa0/0xe4
[   23.716953]  process_one_work+0x174/0x300
[   23.720954]  worker_thread+0x278/0x430
[   23.724693]  kthread+0xd8/0xdc
[   23.727738]  ret_from_fork+0x10/0x20
[   23.731304] ---[ end trace 0000000000000000 ]---
[   23.737319] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   23.745926] mtk_soc_eth 15100000.ethernet: generated random MAC address 20:08:02:00:00:00
[   23.932211] platform 15020000.switch: deferred probe pending: (reason unknown)
[   23.939440] platform gpio-leds: deferred probe pending: leds-gpio: Failed to get GPIO '/gpio-leds/sys-led-red'
[   23.949438] platform 15100000.ethernet: deferred probe pending: (reason unknown)

Spinand trace is new to me.

The dsa switch afaik was fixed by using daniels newest mxl patches

Uhm. The version in daniel’s repo and the one from the MTK feed are the same.

any news regarding mainline/openwrt state? Would love to order but afraid of too much not working (yet) in openwrt. Some sort of overview would be nice (whats not working yet)

This patch series has a lot of good info. Thanks for sharing it. For the R4 Pro, I assume it’s an internal MII mux?

It is just software based on moddef0 gpio which is used in driver to bind different phylink instance. No specific hardware afaik. This mux must be done in another way for mainline. I just modified the sdk driver to work in 6.18.

1 Like