- 论坛徽章:
- 0
|
本帖最后由 arm_zwinger 于 2012-06-06 09:56 编辑
回复 3# wenlan88
似乎ip=xxx那一段有问题。网关那个参数直接写nfs的ip好了。
以下是我的环境,你可以对比下:
目标板直连PC,然后pc上再装一个vmware (linux).
目标板IP: 10.56.32.111
PC IP: 10.56.32.12
vmware: bridge方式连接,IP: 10.56.32.123
param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=10.56.32.123:/usr/zwinger/project_src/root_qtopia ip=10.56.32.111:10.56.32.123:10.56.32.123:255.255.255.0:matrix4.arm9.net:eth0 ff"
另外,我搭建环境的时候也遇到了些问题,一步一步地解决,下面是我的一点笔记,应当很多地方都可找到类似的描述,你参考一下吧:
3. Uninstall the fireware, if it is installed on your PC network card.
4. Start the arm card through NFS
4.1 Disable firewall on the VM
4.2 Disable the seLinux on the VM, especially when we use Fedora 9.
modify the file /etc/selinux/config, by set the SELINUX="" to disabled, and then restart the Linux system.
4.3 Open ftp service on the VM, and upload the targeted file system package to the VM.
4.4 Share the directory which contain the file system used by arm card:
#gedit /etc/exports
And then add the following contents:
/opt/FriendlyARM/mini2440/root_qtopia *(rw,sync,no_root_squash)
4.5 Start NFS service.
#/etc/init.d/nfs start
#/etc/init.d/nfs stop
4.6 Check the NFS status by mount it to /mnt.
# mount -t nfs localhost: /usr/zwinger/root_qtopia /mnt/
#ls /mnt
#umount /mnt/
4.7 Set the command line on the arm card which indicate that we’ll use NFS,
“param set linux_cmd_line "console=ttySAC0 root=/dev/nfs nfsroot=10.56.32.123:/usr/zwinger/root_qtopia ip=10.56.32.111:10.56.32.123:10.56.32.123:255.255.255.0:matrix4.arm9.net:eth0 ff"”
|
|