I managed to get past the U-Boot stage. The board now boots from SD card and U-Boot loads the kernel successfully. However, I'm now facing a different issue - kernel panic during rootfs mount. The kernel detects all 7 partitions on the SD card correctly (including mmcblk1p7 which should be rootfs), but fails to mount the root filesystem. The partition is created and detected, but the kernel cannot mount it. What could be causing this? (I'm using the official prebuilt firmware from the Google Drive.)
Code: Select all
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.160 (root@DESKTOP-RUMO6US) (arm-rockchip830-linux-uclibcgnueabihf-gcc (crosstool-NG 1.24.0) 8.3.0, GNU ld (crosstool-NG 1.24.0) 2.32) #8 Thu Mar 13 21:14:48 CST 2025
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c53c7d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Luckfox Pico Plus
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 1024 KiB at 0x03f00000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: user_debug=31 storagemedia=sd androidboot.storagemedia=sd androidboot.mode=normal rootwait earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk1p7 snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0 blkdevparts=mmcblk1:32K(env),512K@32K(idblock),256K(uboot),32M(boot),512M(oem),256M(userdata),6G(rootfs) rootfstype=ext4 rk_dma_heap_cma=1M androidboot.fwver=uboot-03/14/2025
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inoe-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 57176K/65536K available (3793K kernel code, 379K rwdata, 1816K rodata, 196K init, 138K bss, 7336K reserved, 1024K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000517] Console: colour dummy device 80x30
[ 0.000565] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000582] pid_max: default: 4096 minimum: 301
[ 0.000760] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000775] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001421] CPU: Testing write buffer coherency: ok
[ 0.002102] Setting up static identity map for 0x81c0 - 0x81f8
[ 0.002592] devtmpfs: initialized
[ 0.009440] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.009643] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.009665] futex hash table entries: 16 (order: -5, 192 bytes, linear)
[ 0.009797] pinctrl core: initialized pinctrl subsystem
[ 0.011052] NET: Registered protocol family 16
[ 0.011503] DMA: failed to allocate 0 KiB pool for atomic coherent allocation
[ 0.012101] Registered FIQ tty driver
[ 0.012438] thermal_sys: Registered thermal governor 'step_wise'
[ 0.012445] thermal_sys: Registered thermal governor 'user_space'
[ 0.012694] cpuidle: using governor menu
[ 0.026293] rockchip-gpio ff380000.gpio: probed /pinctrl/gpio@ff380000
[ 0.027119] rockchip-gpio ff530000.gpio: probed /pinctrl/gpio@ff530000
[ 0.027892] rockchip-gpio ff550000.gpio: probed /pinctrl/gpio@ff550000
[ 0.028564] rockchip-gpio ff560000.gpio: probed /pinctrl/gpio@ff560000
[ 0.028666] rockchip-pinctrl pinctrl: probed pinctrl
[ 0.038450] fiq_debugger fiq_debugger.0: IRQ uart_irq not found
[ 0.038476] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 0.038763] printk: console [ttyFIQ0] enabled
[ 0.038971] Registered fiq debugger ttyFIQ0
[ 0.041127] SCSI subsystem initialized
[ 0.041364] usbcore: registered new interface driver usbfs
[ 0.041414] usbcore: registered new interface driver hub
[ 0.041466] usbcore: registered new device driver usb
[ 0.041722] mc: Linux media interface: v0.10
[ 0.041769] videodev: Linux video capture interface: v2.00
[ 0.042965] Advanced Linux Sound Architecture Driver Initialized.
[ 0.043771] rockchip-cpuinfo cpuinfo: SoC : 11031000
[ 0.043796] rockchip-cpuinfo cpuinfo: Serial : 0f86aadc9e80be43
[ 0.044222] rockchip,rknpor-powergood ff000000.syscon:rknpor-powergood: probe success!
[ 0.045054] clocksource: Switched to clocksource arch_sys_counter
[ 0.051679] NET: Registered protocol family 2
[ 0.051924] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.052364] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.052394] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.052414] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.052430] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.052540] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.052564] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.052707] NET: Registered protocol family 1
[ 0.053354] RPC: Registered named UNIX socket transport module.
[ 0.053379] RPC: Registered udp transport module.
[ 0.053388] RPC: Registered tcp transport module.
[ 0.053394] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.054458] rockchip-thermal ff3c8000.tsadc: tsadc is probed successfully!
[ 0.055619] Initialise system trusted keyrings
[ 0.055897] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.059585] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.060455] NFS: Registering the id_resolver key type
[ 0.060630] Key type id_resolver registered
[ 0.060641] Key type id_legacy registered
[ 0.060687] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.061172] Key type asymmetric registered
[ 0.061194] Asymmetric key parser 'x509' registered
[ 0.061221] io scheduler mq-deadline registered
[ 0.061635] rockchip-usb2phy ff3e0000.usb2-phy: IRQ index 0 not found
[ 0.066560] dma-pl330 ff420000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.066590] dma-pl330 ff420000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[ 0.067457] rockchip-pvtm ff240000.pvtm: pvtm@0 probed
[ 0.067632] rockchip-pvtm ff390000.pvtm: pvtm@0 probed
[ 0.067930] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 0.068491] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.074213] random: crng init done
[ 0.083513] brd: module loaded
[ 0.089434] loop: module loaded
[ 0.091662] spi-nand spi2.0: Winbond SPI NAND was found.
[ 0.091690] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[ 0.095978] rk_gmac-dwmac ffa80000.ethernet: IRQ eth_lpi not found
[ 0.096172] rk_gmac-dwmac ffa80000.ethernet: PTP uses main clock
[ 0.096226] rk_gmac-dwmac ffa80000.ethernet: no regulator found
[ 0.096238] rk_gmac-dwmac ffa80000.ethernet: clock input or output? (input).
[ 0.096249] rk_gmac-dwmac ffa80000.ethernet: Can not read property: tx_delay.
[ 0.096258] rk_gmac-dwmac ffa80000.ethernet: set tx_delay to 0xffffffff
[ 0.096268] rk_gmac-dwmac ffa80000.ethernet: Can not read property: rx_delay.
[ 0.096276] rk_gmac-dwmac ffa80000.ethernet: set rx_delay to 0xffffffff
[ 0.096356] rk_gmac-dwmac ffa80000.ethernet: integrated PHY? (yes).
[ 0.096374] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_rx
[ 0.096386] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_tx
[ 0.096417] rk_gmac-dwmac ffa80000.ethernet: cannot get clock clk_mac_speed
[ 0.096427] rk_gmac-dwmac ffa80000.ethernet: clock input from PHY
[ 0.096681] rk_gmac-dwmac ffa80000.ethernet: init for RMII
[ 0.096924] rk_gmac-dwmac ffa80000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[ 0.096947] rk_gmac-dwmac ffa80000.ethernet: DWMAC4/5
[ 0.096961] rk_gmac-dwmac ffa80000.ethernet: DMA HW capability register supported
[ 0.096972] rk_gmac-dwmac ffa80000.ethernet: RX Checksum Offload Engine supported
[ 0.096980] rk_gmac-dwmac ffa80000.ethernet: TX Checksum insertion supported
[ 0.096987] rk_gmac-dwmac ffa80000.ethernet: Wake-Up On Lan supported
[ 0.096994] rk_gmac-dwmac ffa80000.ethernet: TSO supported
[ 0.097003] rk_gmac-dwmac ffa80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.097011] rk_gmac-dwmac ffa80000.ethernet: TSO feature enabled
[ 0.097023] rk_gmac-dwmac ffa80000.ethernet: Using 40 bits DMA width
[ 0.104687] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.105112] usbcore: registered new interface driver usb-storage
[ 0.105315] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
[ 0.105368] Mass Storage Function, version: 2009/09/11
[ 0.105382] LUN: removable file: (no medium)
[ 0.105412] no file given for LUN0
[ 0.105447] udc ffb00000.usb: failed to start g_mass_storage: -22
[ 0.106027] i2c /dev entries driver
[ 0.107592] i2c i2c-4: 1 i2c clients have been registered at 0x30
[ 0.107984] i2c i2c-4: 2 i2c clients have been registered at 0x30
[ 0.109013] usbcore: registered new interface driver uvcvideo
[ 0.109030] USB Video Class driver (1.1.1)
[ 0.109761] cpu cpu0: leakage=21
[ 0.110533] cpu cpu0: avs=0
[ 0.110701] cpu cpu0: opp calibration done
[ 0.110858] cpu cpu0: l=10000 h=2147483647 hyst=5000 l_limit=0 h_limit=0 h_table=0
[ 0.111337] Synopsys Designware Multimedia Card Interface Driver
[ 0.112213] dtbocfg: 0.1.0
[ 0.112268] dtbocfg: OK
[ 0.113759] dwmmc_rockchip ffaa0000.mmc: No normal pinctrl state
[ 0.113792] dwmmc_rockchip ffaa0000.mmc: No idle pinctrl state
[ 0.114022] dwmmc_rockchip ffaa0000.mmc: IDMAC supports 32-bit address mode.
[ 0.114071] dwmmc_rockchip ffaa0000.mmc: Using internal DMA controller.
[ 0.114088] dwmmc_rockchip ffaa0000.mmc: Version ID is 270a
[ 0.114136] dwmmc_rockchip ffaa0000.mmc: DW MMC controller at irq 50,32 bit host data width,256 deep fifo
[ 0.115924] rv1106-acodec ff480000.acodec: current soc_id: rv1103
[ 0.116032] rv1106-acodec ff480000.acodec: Use pa_ctl_gpio and pa_ctl_delay_ms: 0
[ 0.117834] NET: Registered protocol family 17
[ 0.117956] Key type dns_resolver registered
[ 0.119058] Loading compiled-in X.509 certificates
[ 0.135345] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.147023] input: adc-keys as /devices/platform/adc-keys/input/input0
[ 0.177727] mmc_host mmc1: Bus speed (slot 0) = 49500000Hz (slot req 50000000Hz, actual 49500000HZ div = 0)
[ 0.177885] mmc1: new high speed SDXC card at address 0001
[ 0.178840] mmcblk1: mmc1:0001 MCARD 117 GiB
[ 0.179905] mmcblk1: p1(env) p2(idblock) p3(uboot) p4(boot) p5(oem) p6(userdata) p7(rootfs)
[ 0.228309] ALSA device list:
[ 0.228344] #0: rv-acodec
[ 0.230423] List of all partitions:
[ 0.230465] 0100 4096 ram0
[ 0.230468] (driver?)
[ 0.230481] 0101 4096 ram1
[ 0.230484] (driver?)
[ 0.230497] 0102 4096 ram2
[ 0.230500] (driver?)
[ 0.230512] 0103 4096 ram3
[ 0.230514] (driver?)
[ 0.230526] 0104 4096 ram4
[ 0.230528] (driver?)
[ 0.230540] 0105 4096 ram5
[ 0.230543] (driver?)
[ 0.230555] 0106 4096 ram6
[ 0.230558] (driver?)
[ 0.230570] 0107 4096 ram7
[ 0.230572] (driver?)
[ 0.230584] 0108 4096 ram8
[ 0.230587] (driver?)
[ 0.230599] 0109 4096 ram9
[ 0.230602] (driver?)
[ 0.230613] 010a 4096 ram10
[ 0.230616] (driver?)
[ 0.230627] 010b 4096 ram11
[ 0.230630] (driver?)
[ 0.230642] 010c 4096 ram12
[ 0.230645] (driver?)
[ 0.230658] 010d 4096 ram13
[ 0.230660] (driver?)
[ 0.230672] 010e 4096 ram14
[ 0.230674] (driver?)
[ 0.230686] 010f 4096 ram15
[ 0.230689] (driver?)
[ 0.230706] 1f00 131072 mtdblock0
[ 0.230710] (driver?)
[ 0.230722] b300 122880000 mmcblk1
[ 0.230726] driver: mmcblk
[ 0.230740] b301 32 mmcblk1p1
[ 0.230743]
[ 0.230755] b302 512 mmcblk1p2
[ 0.230757]
[ 0.230771] b303 256 mmcblk1p3
[ 0.230773]
[ 0.230786] b304 32768 mmcblk1p4
[ 0.230789]
[ 0.230801] b305 524288 mmcblk1p5
[ 0.230803]
[ 0.230816] b306 262144 mmcblk1p6
[ 0.230818]
[ 0.230831] b307 6291456 mmcblk1p7
[ 0.230833]
[ 0.230843] No filesystem could mount root, tried:
[ 0.230846] ext4
[ 0.230851]
[ 0.230862] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,7)
[ 1.262377] CRU:
[ 1.264226] 00000000: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.272751] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.281277] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.289802] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.298327] 00000080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.306853] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.315377] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.323902] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.332427] 00000100: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.340953] 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.349478] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.358003] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.366528] 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.375053] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.383578] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.392103] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.400627] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.409153] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.417677] 00000240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.426203] 00000260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.434728] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.443253] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.451778] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.460303] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.468829] 00000300: 00006101 00000000 00000000 00000000 00000000 00000000 0040b71b 00000000
[ 1.477354] 00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.485878] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.494404] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.502928] 00000380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.511453] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.519979] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.528504] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.537029] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.545554] 00000420: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.554079] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.562605] 00000460: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.571130] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.579654] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.588180] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.596704] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.605229] 00000500: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.613754] 00000520: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.622279] 00000540: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.630804] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.639323] 00000580: 00000000 00000000
[ 1.643158] THERMAL REGS:
[ 1.645783] 00000000: 00000100 00000003 00000006 00000001 00000000 00000001 00000000 00000001
[ 1.654306] 00000020: 00000000 00000000 00000000 0000020f 00000000 00000000 00000000 00000000
[ 1.662829] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.671353] 00000060: 00000000 00000000 00000000 0000024c 00000000 00000000 00000000 00000000
[ 1.679872] 00000080: 00000000 00000000
[ 1.683728] cpu cpu0: cur_freq: 816000000 Hz, volt: 850000 uV
[ 1.689471] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,7) ]---