问题概述
按独立分区镜像方式烧录RK3568镜像后系统能正常运行,如下图所示
通过RK官方工具打包成update.img,如下图,烧录后系统卡住进不了命令行终端和出现Kernel panic问题。
[ 6.144259] Warning: unable to open an initial console.
[ 6.144416] dwc3 fd000000.dwc3: Failed to get clk 'ref': -2
[ 6.147236] phy phy-fe8a0000.usb2-phy.8: Linked as a consumer to regulator.5
[ 6.147614] phy phy-fe8a0000.usb2-phy.8: Dropping the link to regulator.5
[ 6.148942] VFS: Cannot open root device "PARTUUID=614e0000-0000" or unknown-block(179,6): error -2
[ 6.148953] Please append a correct "root=" boot option; here are the available partitions:
[ 6.148969] 0100 4096 ram0
[ 6.148971] (driver?)
[ 6.148995] b300 7634944 mmcblk0
[ 6.148998] driver: mmcblk
[ 6.149012] b301 4096 mmcblk0p1 ee430000-0000-4751-8000-5831000012be
[ 6.149014]
[ 6.149025] b302 4096 mmcblk0p2 e01b0000-0000-4d17-8000-54ef0000280a
[ 6.149026]
[ 6.149038] b303 32768 mmcblk0p3 8b320000-0000-425e-8000-6da00000623e
[ 6.149039]
[ 6.149050] b304 32768 mmcblk0p4 57020000-0000-4c4a-8000-38ad00000e42
[ 6.149051]
[ 6.149063] b305 32768 mmcblk0p5 ac360000-0000-4571-8000-7f7c000072fe
[ 6.149064]
[ 6.149075] b306 6291456 mmcblk0p6 614e0000-0000-4b53-8000-1d28000054a9
[ 6.149076]
[ 6.149087] b307 131072 mmcblk0p7 91020000-0000-4010-8000-2a050000323f
[ 6.149088]
[ 6.149099] b308 1097696 mmcblk0p8 f1760000-0000-427b-8000-268d00005c93
[ 6.149100]
[ 6.149124] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6)
[ 6.909939] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.232 #7
[ 6.916021] Hardware name: Vanxoak RK3568 IOT DDR4 Board (DT)
[ 6.921769] Call trace:
[ 6.924238] dump_backtrace+0x0/0x188
[ 6.927906] show_stack+0x24/0x30
[ 6.931227] dump_stack+0x8c/0xb4
[ 6.934543] panic+0x138/0x2b8
[ 6.937597] mount_block_root+0x23c/0x2c4
[ 6.941607] mount_root+0x88/0x98
[ 6.944921] prepare_namespace+0x1ac/0x1bc
[ 6.949017] kernel_init_freeable+0x2ac/0x334
[ 6.953367] kernel_init+0x18/0x108
[ 6.956851] ret_from_fork+0x10/0x18
[ 6.960436] SMP: stopping secondary CPUs
[ 6.964393] CPU0: stopping
[ 6.964395] CPU3: stopping
[ 6.964399] CPU2: stopping
[ 6.964403] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.19.232 #7
[ 6.964404] Hardware name: Vanxoak RK3568 IOT DDR4 Board (DT)
[ 6.964407] Call trace:
[ 6.964412] dump_backtrace+0x0/0x188
[ 6.964415] show_stack+0x24/0x30
[ 6.964418] dump_stack+0x8c/0xb4
[ 6.964422] handle_IPI+0x23c/0x2c4
[ 6.964425] gic_handle_irq+0x1b0/0x1b4
[ 6.964428] el1_irq+0xb0/0x140
[ 6.964438] cpuidle_enter_state+0x220/0x2b0
[ 6.964440] cpuidle_enter+0x34/0x44
[ 6.964446] call_cpuidle+0x5c/0x60
[ 6.964449] do_idle+0x19c/0x224
[ 6.964452] cpu_startup_entry+0x28/0x2c
[ 6.964454] secondary_start_kernel+0x19c/0x1b8
[ 6.967112] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.19.232 #7
[ 7.036582] Hardware name: Vanxoak RK3568 IOT DDR4 Board (DT)
[ 7.042324] Call trace:
[ 7.044772] dump_backtrace+0x0/0x188
[ 7.048437] show_stack+0x24/0x30
[ 7.051750] dump_stack+0x8c/0xb4
[ 7.055064] handle_IPI+0x23c/0x2c4
[ 7.058545] gic_handle_irq+0x1b0/0x1b4
[ 7.062376] el1_irq+0xb0/0x140
[ 7.065521] cpuidle_enter_state+0x220/0x2b0
[ 7.069785] cpuidle_enter+0x34/0x44
[ 7.073362] call_cpuidle+0x5c/0x60
[ 7.076844] do_idle+0x19c/0x224
[ 7.080072] cpu_startup_entry+0x28/0x2c
[ 7.083988] rest_init+0xb4/0xc0
[ 7.087217] start_kernel+0x4dc/0x510
[ 7.090882] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.19.232 #7
[ 7.096963] Hardware name: Vanxoak RK3568 IOT DDR4 Board (DT)
[ 7.102706] Call trace:
[ 7.105154] dump_backtrace+0x0/0x188
[ 7.108816] show_stack+0x24/0x30
[ 7.112130] dump_stack+0x8c/0xb4
[ 7.115443] handle_IPI+0x23c/0x2c4
[ 7.118926] gic_handle_irq+0x1b0/0x1b4
[ 7.122756] el1_irq+0xb0/0x140
[ 7.125900] cpuidle_enter_state+0x220/0x2b0
[ 7.130164] cpuidle_enter+0x34/0x44
[ 7.133741] call_cpuidle+0x5c/0x60
[ 7.137224] do_idle+0x19c/0x224
[ 7.140452] cpu_startup_entry+0x28/0x2c
[ 7.144367] secondary_start_kernel+0x19c/0x1b8
[ 7.148900] PMU CRU:
[ 7.151092] 00000000: 00006064 00001481 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.159609] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.168127] 00000040: 00004063 00001502 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.176644] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.185162] 00000080: 00000005 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.193679] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.202197] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.210714] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.219232] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00000000 00000001 00000009
[ 7.227753] 00000120: 0000050f 00008888 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.236270] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.244788] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.253306] 00000180: 00000000 00003dff 0000f7fb 00000000 00000000 00000000 00000000 00000000
[ 7.261824] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.270341] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.278858] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.287376] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.295893] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.304407] 00000240: 00040020 00000000
[ 7.308237] CRU:
[ 7.310086] 00000000: 00001053 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.318603] 00000020: 0000406c 00001501 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.327120] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.335637] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000
[ 7.344155] 00000080: 00002064 00001441 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.352672] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.361190] 000000c0: 00000455 00000000 00000000 00000000 00640064 00000000 00000000 00000103
[ 7.369708] 000000e0: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.378226] 00000100: 000080c0 00000000 00008100 00000606 00000606 00000111 00004155 000080e5
[ 7.386743] 00000120: 00000053 00000100 00000000 00008000 00040004 00008000 00040004 00000401
[ 7.395262] 00000140: 01003057 00008000 00040004 00008000 00040004 00008000 00040004 00004000
[ 7.403779] 00000160: 00040004 0000000b 00000000 00000010 00001031 00001c30 00000520 00000000
[ 7.412296] 00000180: 00000520 00000000 00000310 0000c001 0000c0c0 00003100 00000001 00000000
[ 7.420813] 000001a0: 00000401 00000803 00000103 00002100 00000203 00000003 00000000 00000103
[ 7.429330] 000001c0: 00000003 00000303 00000001 00001725 0000200b 00000000 0000200b 00000000
[ 7.437847] 000001e0: 0000200b 00000000 0000200b 00000000 0000200b 00000000 0000200b 00000000
[ 7.446364] 00000200: 0000200b 00000000 0000200b 00000000 0000200b 00000000 00000703 00000207
[ 7.454881] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303
[ 7.463398] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302
[ 7.471915] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000
[ 7.480433] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.488952] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.497468] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.505985] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.514502] 00000300: 00000000 00000e00 000001c9 00000f9f 00000000 0000f300 0000ffff 0000ffff
[ 7.523019] 00000320: 0000f87f 00000c0b 00000010 00000077 00001f1f 0000005f 00000000 0000111c
[ 7.531536] 00000340: 00000000 00000447 00002e07 00000717 00003800 000003c7 0000d033 0000fff3
[ 7.540053] 00000360: 000001c3 000001f3 00000e00 0000f060 0000fff6 0000ffff 0000ffff 0000f28b
[ 7.548570] 00000380: 000087e7 0000e000 00007830 00000000 00000000 00000000 00000000 00000000
[ 7.557086] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.565603] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.574121] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.582640] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.591156] 00000420: 00000000 00000030 00000002 00000002 00000002 00000000 00000000 00000000
[ 7.599673] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.608190] 00000460: 00000000 00000000 00000400 00000000 000000a0 00000000 00000000 00000000
[ 7.616708] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.625225] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.633741] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.642258] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.650775] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[ 7.659292] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[ 7.667809] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000
[ 7.676326] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 7.684839] 00000580: 00000002 00000000
[ 7.688672] CPU0 online:0
[ 7.691293] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.697642] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.703990] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.710338] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.716687] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.723035] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.729384] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.735734] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.742083] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.748432] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.754784] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.761131] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.767479] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.773826] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.780174] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.786523] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.792871] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.799218] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.805566] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.811914] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.818263] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.824611] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.830961] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.837309] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.843657] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.850004] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.856352] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.862700] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.869049] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.875397] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.881746] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 7.888094] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 7.894440]
[ 7.895935] CPU1 online:1
[ 7.898560] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.905862] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.913162] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.920463] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.927762] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.935063] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.942363] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.949663] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.956962] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.964263] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.971563] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.978863] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 7.986163] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 7.993463] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.000762] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.008063] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.015362] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.022662] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.029962] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.037263] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.044562] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.051862] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.059162] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.066462] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.073762] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.081062] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.088362] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.095663] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.102962] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.110262] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.117562] EL2(NS) PC: <0xffffff80085abba8> rockchip_panic_notify+0x2d8/0x334
[ 8.124862] EL2(NS) PC: <0xffffff80085abbac> rockchip_panic_notify+0x2dc/0x334
[ 8.132158]
[ 8.133653] CPU2 online:0
[ 8.136271] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.142621] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.148970] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.155318] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.161667] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.168016] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.174364] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.180713] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.187061] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.193411] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.199760] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.206107] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.212455] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.218804] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.225153] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.231502] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.237852] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.244199] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.250550] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.256898] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.263245] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.269595] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.275945] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.282293] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.288642] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.294991] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.301338] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.307686] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.314034] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.320382] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.326730] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.333079] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.339424]
[ 8.340918] CPU3 online:0
[ 8.343537] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.349885] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.356233] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.362581] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.368930] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.375277] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.381625] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.387974] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.394322] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.400671] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.407019] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.413367] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.419717] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.426066] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.432416] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.438763] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.445111] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.451461] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.457809] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.464157] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.470506] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.476854] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.483204] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.489553] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.495901] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.502250] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.508598] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.514947] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.521296] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.527646] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.533994] EL2(NS) PC: <0xffffff80080952bc> handle_IPI+0x25c/0x2c4
[ 8.540343] EL2(NS) PC: <0xffffff80080952c0> handle_IPI+0x260/0x2c4
[ 8.546687]
[ 8.548187] CPU0 CPU1 CPU2 CPU3
[ 8.554462] 5: 288 226 228 397 GICv3 26 Level arch_timer
[ 8.563148] 6: 176 257 284 33 GICv3 141 Level rk_timer
[ 8.571667] 7: 0 0 0 0 GICv3 260 Level arm-pmu
[ 8.580100] 8: 0 0 0 0 GICv3 261 Level arm-pmu
[ 8.588532] 9: 0 0 0 0 GICv3 262 Level arm-pmu
[ 8.596967] 10: 0 0 0 0 GICv3 263 Level arm-pmu
[ 8.605399] 11: 0 0 0 0 GICv3 128 Level ahci[fc800000.sata]
[ 8.614868] 12: 0 0 0 0 GICv3 162 Level ehci_hcd:usb1
[ 8.623819] 13: 0 0 0 0 GICv3 163 Level ohci_hcd:usb3
[ 8.632769] 14: 2 0 0 0 GICv3 165 Level ehci_hcd:usb2
[ 8.641719] 15: 35 0 0 0 GICv3 166 Level ohci_hcd:usb4
[ 8.650668] 16: 147 0 0 0 GICv3 78 Level fdd40000.i2c
[ 8.659535] 18: 0 0 0 0 GICv3 183 Level fde4b000.iommu, fde40000.npu
[ 8.669788] 19: 1 0 0 0 GICv3 71 Level fde60000.gpu
[ 8.678653] 20: 0 0 0 0 GICv3 73 Level fde60000.gpu
[ 8.687518] 21: 0 0 0 0 GICv3 72 Level fde60000.gpu
[ 8.696384] 22: 0 0 0 0 GICv3 171 Level fdea0400.vdpu
[ 8.705333] 23: 0 0 0 0 GICv3 170 Level fdea0800.iommu
[ 8.714370] 24: 0 0 0 0 GICv3 122 Level rga2
[ 8.722538] 25: 0 0 0 0 GICv3 94 Level fded0000.jpegd
[ 8.731575] 26: 0 0 0 0 GICv3 93 Level fded0480.iommu
[ 8.740610] 27: 0 0 0 0 GICv3 96 Level fdee0000.vepu
[ 8.749561] 28: 0 0 0 0 GICv3 95 Level fdee0800.iommu
[ 8.758597] 29: 0 0 0 0 GICv3 88 Level fdef0800.iommu, fdef0000.iep
[ 8.768847] 30: 0 0 0 0 GICv3 172 Level fdf40000.rkvenc
[ 8.777969] 31: 0 0 0 0 GICv3 173 Level fdf40f00.iommu
[ 8.787004] 32: 0 0 0 0 GICv3 174 Level fdf40f00.iommu
[ 8.796041] 33: 0 0 0 0 GICv3 123 Level fdf80200.rkvdec
[ 8.805161] 34: 0 0 0 0 GICv3 124 Level fdf80800.iommu
[ 8.814198] 35: 0 0 0 0 GICv3 89 Level rkisp_hw
[ 8.822714] 36: 0 0 0 0 GICv3 90 Level rkisp_hw
[ 8.831230] 37: 0 0 0 0 GICv3 92 Level rkisp_hw
[ 8.839748] 38: 0 0 0 0 GICv3 91 Level fdff1a00.iommu
[ 8.848786] 43: 302 0 0 0 GICv3 180 Level fe043e00.iommu, fe040000.vop
[ 8.859039] 44: 0 0 0 0 GICv3 77 Level fe0a0000.hdmi, dw-hdmi-cec
[ 8.869121] 45: 0 0 0 0 GICv3 76 Level cec-wakeup
[ 8.877807] 46: 37 0 0 0 GICv3 132 Level dw-mci
[ 8.886154] 47: 1 0 0 0 GICv3 42 Level dmc
[ 8.894243] 53: 0 0 0 0 GICv3 130 Level dw-mci
[ 8.902592] 54: 0 0 0 0 GICv3 133 Level rksfc
[ 8.910844] 55: 488 0 0 0 GICv3 51 Level mmc0
[ 8.919013] 57: 0 0 0 0 GICv3 84 Level i2s
[ 8.927097] 58: 0 0 0 0 GICv3 85 Level i2s
[ 8.935180] 60: 0 0 0 0 GICv3 46 Level fe530000.dmac
[ 8.944130] 61: 0 0 0 0 GICv3 45 Level fe530000.dmac
[ 8.953081] 62: 0 0 0 0 GICv3 48 Level fe550000.dmac
[ 8.962031] 63: 0 0 0 0 GICv3 47 Level fe550000.dmac
[ 8.970981] 64: 0 0 0 0 GICv3 34 Level can0
[ 8.979150] 65: 0 0 0 0 GICv3 35 Level can1
[ 8.987318] 66: 0 0 0 0 GICv3 79 Level fe5a0000.i2c
[ 8.996184] 67: 0 0 0 0 GICv3 81 Level fe5c0000.i2c
[ 9.005049] 68: 0 0 0 0 GICv3 82 Level fe5d0000.i2c
[ 9.013914] 69: 16 0 0 0 GICv3 83 Level fe5e0000.i2c
[ 9.022782] 77: 0 2 0 0 GICv3 115 Level rk_pwm_irq
[ 9.031469] 78: 0 0 0 0 GICv3 119 Level rk_pwm_pwr_irq
[ 9.040504] 79: 0 0 0 0 GICv3 147 Level rockchip_thermal
[ 9.049718] 80: 9 0 0 0 GICv3 125 Level fe720000.saradc
[ 9.058838] 82: 1 0 0 0 GICv3 168 Level rockchip_usb2phy
[ 9.068059] 89: 0 0 0 0 GICv3 150 Level debug
[ 9.076320] 92: 0 0 0 0 gpio0 3 Level rk817
[ 9.084575] 93: 0 0 0 0 rk817 0 Edge rk805_pwrkey_fall
[ 9.093874] 94: 0 0 0 0 rk817 1 Edge rk805_pwrkey_rise
[ 9.103196] 117: 0 0 0 0 gpio2 28 Edge Help_Key_Up
[ 9.111979] 118: 0 0 0 0 gpio2 29 Edge Help_Key_Down
[ 10.121053] CPU0 CPU1 CPU2 CPU3
[ 10.127319] 5: 288 226 228 397 GICv3 26 Level arch_timer
[ 10.136004] 6: 176 257 284 33 GICv3 141 Level rk_timer
[ 10.144519] 7: 0 0 0 0 GICv3 260 Level arm-pmu
[ 10.152950] 8: 0 0 0 0 GICv3 261 Level arm-pmu
[ 10.161381] 9: 0 0 0 0 GICv3 262 Level arm-pmu
[ 10.169814] 10: 0 0 0 0 GICv3 263 Level arm-pmu
[ 10.178245] 11: 0 0 0 0 GICv3 128 Level ahci[fc800000.sata]
[ 10.187712] 12: 0 0 0 0 GICv3 162 Level ehci_hcd:usb1
[ 10.196662] 13: 0 0 0 0 GICv3 163 Level ohci_hcd:usb3
[ 10.205613] 14: 2 0 0 0 GICv3 165 Level ehci_hcd:usb2
[ 10.214562] 15: 35 0 0 0 GICv3 166 Level ohci_hcd:usb4
[ 10.223510] 16: 147 0 0 0 GICv3 78 Level fdd40000.i2c
[ 10.232375] 18: 0 0 0 0 GICv3 183 Level fde4b000.iommu, fde40000.npu
[ 10.242623] 19: 1 0 0 0 GICv3 71 Level fde60000.gpu
[ 10.251487] 20: 0 0 0 0 GICv3 73 Level fde60000.gpu
[ 10.260351] 21: 0 0 0 0 GICv3 72 Level fde60000.gpu
[ 10.269217] 22: 0 0 0 0 GICv3 171 Level fdea0400.vdpu
[ 10.278168] 23: 0 0 0 0 GICv3 170 Level fdea0800.iommu
[ 10.287203] 24: 0 0 0 0 GICv3 122 Level rga2
[ 10.295369] 25: 0 0 0 0 GICv3 94 Level fded0000.jpegd
[ 10.304403] 26: 0 0 0 0 GICv3 93 Level fded0480.iommu
[ 10.313436] 27: 0 0 0 0 GICv3 96 Level fdee0000.vepu
[ 10.322384] 28: 0 0 0 0 GICv3 95 Level fdee0800.iommu
[ 10.331418] 29: 0 0 0 0 GICv3 88 Level fdef0800.iommu, fdef0000.iep
[ 10.341667] 30: 0 0 0 0 GICv3 172 Level fdf40000.rkvenc
[ 10.350785] 31: 0 0 0 0 GICv3 173 Level fdf40f00.iommu
[ 10.359818] 32: 0 0 0 0 GICv3 174 Level fdf40f00.iommu
[ 10.368852] 33: 0 0 0 0 GICv3 123 Level fdf80200.rkvdec
[ 10.377972] 34: 0 0 0 0 GICv3 124 Level fdf80800.iommu
[ 10.387005] 35: 0 0 0 0 GICv3 89 Level rkisp_hw
[ 10.395522] 36: 0 0 0 0 GICv3 90 Level rkisp_hw
[ 10.404039] 37: 0 0 0 0 GICv3 92 Level rkisp_hw
[ 10.412555] 38: 0 0 0 0 GICv3 91 Level fdff1a00.iommu
[ 10.421592] 43: 302 0 0 0 GICv3 180 Level fe043e00.iommu, fe040000.vop
[ 10.431842] 44: 0 0 0 0 GICv3 77 Level fe0a0000.hdmi, dw-hdmi-cec
[ 10.441922] 45: 0 0 0 0 GICv3 76 Level cec-wakeup
[ 10.450607] 46: 37 0 0 0 GICv3 132 Level dw-mci
[ 10.458955] 47: 1 0 0 0 GICv3 42 Level dmc
[ 10.467040] 53: 0 0 0 0 GICv3 130 Level dw-mci
[ 10.475387] 54: 0 0 0 0 GICv3 133 Level rksfc
[ 10.483639] 55: 488 0 0 0 GICv3 51 Level mmc0
[ 10.491807] 57: 0 0 0 0 GICv3 84 Level i2s
[ 10.499890] 58: 0 0 0 0 GICv3 85 Level i2s
[ 10.507972] 60: 0 0 0 0 GICv3 46 Level fe530000.dmac
[ 10.516921] 61: 0 0 0 0 GICv3 45 Level fe530000.dmac
[ 10.525870] 62: 0 0 0 0 GICv3 48 Level fe550000.dmac
[ 10.534819] 63: 0 0 0 0 GICv3 47 Level fe550000.dmac
[ 10.543768] 64: 0 0 0 0 GICv3 34 Level can0
[ 10.551935] 65: 0 0 0 0 GICv3 35 Level can1
[ 10.560102] 66: 0 0 0 0 GICv3 79 Level fe5a0000.i2c
[ 10.568966] 67: 0 0 0 0 GICv3 81 Level fe5c0000.i2c
[ 10.577830] 68: 0 0 0 0 GICv3 82 Level fe5d0000.i2c
[ 10.586694] 69: 16 0 0 0 GICv3 83 Level fe5e0000.i2c
[ 10.595560] 77: 0 2 0 0 GICv3 115 Level rk_pwm_irq
[ 10.604245] 78: 0 0 0 0 GICv3 119 Level rk_pwm_pwr_irq
[ 10.613280] 79: 0 0 0 0 GICv3 147 Level rockchip_thermal
[ 10.622493] 80: 9 0 0 0 GICv3 125 Level fe720000.saradc
[ 10.631613] 82: 1 0 0 0 GICv3 168 Level rockchip_usb2phy
[ 10.640830] 89: 0 0 0 0 GICv3 150 Level debug
[ 10.649084] 92: 0 0 0 0 gpio0 3 Level rk817
[ 10.657335] 93: 0 0 0 0 rk817 0 Edge rk805_pwrkey_fall
[ 10.666632] 94: 0 0 0 0 rk817 1 Edge rk805_pwrkey_rise
[ 10.675940] 117: 0 0 0 0 gpio2 28 Edge Help_Key_Up
[ 10.684719] 118: 0 0 0 0 gpio2 29 Edge Help_Key_Down
[ 10.693666] PMU:
[ 10.695516] 00000000: 03003566 00000e0c 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.704034] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.712553] 00000040: 00000000 00000000 00000000 00000000 0000016e 00000000 00000000 00000000
[ 10.721071] 00000060: 0000016e 00000000 0000016e 00000000 0000ffff 0000000f 00000000 00000000
[ 10.729589] 00000080: 00000000 00000000 00000000 00000002 00000000 00000000 00000077 00000000
[ 10.738108] 000000a0: 00000077 00000000 00000003 00000000 00000000 00000000 00000000 00000000
[ 10.746626] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.755143] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.763658] Kernel Offset: disabled
[ 10.767142] CPU features: 0x00000004,22002a38
[ 10.771490] Memory Limit: none
[ 10.774572] rockchip-thermal fe710000.tsadc: channal 0: temperature(40 C)
[ 10.781351] THERMAL REGS:
[ 10.783971] 00000000: 00000fc0 00030033 00000301 00000002 00000000 00000000 00000000 00000000
[ 10.792489] 00000020: 00000884 00000854 00000000 00000000 00000940 00000000 00000000 00000000
[ 10.801006] 00000040: 00000a70 00000a70 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.809523] 00000060: 00000004 00000004 00000656 00000656 00000000 00000000 00000000 00000000
[ 10.818038] 00000080: 00000000 00000000
[ 10.834720] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,6) ]---
问题解决
1、内核启用了initramfs,CONFIG_INITRAMFS_SOURCE=“…/rootfs_min”,修改内核配置不启用initramfs
2、修改bootargs参数,将root=PARTUUID=614e0000-0000改为root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9
chosen: chosen {
bootargs = "earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTUUID=614e0000-0000-4b53-8000-1d28000054a9 rw rootwait";
};
一开始出现kernel panic问题时修改了bootargs 中的root参数还是一样问题,直到修改了bootargs 和去掉了initramfs后才正常。