电子工程网
标题:
linux ram启动
[打印本页]
作者:
jqx55ah
时间:
2011-10-19 16:22
标题:
linux ram启动
VFS: Mounted root (cramfs filesystem) readonly on device 1:0
Freeing init memory: 120K
Kernel panic - not syncing: Attempted to kill init!
------------------------------------------------------------------------------------
我现在在移植Linux内核。
下面是我移植过程中的步骤
tftpboot 0x21000000 uImage;nand erase 0x80000 0x200000;nand write 0x21000000 0x80000 0x200000
tftpboot 0x21000000 rootfs.cramfs
setenv bootargs mem=64m console=ttyS0,115200 initrd=0x21000000,0x00800000 root=/dev/ram rw
setenv bootcmd nand read 22000000 80000 180000\; bootm 22000000
setenv bootdelay 1
boot
如果我用一个移植好的Linux2.6.30进行上面的过程,则可以正常启动
但是我用我自己的做的linux2.6.38.7,则就出现
最上面
的打印信息
作者:
caisenchuan
时间:
2011-10-19 23:31
可以检查一下内核编译选项,上网找找吧,这篇可能有点帮助:
http://fangjian0518.blog.163.com/blog/static/55919656201121725490/
作者:
jqx55ah
时间:
2011-10-20 09:09
回复
2楼
caisenchuan
:
感谢,就是这个原因。
欢迎光临 电子工程网 (https://www.eechina.com/)
Powered by Discuz! X3.4