Kernel panic - not syncing: Attempted to kill init!

在解决前先查个小知识:
在make menuconfig之前先make mrproper
其作用:据说这个是清除原先此目录下残留的.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:
[] (dump_backtrace+0x0/0x114) from [] (dump_stack+0x18/0x1c)

r6:c3815cc0 r5:00000004 r4:c03fb404
[] (dump_stack+0x0/0x1c) from [] (panic+0x4c/0x120)
[] (panic+0x0/0x120) from [] (do_exit+0x70/0x5a8)
r3:c03e0aa0 r2:c381be38 r1:c381be38 r0:c037afe3
[] (do_exit+0x0/0x5a8) from [] (do_group_exit+0x90/0xc4)
[] (do_group_exit+0x0/0xc4) from [] (get_signal_to_deliver+0
x2f8/0x334)
r4:0830009f
[] (get_signal_to_deliver+0x0/0x334) from [] (do_signal+0x6c
/0x5ac)
[] (do_signal+0x0/0x5ac) from [] (do_notify_resume+0x1c/0x50
)
[] (do_notify_resume+0x0/0x50) from [] (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)

重新编译烧录即可

 

 

 



 

 

 


 


 

 

 

你可能感兴趣的:(linux内核的移植)