tina-d1-sdk从头编译D1s nezha 无法启动进入shell ,提示pseudo_init failed (error -2).
-
-
错误 -2 是未找到文件,你发完整日志贴上来看看。
-
遇到了相同的问题,是不是因为重新编译完kernel之后没有编译rootfs,导致pack的时候rootfs存在问题。
可以pack之前执行make命令,编译rootfs。
-
@steveliu 怎么处理的?我整个工程clean,重新编译还是一样的问题哇
[ 3.106684] Run /pseudo_init as init process [ 3.138822] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). [ 3.147709] CPU1: stopping [ 3.150729] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #188 [ 3.157546] Hardware name: Generic DT based system [ 3.162909] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14) [ 3.171551] [<c010a678>] (show_stack) from [<c0694810>] (dump_stack+0x88/0xa4) [ 3.179641] [<c0694810>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180) [ 3.187828] [<c010c2b4>] (handle_IPI) from [<c0341b18>] (gic_handle_irq+0x70/0x78) [ 3.196274] [<c0341b18>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 3.204648] Exception stack(0xc745df80 to 0xc745dfc8) [ 3.210283] df80: 00013a20 c7ac8374 00000000 c0114800 00000002 c745c000 c0a05224 c0a05260 [ 3.219404] dfa0: 4000406a 410fc075 00000000 00000000 00000000 c745dfd0 c0107fb0 c0107fa0 [ 3.228521] dfc0: 60000013 ffffffff [ 3.232414] [<c01021cc>] (__irq_svc) from [<c0107fa0>] (arch_cpu_idle+0x1c/0x38) [ 3.240667] [<c0107fa0>] (arch_cpu_idle) from [<c013d564>] (do_idle+0xd4/0x128) [ 3.248852] [<c013d564>] (do_idle) from [<c013d848>] (cpu_startup_entry+0x18/0x20) [ 3.257295] [<c013d848>] (cpu_startup_entry) from [<40102bac>] (0x40102bac) [ 3.265066] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). ]---
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号