[转]Kernel panic - not syncing: Attempted to kill init!
用arm-linux-gcc 4.00以上的编译器做出都 文件系统老是报这个错 ,
而用rm-linux-gcc 3.xx 版本都都不会,看来一下内核的配置
原来问题在这里
Kernel Features --->
[*] Use the ARM EABI to compile the kernel
[*] Allow old ABI binaries to run with this kernel (EXPERIMENTA)
把这个选上就可以了
--------------------------------------------------------------------------------------
解决方法如下,具体是哪一种得试试才知道问题的所在:
方法1:
Kernel Features --->
[*] Use the ARM EABI to compile the kernel
[*] Allow old ABI binaries to run with this kernel (EXPERIMENTA)
方法2:
修改busybox的Makefile
修改
CC=$(CROSS_COPILE)gcc
为
CC=$(CROSS_COPILE)gcc -march=armv4t