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

相关文章:

  • 2021-10-15
  • 2021-11-07
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
  • 2021-10-17
  • 2021-07-11
猜你喜欢
  • 2022-02-10
  • 2021-09-05
  • 2022-12-23
  • 2021-08-27
  • 2021-05-31
相关资源
相似解决方案