Kernel panic - not syncing: Attempted to kill init!

来源:互联网 发布:recyclerview更新数据 编辑:程序博客网 时间:2024/06/04 19:27
这是因为在配置内核的时候没有配置EABI导致的,需要配置

Kernel Features  --->

[*] Use the ARM EABI to compile the kernel                   

[*]   Allow old ABI binaries to run with this kernel (EXPERIMENTA)


但是配置了这个之后可能会出现

cc1: error: invalid option `abi=aapcs-linux'

这是因为所用的交叉编译工具的版本不支持EABI导致的,使用arm-linux-gcc 4.4.3就行了。

我本来之前用的就是arm-linux-gcc 4.4.3但是在一直uboot1.1.6的时候出现了个什么EABI version 5 , target uboot EABI version 0的错误,

原因是uboot是不支持EABI的但是,我使用了支持EABI的编译器去编译,所以换成了arm-linux-gcc 3.2.4

0 0