为了调试文件系统,准备采用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可以参考: