linux ram启动
2011年10月19日 16:22 发布者:jqx55ah
VFS: Mounted root (cramfs filesystem) readonly on device 1:0Freeing 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,则就出现 最上面的打印信息
网友评论
jqx55ah 2011年10月20日
回复2楼caisenchuan:
感谢,就是这个原因。
回复2楼caisenchuan:
感谢,就是这个原因。

可以检查一下内核编译选项,上网找找吧,这篇可能有点帮助:http://fangjian0518.blog.163.com/blog/static/55919656201121725490/