发布网友 发布时间:2022-04-22 09:14
共1个回答
热心网友 时间:2023-10-18 17:25
1.安装NFS服务$sudo apt-get install nfs-kernel-server2.配置export$sudo vim /etc/exports然后加入 /home/craftor/nfs *(rw,sync,sub_tree_check,no_root_squash)$sudo exportfs -r3.重启服务$sudo /etc/init.d/nfs-kernel-server restart$sudo /etc/init.d/portmap restarts4.设置开发板启动参数set bootargs root=/dev/nfs rw nfsroot=172.19.24.67:/home/craftor/nfs ip=172.19.24.100:172.19.24.67:172.19.24.1:255.255.255.0:sep4020:eth0:off console=ttyS0,115200 mem=32mb这是主机Ubuntu安装NFS,然后开发板从NFS启动的配置过程,可以参考一下!