Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1256135
  • 博文数量: 548
  • 博客积分: 7597
  • 博客等级: 少将
  • 技术积分: 4224
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-15 13:21
个人简介

嵌入式软件工程师&&太极拳

文章分类

全部博文(548)

文章存档

2014年(10)

2013年(76)

2012年(175)

2011年(287)

分类:

2011-11-27 16:12:03



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


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