i guess i found something...
root@OpenWrt:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[ 0.000000] Linux version 6.12.60 (oli@DESKTOP-RA0V02P) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r32305-52fa3728e5) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Thu Dec 11 06:39:34 2025
[ 0.000000] Machine model: Banana Pi BPI-R4 (2x SFP+)
[ 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 s42520 r8192 d31208 u81920
[ 0.000000] pcpu-alloc: s42520 r8192 d31208 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 0x00000000f9de9000-0x00000000fdde9000] (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.000064] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.000071] pid_max: default: 32768 minimum: 301
[ 0.002142] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002156] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003649] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.004112] rcu: Hierarchical SRCU implementation.
[ 0.004114] rcu: Max phase no-delay instances is 1000.
[ 0.004205] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.004374] smp: Bringing up secondary CPUs ...
[ 0.004589] Detected VIPT I-cache on CPU1
[ 0.004628] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.004649] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[ 0.004920] Detected VIPT I-cache on CPU2
[ 0.004941] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.004951] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[ 0.005186] Detected VIPT I-cache on CPU3
[ 0.005207] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.005217] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[ 0.005251] smp: Brought up 1 node, 4 CPUs
[ 0.005255] SMP: Total of 4 processors activated.
[ 0.005257] CPU: All CPU(s) started at EL2
[ 0.005259] CPU features: detected: 32-bit EL0 Support
[ 0.005261] CPU features: detected: CRC32 instructions
[ 0.005289] alternatives: applying system-wide alternatives
[ 0.005366] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.005462] Memory: 4009452K/4194304K available (9280K kernel code, 984K rwdata, 2764K rodata, 448K init, 300K bss, 181284K reserved, 0K cma-reserved)
[ 0.008422] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008432] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.008483] 29280 pages in range for non-PLT usage
[ 0.008485] 520800 pages in range for PLT usage
[ 0.009589] pinctrl core: initialized pinctrl subsystem
[ 0.010495] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.010790] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.010892] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.010987] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.011260] thermal_sys: Registered thermal governor 'fair_share'
[ 0.011262] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.011264] thermal_sys: Registered thermal governor 'step_wise'
[ 0.011266] thermal_sys: Registered thermal governor 'user_space'
[ 0.011308] ASID allocator initialised with 65536 entries
[ 0.011811] pstore: Using crash dump compression: deflate
[ 0.011817] printk: legacy console [ramoops-1] enabled
[ 0.012070] pstore: Registered ramoops as persistent store backend
[ 0.012075] ramoops: using 0x10000@0x42ff0000, ecc: 0
[ 0.013937] /soc/interrupt-controller@c000000: Fixed dependency cycle(s) with /soc/interrupt-controller@c000000
[ 0.017305] /soc/pcie@11280000: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[ 0.017410] /soc/pcie@11290000: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[ 0.017501] /soc/pcie@11300000: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[ 0.017596] /soc/pcie@11310000: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[ 0.027552] cryptd: max_cpu_qlen set to 1000
[ 0.029249] SCSI subsystem initialized
[ 0.029337] libata version 3.00 loaded.
[ 0.030365] clocksource: Switched to clocksource arch_sys_counter
[ 0.032057] NET: Registered PF_INET protocol family
[ 0.032194] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.034483] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.034506] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.034517] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.034626] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.035086] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.035400] MPTCP token hash table entries: 4096 (order: 5, 98304 bytes, linear)
[ 0.035514] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.035564] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.035767] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.035805] PCI: CLS 0 bytes, default 64
[ 0.035951] Unpacking initramfs...
[ 0.041437] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.045210] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.045216] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.077299] mtk-xsphy soc:xs-phy@11e10000: failed to get ref_clk(id-1)
[ 0.077958] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 0.077976] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 0.077989] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000
[ 0.078004] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[ 0.078103] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[ 0.078114] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[ 0.078124] mtk-pcie-gen3 11290000.pcie: IO 0x0028000000..0x00281fffff -> 0x0028000000
[ 0.078134] mtk-pcie-gen3 11290000.pcie: MEM 0x0028200000..0x002fffffff -> 0x0028200000
[ 0.078153] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[ 0.078162] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[ 0.078229] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[ 0.078239] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[ 0.078248] mtk-pcie-gen3 11300000.pcie: IO 0x0030000000..0x00301fffff -> 0x0030000000
[ 0.078258] mtk-pcie-gen3 11300000.pcie: MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[ 0.078275] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[ 0.078283] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[ 0.078357] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[ 0.078366] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[ 0.078376] mtk-pcie-gen3 11310000.pcie: IO 0x0038000000..0x00381fffff -> 0x0038000000
[ 0.078386] mtk-pcie-gen3 11310000.pcie: MEM 0x0038200000..0x003fffffff -> 0x0038200000
[ 0.078402] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[ 0.078410] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[ 0.083237] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[ 0.084057] printk: legacy console [ttyS0] disabled
[ 0.104338] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[ 0.104380] printk: legacy console [ttyS0] enabled
[ 0.984347] Freeing initrd memory: 10140K
[ 0.997071] random: crng init done
[ 1.157539] loop: module loaded
[ 1.161947] spi-nand spi0.0: Winbond SPI NAND was found.
[ 1.167262] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 1.179443] 2 fixed-partitions partitions found on MTD device spi0.0
[ 1.185998] Creating 2 MTD partitions on "spi0.0":
[ 1.190814] 0x000000000000-0x000000200000 : "bl2"
[ 1.196989] 0x000000200000-0x000008000000 : "ubi"
[ 1.268873] ubi0: default fastmap pool size: 50
[ 1.273417] ubi0: default fastmap WL pool size: 25
[ 1.278198] ubi0: attaching mtd1
[ 1.667529] ubi0: scanning is finished
[ 1.675947] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[ 1.681432] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.688295] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.695074] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.702026] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[ 1.708107] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[ 1.715319] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1697192243
[ 1.724442] ubi0: available PEBs: 105, total reserved PEBs: 903, PEBs reserved for bad PEB handling: 20
[ 1.733827] ubi0: background thread "ubi_bgt0d" started, PID 222
[ 1.734294] block ubiblock0_1: created from ubi0:1(rootfs)
[ 1.745305] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[ 1.871867] i2c_dev: i2c /dev entries driver
[ 1.876587] /soc/i2c@11003000/rt5190a@64: Fixed dependency cycle(s) with /soc/i2c@11003000/rt5190a@64/regulators/buck1
[ 1.888358] mtk-lvts-thermal 1100a000.lvts: golden temp=60
[ 1.895272] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[ 1.910594] NET: Registered PF_INET6 protocol family
[ 1.915948] Segment Routing with IPv6
[ 1.919614] In-situ OAM (IOAM) with IPv6
[ 1.923589] NET: Registered PF_PACKET protocol family
[ 1.928680] 8021q: 802.1Q VLAN Support v1.8
[ 1.935310] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=1 arg=00000000; host->error=0x00000002
[ 1.945223] phy phy-soc:xs-phy@11e10000.3: type_sw - reg 0x194, index 0
[ 1.952550] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[ 1.959860] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[ 1.966141] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000..0x00201fffff -> 0x0020000000
[ 1.974575] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[ 2.013344] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=1 arg=00000000; host->error=0x00000002
[ 2.054515] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=1 arg=00000000; host->error=0x00000002
[ 2.097642] mtk-msdc 11230000.mmc: msdc_track_cmd_data: cmd=1 arg=00000000; host->error=0x00000002
**[ 2.108081] mmc0: Failed to initialize a non-removable card**
[ 2.300370] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[ 2.314726] mtk-pcie-gen3 11280000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[ 2.323793] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
the question is... why? is there any chance to get more information why it failed to initialize the card? i am in initramfs, could i somehow try to mount the card? it should then print the errors that cause that, right?
thought i'll ask chatgpt. it says its because of the openwrt-mediatek-filogic-bananapi_bpi-r4-squashfs-sysupgrade.itb, seems like it has
Default Configuration: 'config-mt7988a-bananapi-bpi-r4'
Configuration 0 (config-mt7988a-bananapi-bpi-r4) → fdt-1
Configuration 3 (mt7988a-bananapi-bpi-r4-sd) → fdt-mt7988a-bananapi-bpi-r4-sd
and it always boots default, which leads to no SD. not sure how reliable this information is or if this is very off...
First i thought thats an openwrt problem, but i start to believe thats something else (like .itb problem), so i created https://forum.banana-pi.org/t/unable-to-boot-openwrt-shapshot/26271
tested 2 old revisions, both worked. i will bisect but will continue posting only in https://forum.banana-pi.org/t/unable-to-boot-openwrt-shapshot/26271 as i highly believe this is an banana pi r4 problem with some .itb commit or so