Chinaunix首页 | 论坛 | 博客
  • 博客访问: 396497
  • 博文数量: 380
  • 博客积分: 75
  • 博客等级: 民兵
  • 技术积分: 1925
  • 用 户 组: 普通用户
  • 注册时间: 2011-09-05 15:35
文章分类

全部博文(380)

文章存档

2014年(1)

2013年(2)

2012年(19)

2011年(358)

我的朋友

分类:

2011-09-05 18:24:32



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


阅读(224) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~