Failed to execute /init. Attempting defaults...

Freeing init memory: 160K

Failed to execute /init.  Attempting defaults...

Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Backtrace:

[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)

 r7:00000000 r6:c0491fb0 r5:c0491740 r4:c04581a0

[] (dump_stack+0x0/0x1c) from [] (panic+0x4c/0x134)

[] (panic+0x0/0x134) from [] (init_post+0xec/0x178)

 r3:00000000 r2:c3951600 r1:c04c7000 r0:c03ea5ac

[] (init_post+0x0/0x178) from [] (kernel_init+0xf4/0x124)

 r5:c002034c r4:c002034c

[] (kernel_init+0x0/0x124) from [] (do_exit+0x0/0x62c)

 r7:00000000 r6:00000000 r5:00000000 r4:00000000

?

U-Boot 2012.04.01 (Mar 08 2017 - 17:09:12)

 

解决方法:

(1)/home/rootfs/init   模式为不可执行时  chomd a+x init

(2)当当/home/rootfs/init   模式为执行时   那就麻烦了,重新弄一个rootfs吧(我是这么做的,不知道有没有更好的方法)。

你可能感兴趣的:(linux)