在解决前先查个小知识:
在make menuconfig之前先make mrproper
其作用:据说这个是清除原先此目录下残留的.config和.o(object文件),这一步可是一定要的。
其作用:据说这个是清除原先此目录下残留的.config和.o(object文件),这一步可是一定要的。
VFS: Mounted root (yaffs filesystem) on device 31:3.
Freeing init memory: 144K
Kernel panic - not syncing: Attempted to kill init!
Backtrace:
[<c0030a74>] (dump_backtrace+0x0/0x114) from [<c02f68cc>] (dump_stack+0x18/0x1c)
r6:c3815cc0 r5:00000004 r4:c03fb404
[<c02f68b4>] (dump_stack+0x0/0x1c) from [<c02f691c>] (panic+0x4c/0x120)
[<c02f68d0>] (panic+0x0/0x120) from [<c0051b08>] (do_exit+0x70/0x5a8)
r3:c03e0aa0 r2:c381be38 r1:c381be38 r0:c037afe3
[<c0051a98>] (do_exit+0x0/0x5a8) from [<c00520d0>] (do_group_exit+0x90/0xc4)
[<c0052040>] (do_group_exit+0x0/0xc4) from [<c005bf4c>] (get_signal_to_deliver+0
x2f8/0x334)
r4:0830009f
[<c005bc54>] (get_signal_to_deliver+0x0/0x334) from [<c002f20c>] (do_signal+0x6c
/0x5ac)
[<c002f1a0>] (do_signal+0x0/0x5ac) from [<c002f768>] (do_notify_resume+0x1c/0x50
)
[<c002f74c>] (do_notify_resume+0x0/0x50) from [<c002cf08>] (work_pending+0x1c/0x
20)
解决方法如下:
在menuconfig中选中EABI选项:
Kernel Features --->
[*] Use the ARM EABI to compile the kernel
[*] Allow old ABI binaries to run with this kernel (EXPERIMENTA)
重新编译烧录即可