zlynick 发表于 2011-06-02 20:11

关于LINUX移植的问题

自己在PC104上用CF卡做了一个Linux的最小系统。具体是利用一个cpio压缩格式的initrd作为过渡,挂载实际的一个根文件系统,内核用的是Linux-2.6.25。现在遇到的问题是内核启动后,找不到initrd中的/init脚本。终端显示:
Failed to execute /init
Kernel panic-not cyncing:No init found.Try passing init=option to kernel
内核已经执行了init_post(),才会输出以上信息,但我的initrd中确实有/init脚本,怎么会找不到呢?
我google了没有找到合适的解决办法,怀疑是内核编译选项有问题,但不知道具体是哪?请大家帮帮忙看看。

cjaizss 发表于 2011-06-03 11:19

根文件系统没有挂载

towerlynn 发表于 2011-06-14 10:28

这个提示的 不同的错误 有很多我没用uboot移植linux 直接加载的 碰到这种错误 我关了一些 axd的 jlink 的一些选项 只留restart 并且配置内核的时候
Kernel Features--->
            [*] Use the ARM EABI to compile the kernel                  
            [*]   Allow old ABI binaries to run with this kernel (EXPERIMENTA) 选上
希望对你有帮助
页: [1]
查看完整版本: 关于LINUX移植的问题