为了调试文件系统,准备采用NFS 根文件系统方式启动,使用了下面的参数:
 
setenv bootargs root=/dev/nfs console=ttyS0,115200 nfsroot=192.168.1.138:/home/chenxibing/lpc3250/ecm1352/rootfs  ip=192.168.1.136:192.168.1.1:192.168.1.1:255.255.255.0:zlg.z:eth0:off monitor=1

结果系统启动到打印内核解压后就停止了:

 

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

 

后来想起,在内核中没有指定系统内存大小,需要在启动参数中指定内存大小,加上mem=64M后,问题解决。

 

 

setenv bootargs root=/dev/nfs console=ttyS0,115200 mem=64M   nfsroot=192.168.1.138:/home/chenxibing/lpc3250/ecm1352/rootfs  ip=192.168.1.136:192.168.1.1:192.168.1.1:255.255.255.0:zlg.z:eth0:off monitor=1

 

有关NFS root可以参考:

http://www.faqs.org/docs/Linux-mini/NFS-Root.html

posted on 2012-04-28 16:07  风行雪舞  阅读(442)  评论(0编辑  收藏  举报
无觅相关文章插件,快速提升流量