Banana Pi-R4 and NVMe
Philip Prindeville
philipp_subx at redfish-solutions.com
Sun Jul 20 19:46:31 PDT 2025
> On Jul 19, 2025, at 1:24 PM, Daniel Golle <daniel at makrotopia.org> wrote:
>
>> Hi,
>>
>> I have a BPi-R4 (v1.1) and I've installed a Toshiba 1TB NVMe stick in it. I refreshed 24.10.2 and rebooted, then installed kmod-nvme, pciutils, pciids, etc. and rebooted.
>>
>> I don't see the NVMe for some reason:
>>
>> root at OpenWrt:~# lspci
>> 0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
>> 0000:01:00.0 Network controller: MEDIATEK Corp. Device 7990
>> 0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)
>> 0001:01:00.0 Network controller: MEDIATEK Corp. Device 7991
>> root at OpenWrt:~#
>>
>> What am I missing? What have others done to make this work? What version of board do you have? What brand/model memory stick are you using? What drivers/packages have you installed? What are your dip switch settings?
>
> It looks like the NVMe is not detected in the PCIe bus at all.
> Please post complete kernel logs (dmesg).
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[ 0.000000] Linux version 6.6.93 (builder at buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28739-d9340319c6) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Jun 23 20:40:36 2025
[ 0.000000] Machine model: Bananapi BPI-R4
[ 0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops at 42ff0000
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon at 43000000
[ 0.000000] OF: reserved mem: 0x0000000047cc0000..0x0000000047dbffff (1024 KiB) nomap non-reusable wmcpu-reserved at 47cc0000
[ 0.000000] OF: reserved mem: 0x000000004f600000..0x000000004f63ffff (256 KiB) nomap non-reusable wo-emi at 4f600000
[ 0.000000] OF: reserved mem: 0x000000004f640000..0x000000004f67ffff (256 KiB) nomap non-reusable wo-emi at 4f640000
[ 0.000000] OF: reserved mem: 0x000000004f680000..0x000000004f6bffff (256 KiB) nomap non-reusable wo-emi at 4f680000
[ 0.000000] OF: reserved mem: 0x000000004f700000..0x000000004fefffff (8192 KiB) nomap non-reusable wo-data at 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.4
[ 0.000000] percpu: Embedded 18 pages/cpu s35624 r8192 d29912 u73728
[ 0.000000] pcpu-alloc: s35624 r8192 d29912 u73728 alloc=18*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: 1032192
[ 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 0x00000000fa7dd000-0x00000000fe7dd000] (64MB)
[ 0.000000] Memory: 4024564K/4194304K available (9024K kernel code, 1000K rwdata, 1672K rodata, 448K init, 307K bss, 169740K 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] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 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] Root IRQ handler: 0xffffffc080010080
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 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.000062] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000070] pid_max: default: 32768 minimum: 301
[ 0.002146] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002159] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003644] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.003931] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.004009] rcu: Hierarchical SRCU implementation.
[ 0.004011] rcu: Max phase no-delay instances is 1000.
[ 0.004302] smp: Bringing up secondary CPUs ...
[ 0.004517] Detected VIPT I-cache on CPU1
[ 0.004553] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.004575] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[ 0.004827] Detected VIPT I-cache on CPU2
[ 0.004846] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.004856] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[ 0.005087] Detected VIPT I-cache on CPU3
[ 0.005107] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.005117] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[ 0.005143] smp: Brought up 1 node, 4 CPUs
[ 0.005147] SMP: Total of 4 processors activated.
[ 0.005150] CPU features: detected: 32-bit EL0 Support
[ 0.005153] CPU features: detected: CRC32 instructions
[ 0.005182] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005185] CPU: All CPU(s) started at EL2
[ 0.005186] alternatives: applying system-wide alternatives
[ 0.008750] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008762] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.009718] pinctrl core: initialized pinctrl subsystem
[ 0.010596] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.010885] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.010986] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.011080] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.011363] thermal_sys: Registered thermal governor 'fair_share'
[ 0.011366] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.011369] thermal_sys: Registered thermal governor 'step_wise'
[ 0.011370] thermal_sys: Registered thermal governor 'user_space'
[ 0.011408] ASID allocator initialised with 65536 entries
[ 0.012084] pstore: Using crash dump compression: deflate
[ 0.012089] printk: console [ramoops-1] enabled
[ 0.012319] pstore: Registered ramoops as persistent store backend
[ 0.012323] ramoops: using 0x10000 at 0x42ff0000, ecc: 0
[ 0.014200] /soc/interrupt-controller at c000000: Fixed dependency cycle(s) with /soc/interrupt-controller at c000000
[ 0.019845] Modules: 29616 pages in range for non-PLT usage
[ 0.019852] Modules: 521136 pages in range for PLT usage
[ 0.020631] cryptd: max_cpu_qlen set to 1000
[ 0.021354] SCSI subsystem initialized
[ 0.021465] libata version 3.00 loaded.
[ 0.022444] clocksource: Switched to clocksource arch_sys_counter
[ 0.024102] NET: Registered PF_INET protocol family
[ 0.024242] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.026806] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.026829] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.026841] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.026939] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.027350] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.027669] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[ 0.027798] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.027849] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.028052] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.028084] PCI: CLS 0 bytes, default 64
[ 0.028954] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.032622] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.032628] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.063730] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.064652] mtk-xsphy soc:xphy at 11e10000: failed to get ref_clk(id-1)
[ 0.065236] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie at 11280000 ranges:
[ 0.065254] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 0.065266] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000
[ 0.065279] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[ 0.065369] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie at 11290000 ranges:
[ 0.065379] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[ 0.065389] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000
[ 0.065398] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000
[ 0.065416] /soc/pcie at 11290000: Failed to get clk index: 0 ret: -517
[ 0.065424] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[ 0.065485] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie at 11300000 ranges:
[ 0.065496] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[ 0.065505] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000
[ 0.065514] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[ 0.065531] /soc/pcie at 11300000: Failed to get clk index: 0 ret: -517
[ 0.065538] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[ 0.065614] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie at 11310000 ranges:
[ 0.065624] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[ 0.065633] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000
[ 0.065643] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 0.065659] /soc/pcie at 11310000: Failed to get clk index: 0 ret: -517
[ 0.065666] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[ 0.070102] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.072248] printk: console [ttyS0] disabled
[ 0.092537] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[ 0.092572] printk: console [ttyS0] enabled
[ 1.110289] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2
[ 1.140148] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2
[ 1.152054] loop: module loaded
[ 1.156679] spi-nand spi0.0: Winbond SPI NAND was found.
[ 1.161996] spi-nand spi0.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.170343] 2 fixed-partitions partitions found on MTD device spi0.0
[ 1.176712] OF: Bad cell count for /soc/spi at 11007000/spi_nand at 0/partitions
[ 1.183587] OF: Bad cell count for /soc/spi at 11007000/spi_nand at 0/partitions
[ 1.190598] Creating 2 MTD partitions on "spi0.0":
[ 1.195439] 0x000000000000-0x000000200000 : "bl2"
[ 1.201720] 0x000000200000-0x000008000000 : "ubi"
[ 1.290488] ubi0: default fastmap pool size: 50
[ 1.295030] ubi0: default fastmap WL pool size: 25
[ 1.299810] ubi0: attaching mtd1
[ 2.072160] ubi0: scanning is finished
[ 2.085085] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[ 2.090567] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.097440] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.104218] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.111167] ubi0: good PEBs: 1004, bad PEBs: 4, corrupted PEBs: 0
[ 2.117250] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 2.124460] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1717567889
[ 2.133582] ubi0: available PEBs: 104, total reserved PEBs: 900, PEBs reserved for bad PEB handling: 36
[ 2.142965] ubi0: background thread "ubi_bgt0d" started, PID 310
[ 2.143689] block ubiblock0_1: created from ubi0:1(rootfs)
[ 2.154444] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 2.293988] i2c_dev: i2c /dev entries driver
[ 2.298755] /soc/i2c at 11003000/rt5190a at 64: Fixed dependency cycle(s) with /soc/i2c at 11003000/rt5190a at 64/regulators/buck1
[ 2.312161] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 2.320281] mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0
[ 2.327842] mtk-msdc 11230000.mmc: Got CD GPIO
[ 2.328088] NET: Registered PF_INET6 protocol family
[ 2.337666] Segment Routing with IPv6
[ 2.341334] In-situ OAM (IOAM) with IPv6
[ 2.345283] NET: Registered PF_PACKET protocol family
[ 2.350335] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.363352] 8021q: 802.1Q VLAN Support v1.8
[ 2.379919] phy phy-soc:xphy at 11e10000.3: type_sw - reg 0x218, index 0
[ 2.387160] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie at 11280000 ranges:
[ 2.389356] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.394499] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 2.394511] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000
[ 2.394521] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[ 2.427448] mmc0: new high speed SDXC card at address 0001
[ 2.433487] mmcblk0: mmc0:0001 GC2QT 59.6 GiB
[ 2.441110] Alternate GPT is invalid, using primary GPT.
[ 2.446439] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 2.742464] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[ 2.751277] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[ 2.758341] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie at 11290000 ranges:
[ 2.765661] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[ 2.771926] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000
[ 2.780360] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000
[ 3.122459] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: polling.active (0x2000003)
[ 3.131935] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110
[ 3.138825] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie at 11300000 ranges:
[ 3.146135] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[ 3.152395] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000
[ 3.160828] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[ 3.408492] mtk-pcie-gen3 11300000.pcie: set IO trans window[0]: cpu_addr = 0x30000000, pci_addr = 0x30000000, size = 0x200000
[ 3.419873] mtk-pcie-gen3 11300000.pcie: set MEM trans window[1]: cpu_addr = 0x30200000, pci_addr = 0x30200000, size = 0x200000
[ 3.431337] mtk-pcie-gen3 11300000.pcie: set MEM trans window[2]: cpu_addr = 0x30400000, pci_addr = 0x30400000, size = 0x400000
[ 3.442800] mtk-pcie-gen3 11300000.pcie: set MEM trans window[3]: cpu_addr = 0x30800000, pci_addr = 0x30800000, size = 0x800000
[ 3.454262] mtk-pcie-gen3 11300000.pcie: set MEM trans window[4]: cpu_addr = 0x31000000, pci_addr = 0x31000000, size = 0x1000000
[ 3.465811] mtk-pcie-gen3 11300000.pcie: set MEM trans window[5]: cpu_addr = 0x32000000, pci_addr = 0x32000000, size = 0x2000000
[ 3.477360] mtk-pcie-gen3 11300000.pcie: set MEM trans window[6]: cpu_addr = 0x34000000, pci_addr = 0x34000000, size = 0x4000000
[ 3.489158] mtk-pcie-gen3 11300000.pcie: PCI host bridge to bus 0000:00
[ 3.495768] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 3.501244] pci_bus 0000:00: root bus resource [io 0x400000-0x5fffff] (bus address [0x30000000-0x301fffff])
[ 3.511060] pci_bus 0000:00: root bus resource [mem 0x30200000-0x37ffffff]
[ 3.517925] pci_bus 0000:00: scanning bus
[ 3.521943] pci 0000:00:00.0: [14c3:7988] type 01 class 0x060400
[ 3.527956] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[ 3.534797] pci 0000:00:00.0: PME# supported from D0 D3hot D3cold
[ 3.540881] pci 0000:00:00.0: PME# disabled
[ 3.546308] pci_bus 0000:00: fixups for bus
[ 3.550482] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[ 3.557175] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 3.565174] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[ 3.571911] pci_bus 0000:01: scanning bus
[ 3.575933] pci 0000:01:00.0: [14c3:7990] type 00 class 0x028000
[ 3.581949] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit pref]
[ 3.589175] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00007fff 64bit]
[ 3.596060] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[ 3.602144] pci 0000:01:00.0: PME# disabled
[ 3.632476] pci_bus 0000:01: fixups for bus
[ 3.636648] pci_bus 0000:01: bus scan returning with max=01
[ 3.642210] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 3.648821] pci_bus 0000:00: bus scan returning with max=01
[ 3.654396] pci 0000:00:00.0: BAR 9: assigned [mem 0x30200000-0x303fffff 64bit pref]
[ 3.662128] pci 0000:00:00.0: BAR 8: assigned [mem 0x30400000-0x304fffff]
[ 3.668906] pci 0000:00:00.0: BAR 0: assigned [mem 0x30500000-0x30507fff 64bit]
[ 3.676211] pci 0000:01:00.0: BAR 0: assigned [mem 0x30200000-0x303fffff 64bit pref]
[ 3.683953] pci 0000:01:00.0: BAR 2: assigned [mem 0x30400000-0x30407fff 64bit]
[ 3.691258] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 3.696215] pci 0000:00:00.0: bridge window [mem 0x30400000-0x304fffff]
[ 3.702993] pci 0000:00:00.0: bridge window [mem 0x30200000-0x303fffff 64bit pref]
[ 3.710732] pci 0000:00:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
[ 3.719174] pci 0000:01:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
[ 3.727675] pcieport 0000:00:00.0: assign IRQ: got 115
[ 3.732810] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 3.738900] pcieport 0000:00:00.0: enabling bus mastering
[ 3.744660] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[ 3.753100] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[ 3.761525] mtk-pcie-gen3 11300000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11300c00 data 2
[ 3.769951] mtk-pcie-gen3 11300000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11300c00 data 3
[ 3.778377] mtk-pcie-gen3 11300000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11300c00 data 4
[ 3.786802] mtk-pcie-gen3 11300000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11300c00 data 5
[ 3.795227] mtk-pcie-gen3 11300000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11300c00 data 6
[ 3.803652] mtk-pcie-gen3 11300000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11300c00 data 7
[ 3.812075] mtk-pcie-gen3 11300000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11300c00 data 8
[ 3.820501] mtk-pcie-gen3 11300000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11300c00 data 9
[ 3.828926] mtk-pcie-gen3 11300000.pcie: msi#0xa address_hi 0x0 address_lo 0x11300c00 data 10
[ 3.837439] mtk-pcie-gen3 11300000.pcie: msi#0xb address_hi 0x0 address_lo 0x11300c00 data 11
[ 3.845951] mtk-pcie-gen3 11300000.pcie: msi#0xc address_hi 0x0 address_lo 0x11300c00 data 12
[ 3.854464] mtk-pcie-gen3 11300000.pcie: msi#0xd address_hi 0x0 address_lo 0x11300c00 data 13
[ 3.862975] mtk-pcie-gen3 11300000.pcie: msi#0xe address_hi 0x0 address_lo 0x11300c00 data 14
[ 3.871485] mtk-pcie-gen3 11300000.pcie: msi#0xf address_hi 0x0 address_lo 0x11300c00 data 15
[ 3.879999] mtk-pcie-gen3 11300000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11300c00 data 16
[ 3.888598] mtk-pcie-gen3 11300000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11300c00 data 17
[ 3.897198] mtk-pcie-gen3 11300000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11300c00 data 18
[ 3.905796] mtk-pcie-gen3 11300000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11300c00 data 19
[ 3.914395] mtk-pcie-gen3 11300000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11300c00 data 20
[ 3.922993] mtk-pcie-gen3 11300000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11300c00 data 21
[ 3.931590] mtk-pcie-gen3 11300000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11300c00 data 22
[ 3.940189] mtk-pcie-gen3 11300000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11300c00 data 23
[ 3.948787] mtk-pcie-gen3 11300000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11300c00 data 24
[ 3.957387] mtk-pcie-gen3 11300000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11300c00 data 25
[ 3.965986] mtk-pcie-gen3 11300000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11300c00 data 26
[ 3.974585] mtk-pcie-gen3 11300000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11300c00 data 27
[ 3.983183] mtk-pcie-gen3 11300000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11300c00 data 28
[ 3.991780] mtk-pcie-gen3 11300000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11300c00 data 29
[ 4.000380] mtk-pcie-gen3 11300000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11300c00 data 30
[ 4.008980] mtk-pcie-gen3 11300000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11300c00 data 31
[ 4.017994] mtk-pcie-gen3 11300000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11300c00 data 0
[ 4.026488] pcieport 0000:00:00.0: PME: Signaling with IRQ 116
[ 4.032442] pcieport 0000:00:00.0: AER: enabled with IRQ 116
[ 4.038138] pcieport 0000:00:00.0: save config 0x00: 0x798814c3
[ 4.044073] pcieport 0000:00:00.0: save config 0x04: 0x00100406
[ 4.049981] pcieport 0000:00:00.0: save config 0x08: 0x06040001
[ 4.055894] pcieport 0000:00:00.0: save config 0x0c: 0x00010000
[ 4.061802] pcieport 0000:00:00.0: save config 0x10: 0x30500004
[ 4.067712] pcieport 0000:00:00.0: save config 0x14: 0x00000000
[ 4.073621] pcieport 0000:00:00.0: save config 0x18: 0x00010100
[ 4.079529] pcieport 0000:00:00.0: save config 0x1c: 0x000001f1
[ 4.085438] pcieport 0000:00:00.0: save config 0x20: 0x30403040
[ 4.091346] pcieport 0000:00:00.0: save config 0x24: 0x30313021
[ 4.097256] pcieport 0000:00:00.0: save config 0x28: 0x00000000
[ 4.103166] pcieport 0000:00:00.0: save config 0x2c: 0x00000000
[ 4.109073] pcieport 0000:00:00.0: save config 0x30: 0x00000000
[ 4.114982] pcieport 0000:00:00.0: save config 0x34: 0x00000080
[ 4.120888] pcieport 0000:00:00.0: save config 0x38: 0x00000000
[ 4.126797] pcieport 0000:00:00.0: save config 0x3c: 0x00020173
[ 4.133032] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie at 11310000 ranges:
[ 4.140336] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[ 4.146609] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000
[ 4.155041] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 4.408725] mtk-pcie-gen3 11310000.pcie: set IO trans window[0]: cpu_addr = 0x38000000, pci_addr = 0x38000000, size = 0x200000
[ 4.420110] mtk-pcie-gen3 11310000.pcie: set MEM trans window[1]: cpu_addr = 0x38200000, pci_addr = 0x38200000, size = 0x200000
[ 4.431574] mtk-pcie-gen3 11310000.pcie: set MEM trans window[2]: cpu_addr = 0x38400000, pci_addr = 0x38400000, size = 0x400000
[ 4.443037] mtk-pcie-gen3 11310000.pcie: set MEM trans window[3]: cpu_addr = 0x38800000, pci_addr = 0x38800000, size = 0x800000
[ 4.454499] mtk-pcie-gen3 11310000.pcie: set MEM trans window[4]: cpu_addr = 0x39000000, pci_addr = 0x39000000, size = 0x1000000
[ 4.466049] mtk-pcie-gen3 11310000.pcie: set MEM trans window[5]: cpu_addr = 0x3a000000, pci_addr = 0x3a000000, size = 0x2000000
[ 4.477597] mtk-pcie-gen3 11310000.pcie: set MEM trans window[6]: cpu_addr = 0x3c000000, pci_addr = 0x3c000000, size = 0x4000000
[ 4.489268] mtk-pcie-gen3 11310000.pcie: PCI host bridge to bus 0001:00
[ 4.495878] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 4.501353] pci_bus 0001:00: root bus resource [io 0x600000-0x7fffff] (bus address [0x38000000-0x381fffff])
[ 4.511168] pci_bus 0001:00: root bus resource [mem 0x38200000-0x3fffffff]
[ 4.518033] pci_bus 0001:00: scanning bus
[ 4.522050] pci 0001:00:00.0: [14c3:7988] type 01 class 0x060400
[ 4.528061] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[ 4.534900] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[ 4.540984] pci 0001:00:00.0: PME# disabled
[ 4.546456] pci_bus 0001:00: fixups for bus
[ 4.550631] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[ 4.557324] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 4.565322] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[ 4.572058] pci_bus 0001:01: scanning bus
[ 4.576080] pci 0001:01:00.0: [14c3:7991] type 00 class 0x028000
[ 4.582096] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit pref]
[ 4.589322] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x00007fff 64bit]
[ 4.596207] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[ 4.602291] pci 0001:01:00.0: PME# disabled
[ 4.632478] pci_bus 0001:01: fixups for bus
[ 4.636650] pci_bus 0001:01: bus scan returning with max=01
[ 4.642211] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[ 4.648822] pci_bus 0001:00: bus scan returning with max=01
[ 4.654397] pci 0001:00:00.0: BAR 9: assigned [mem 0x38200000-0x383fffff 64bit pref]
[ 4.662129] pci 0001:00:00.0: BAR 8: assigned [mem 0x38400000-0x384fffff]
[ 4.668907] pci 0001:00:00.0: BAR 0: assigned [mem 0x38500000-0x38507fff 64bit]
[ 4.676213] pci 0001:01:00.0: BAR 0: assigned [mem 0x38200000-0x383fffff 64bit pref]
[ 4.683954] pci 0001:01:00.0: BAR 2: assigned [mem 0x38400000-0x38407fff 64bit]
[ 4.691259] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 4.696216] pci 0001:00:00.0: bridge window [mem 0x38400000-0x384fffff]
[ 4.702993] pci 0001:00:00.0: bridge window [mem 0x38200000-0x383fffff 64bit pref]
[ 4.710732] pci 0001:00:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
[ 4.719173] pci 0001:01:00.0: Max Payload Size set to 256/ 256 (was 128), Max Read Rq 256
[ 4.727684] pcieport 0001:00:00.0: assign IRQ: got 118
[ 4.732820] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[ 4.738911] pcieport 0001:00:00.0: enabling bus mastering
[ 4.744661] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[ 4.753101] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[ 4.761525] mtk-pcie-gen3 11310000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11310c00 data 2
[ 4.769951] mtk-pcie-gen3 11310000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11310c00 data 3
[ 4.778377] mtk-pcie-gen3 11310000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11310c00 data 4
[ 4.786802] mtk-pcie-gen3 11310000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11310c00 data 5
[ 4.795228] mtk-pcie-gen3 11310000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11310c00 data 6
[ 4.803653] mtk-pcie-gen3 11310000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11310c00 data 7
[ 4.812076] mtk-pcie-gen3 11310000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11310c00 data 8
[ 4.820501] mtk-pcie-gen3 11310000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11310c00 data 9
[ 4.828926] mtk-pcie-gen3 11310000.pcie: msi#0xa address_hi 0x0 address_lo 0x11310c00 data 10
[ 4.837438] mtk-pcie-gen3 11310000.pcie: msi#0xb address_hi 0x0 address_lo 0x11310c00 data 11
[ 4.845950] mtk-pcie-gen3 11310000.pcie: msi#0xc address_hi 0x0 address_lo 0x11310c00 data 12
[ 4.854463] mtk-pcie-gen3 11310000.pcie: msi#0xd address_hi 0x0 address_lo 0x11310c00 data 13
[ 4.862975] mtk-pcie-gen3 11310000.pcie: msi#0xe address_hi 0x0 address_lo 0x11310c00 data 14
[ 4.871485] mtk-pcie-gen3 11310000.pcie: msi#0xf address_hi 0x0 address_lo 0x11310c00 data 15
[ 4.879999] mtk-pcie-gen3 11310000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11310c00 data 16
[ 4.888598] mtk-pcie-gen3 11310000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11310c00 data 17
[ 4.897197] mtk-pcie-gen3 11310000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11310c00 data 18
[ 4.905795] mtk-pcie-gen3 11310000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11310c00 data 19
[ 4.914394] mtk-pcie-gen3 11310000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11310c00 data 20
[ 4.922993] mtk-pcie-gen3 11310000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11310c00 data 21
[ 4.931589] mtk-pcie-gen3 11310000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11310c00 data 22
[ 4.940189] mtk-pcie-gen3 11310000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11310c00 data 23
[ 4.948788] mtk-pcie-gen3 11310000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11310c00 data 24
[ 4.957387] mtk-pcie-gen3 11310000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11310c00 data 25
[ 4.965985] mtk-pcie-gen3 11310000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11310c00 data 26
[ 4.974584] mtk-pcie-gen3 11310000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11310c00 data 27
[ 4.983183] mtk-pcie-gen3 11310000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11310c00 data 28
[ 4.991780] mtk-pcie-gen3 11310000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11310c00 data 29
[ 5.000380] mtk-pcie-gen3 11310000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11310c00 data 30
[ 5.008980] mtk-pcie-gen3 11310000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11310c00 data 31
[ 5.018010] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[ 5.026509] pcieport 0001:00:00.0: PME: Signaling with IRQ 119
[ 5.032483] pcieport 0001:00:00.0: AER: enabled with IRQ 119
[ 5.038170] pcieport 0001:00:00.0: save config 0x00: 0x798814c3
[ 5.044086] pcieport 0001:00:00.0: save config 0x04: 0x00100406
[ 5.049994] pcieport 0001:00:00.0: save config 0x08: 0x06040001
[ 5.055905] pcieport 0001:00:00.0: save config 0x0c: 0x00010000
[ 5.061812] pcieport 0001:00:00.0: save config 0x10: 0x38500004
[ 5.067722] pcieport 0001:00:00.0: save config 0x14: 0x00000000
[ 5.073632] pcieport 0001:00:00.0: save config 0x18: 0x00010100
[ 5.079538] pcieport 0001:00:00.0: save config 0x1c: 0x000001f1
[ 5.085449] pcieport 0001:00:00.0: save config 0x20: 0x38403840
[ 5.091356] pcieport 0001:00:00.0: save config 0x24: 0x38313821
[ 5.097266] pcieport 0001:00:00.0: save config 0x28: 0x00000000
[ 5.103176] pcieport 0001:00:00.0: save config 0x2c: 0x00000000
[ 5.109083] pcieport 0001:00:00.0: save config 0x30: 0x00000000
[ 5.114993] pcieport 0001:00:00.0: save config 0x34: 0x00000080
[ 5.120901] pcieport 0001:00:00.0: save config 0x38: 0x00000000
[ 5.126810] pcieport 0001:00:00.0: save config 0x3c: 0x00020176
[ 5.133756] FIT: Detected U-Boot 2024.10-OpenWrt-r28739-d9340319c6
[ 5.139929] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4)
[ 5.148975] FIT: kernel sub-image 0x00001000..0x00562725 "kernel-1" (ARM64 OpenWrt Linux-6.6.93)
[ 5.158753] FIT: flat_dt sub-image 0x00563000..0x0056ea15 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob)
[ 5.169971] FIT: flat_dt sub-image 0x0056f000..0x0056f609 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-emmc)
[ 5.186306] FIT: flat_dt sub-image 0x00570000..0x0057011c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-rtc)
[ 5.202467] FIT: flat_dt sub-image 0x00571000..0x005715c1 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd)
[ 5.218453] FIT: flat_dt sub-image 0x00572000..0x005728f0 "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a)
[ 5.236172] FIT: filesystem sub-image 0x00573000..0x01027fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs)
[ 5.247061] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[ 5.254825] block mmcblk0p7: mapped remaining space as /dev/fitrw
[ 5.383937] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[ 5.396375] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082880000, irq 106
[ 5.406052] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082880000, irq 106
[ 5.415723] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc082880000, irq 106
[ 5.507998] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[ 5.515512] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[ 5.542433] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=121)
[ 5.580315] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=122)
[ 5.618776] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=123)
[ 5.657248] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=124)
[ 5.668240] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[ 5.674955] DSA: tree 0 setup
[ 5.678172] clk: Disabling unused clocks
[ 5.687946] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[ 5.695185] Freeing unused kernel memory: 448K
[ 5.699657] Run /sbin/init as init process
[ 5.703746] with arguments:
[ 5.706701] /sbin/init
[ 5.709397] with environment:
[ 5.712528] HOME=/
[ 5.714877] TERM=linux
[ 5.847409] init: Console is alive
[ 5.850902] init: - watchdog -
[ 6.129474] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.152123] usbcore: registered new interface driver usbfs
[ 6.157657] usbcore: registered new interface driver hub
[ 6.162983] usbcore: registered new device driver usb
[ 6.168557] gpio_button_hotplug: loading out-of-tree module taints kernel.
[ 6.178427] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[ 6.185834] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[ 6.193736] xhci-mtk 11200000.usb: xHCI Host Controller
[ 6.198966] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[ 6.209448] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[ 6.218604] xhci-mtk 11200000.usb: irq 125, io mem 0x11200000
[ 6.224430] xhci-mtk 11200000.usb: xHCI Host Controller
[ 6.229647] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[ 6.237035] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[ 6.244371] hub 1-0:1.0: USB hub found
[ 6.248135] hub 1-0:1.0: 1 port detected
[ 6.252241] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 6.260524] hub 2-0:1.0: USB hub found
[ 6.264290] hub 2-0:1.0: 1 port detected
[ 6.270596] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.279626] init: - preinit -
[ 6.510848] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[ 6.519083] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[ 6.532970] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[ 6.712453] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[ 6.895211] hub 1-1:1.0: USB hub found
[ 6.899201] hub 1-1:1.0: 5 ports detected
[ 7.042645] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[ 7.075025] hub 2-1:1.0: USB hub found
[ 7.078842] hub 2-1:1.0: 4 ports detected
[ 7.592444] usb 1-1.5: new high-speed USB device number 3 using xhci-mtk
[ 7.823165] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-mtk
[ 7.853941] usb 2-1.1: LPM exit latency is zeroed, disabling LPM.
[ 9.312450] random: crng init done
[ 11.023041] F2FS-fs (fitrw): Mounted with checkpoint version = 3999c4f4
[ 11.031972] mount_root: switching to f2fs overlay
[ 11.038614] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[ 11.050655] urandom-seed: Seeding with /etc/urandom.seed
[ 11.096247] procd: - early -
[ 11.099181] procd: - watchdog -
[ 11.642498] procd: - watchdog -
[ 11.646662] procd: - ubus -
[ 11.800890] procd: - init -
[ 12.060143] kmodloader: loading kernel modules from /etc/modules.d/*
[ 12.087273] pca954x 1-0070: supply vdd not found, using dummy regulator
[ 12.094524] i2c i2c-1: Added multiplexed i2c bus 2
[ 12.099403] i2c i2c-1: Added multiplexed i2c bus 3
[ 12.104310] i2c i2c-1: Added multiplexed i2c bus 4
[ 12.109183] i2c i2c-1: Added multiplexed i2c bus 5
[ 12.112044] urngd: v1.0.2 started.
[ 12.113971] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545
[ 12.127171] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff]
[ 12.136851] crypto-safexcel 15600000.crypto: failed to get resource
[ 12.143119] crypto-safexcel: probe of 15600000.crypto failed with error -16
[ 12.153796] at24 2-0050: supply vcc not found, using dummy regulator
[ 12.184305] at24 2-0057: supply vcc not found, using dummy regulator
[ 12.191267] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[ 12.198351] Loading modules backported from Linux version v6.12.6-0-ge9d65b48ce1a
[ 12.205876] Backport generated by backports.git v6.1.110-1-35-g410656ef04d2
[ 12.216155] sfp sfp1: Host maximum power 3.0W
[ 12.221044] sfp sfp2: Host maximum power 3.0W
[ 12.240473] mt7996e_hif 0001:01:00.0: assign IRQ: got 118
[ 12.245920] mt7996e_hif 0001:01:00.0: enabling device (0000 -> 0002)
[ 12.252295] mt7996e_hif 0001:01:00.0: enabling bus mastering
[ 12.258115] mt7996e 0000:01:00.0: assign IRQ: got 115
[ 12.263178] mt7996e 0000:01:00.0: enabling device (0000 -> 0002)
[ 12.269196] mt7996e 0000:01:00.0: enabling bus mastering
[ 12.362515] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1
[ 12.371023] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[ 12.422817] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240809122254a
[ 12.422817]
[ 12.647942] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240809122249
[ 12.698751] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20240809121650
[ 12.750831] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20240809122214
[ 13.153949] PPP generic driver version 2.4.2
[ 13.158838] NET: Registered PF_PPPOX protocol family
[ 13.165422] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.199674] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[ 15.218841] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[ 15.219105] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[ 15.220970] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[ 15.222062] br-lan: port 1(lan1) entered blocking state
[ 15.222075] br-lan: port 1(lan1) entered disabled state
[ 15.222105] mt7530-mmio 15020000.switch lan1: entered allmulticast mode
[ 15.222114] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[ 15.222281] mt7530-mmio 15020000.switch lan1: entered promiscuous mode
[ 15.233212] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[ 15.234377] br-lan: port 2(lan2) entered blocking state
[ 15.234393] br-lan: port 2(lan2) entered disabled state
[ 15.234424] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[ 15.234588] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[ 15.237835] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[ 15.238123] br-lan: port 3(lan3) entered blocking state
[ 15.238132] br-lan: port 3(lan3) entered disabled state
[ 15.238148] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[ 15.238286] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[ 15.240300] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-r link mode
[ 15.264286] br-lan: port 4(eth1) entered blocking state
[ 15.264306] br-lan: port 4(eth1) entered disabled state
[ 15.264342] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[ 15.264499] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[ 15.327682] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-r link mode
[ 15.351824] br-wan: port 1(eth2) entered blocking state
[ 15.351843] br-wan: port 1(eth2) entered disabled state
[ 15.351876] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode
[ 15.352016] mtk_soc_eth 15100000.ethernet eth2: entered promiscuous mode
[ 18.414492] mt7530-mmio 15020000.switch lan3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 18.414512] br-lan: port 3(lan3) entered blocking state
[ 18.414522] br-lan: port 3(lan3) entered forwarding state
And in case it's helpful:
root at OpenWrt:~# lsmod
aquantia 24576 0
at24 16384 0
authenc 12288 2 crypto_safexcel,authencesn
authencesn 12288 0
cfg80211 299008 4 mt7996e,mt76_connac_lib,mt76,mac80211
compat 12288 2 mac80211,cfg80211
crypto_safexcel 98304 0
des_generic 12288 0
geniv 12288 1 seqiv
gpio_button_hotplug 16384 0
i2c_mux 12288 3 i2c_mux_pca954x
i2c_mux_pca954x 16384 0
leds_gpio 12288 0
libcrc32c 12288 1 nf_tables
libdes 20480 2 crypto_safexcel,des_generic
mac80211 577536 3 mt7996e,mt76_connac_lib,mt76
md5 12288 1 crypto_safexcel
mdio_i2c 12288 1 sfp
mt76 73728 2 mt7996e,mt76_connac_lib
mt76_connac_lib 45056 1 mt7996e
mt7996e 118784 0
nf_conntrack 90112 7 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nf_nat,nf_flow_table
nf_defrag_ipv4 12288 1 nf_conntrack
nf_defrag_ipv6 16384 1 nf_conntrack
nf_flow_table 28672 2 nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet 12288 0
nf_log_syslog 16384 0
nf_nat 36864 4 nft_redir,nft_nat,nft_masq,nft_chain_nat
nf_reject_ipv4 12288 2 nft_reject_ipv4,nft_reject_inet
nf_reject_ipv6 12288 2 nft_reject_ipv6,nft_reject_inet
nf_tables 188416203 nft_fib_inet,nf_flow_table_inet,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_chain_nat
nfnetlink 16384 1 nf_tables
nft_chain_nat 12288 2
nft_ct 16384 4
nft_fib 12288 3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
nft_fib_inet 12288 0
nft_fib_ipv4 12288 1 nft_fib_inet
nft_fib_ipv6 12288 1 nft_fib_inet
nft_flow_offload 12288 0
nft_hash 12288 0
nft_limit 12288 5
nft_log 12288 0
nft_masq 12288 1
nft_nat 12288 0
nft_numgen 12288 0
nft_quota 12288 0
nft_redir 12288 0
nft_reject 12288 3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
nft_reject_inet 12288 2
nft_reject_ipv4 12288 0
nft_reject_ipv6 12288 0
nvme 36864 0
nvme_core 65536 1 nvme
ppp_async 16384 0
ppp_generic 40960 3 pppoe,ppp_async,pppox
pppoe 20480 0
pppox 12288 1 pppoe
pwm_fan 12288 0
rtc_pcf8563 12288 0
seqiv 12288 0
sfp 28672 0
sha1_ce 12288 0
sha1_generic 12288 2 crypto_safexcel,sha1_ce
sha512_arm64 16384 0
slhc 12288 1 ppp_generic
usb_common 12288 3 xhci_plat_hcd,xhci_hcd,usbcore
usbcore 180224 4 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd
xhci_hcd 131072 3 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd
xhci_mtk_hcd 20480 0
xhci_pci 16384 0
xhci_plat_hcd 12288 0
root at OpenWrt:~#
>
> Depending on which production run your V1.1 board belongs to you may be
> facing a known design issue documented here:
>
> https://forum.banana-pi.org/t/bpi-r4-nvme-i2c/17152/2?u=dangowrt
>
> Note that this may affect **and even break/burn** some NVMe controllers,
> so make sure those two 0-ohn resistors are not populated as described in
> that thread. I've told this to SinoVoip/BananaPi but apparently a lot of
> boards were already out at sellers and old/broken versions **are still
> being sold by some of them**.
Yup, that's my conclusion too. I reached out to yooyeetoo.com <http://yooyeetoo.com/> and never heard back. I'll post a review on Amazon warning others to hold off on purchasing boards until they've refreshed their inventory.
> If the R228 and R230 are not present and the SSD is still not detected
> you may be facing a PCIe interoperability issue, or maybe the (rather
> large) SSD is drawing too much power, or it just doesn't come up fast
> enough to be present when the bus is being scanned (in that latter case
> it should work after a soft reboot).
I've not powered down and dismantled the router to check, and probably won't until I have some free time.
If I get sent a replacement board I'll have more reason to disassembly things...
More information about the openwrt-devel
mailing list