本文共 1888 字,大约阅读时间需要 6 分钟。
准备:首先在你的linux上确定nfs挂载没问题,然后设置好你要挂载nfs的目录,我的设置如下:
/opt/EmbedSky/root_nfs *(rw,sync,no_root_squash)
其次,你要把TQ2440制作的根文件系统root_qtopia_2.2.0_2.6.30.4_20100601.tar.bz2解压到root_nfs目录下(如果高手的话,自己制作根目录也行)。
TQ2440制作的根文件系统要修改一个地方,
修改文件系统/etc/init.d/rcS
#net_set &1.OK,接下来要弄开发板了,首先连接好开发板,接上电源,然后把开发板拨到nfs启动。通过超级终端可以看到下面内容:
##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode ! #####2.接着我们选择0,设置启动参数。按0选项后,进入如下:
##### Parameter Menu ##### [1] Set NFS boot parameter [2] Set Yaffs boot parameter [3] Set parameter [4] View the parameters [d] Delete parameter [s] Save the parameters to Nand Flash [q] Return main Menu Enter your selection:我们选1,进入NFS参数设置。
设置内容如下:
Enter your selection: 1
Enter the PC IP address:(xxx.xxx.xxx.xxx) 192.168.1.133然手确定,选s保存,然后再选q退出。接着按8启动系统。呵呵,接着你就可以看到系统进入一个你熟悉的界面了。
-------------------------
注意问题:1.首先要确定能ping的通;2.确定nfs有启动;3.确定nfs挂载的目录没写错。
转载地址:http://hdpci.baihongyu.com/