解决uboot用NFS下载程序出现:Loading: *** ERROR: File lookup fail
解决uboot用NFS下载程序出现:Loading: *** ERROR: File lookup fail原因:ubuntu中的NFS版本高于uboot中的版本,需将ubuntu中的版本改为兼容与uboot中的版本(V2)解决办法:0、确保虚拟机ip与主机ip地址不一致,否则会出现下面情况可设置手动ip,且自定义特定虚拟网络1、重启虚拟机ip,然后ifconfig查看配置的ip是否为自己设置的s
·
解决uboot用NFS下载程序出现:Loading: *** ERROR: File lookup fail
原因:ubuntu中的NFS版本高于uboot中的版本,需将ubuntu中的版本改为兼容与uboot中的版本(V2)
解决办法:
0、确保虚拟机ip与主机ip地址不一致,否则会出现下面情况
可设置手动ip,且自定义特定虚拟网络
1、重启虚拟机ip,然后ifconfig
查看配置的ip是否为自己设置的
sudo ifconfig ens33 down
sudo ifconfig ens33 up
2、配置ubuntu中的NFS(非常重要
)
1)sudo vim /etc/default/nfs-kernel-server
进入文件,点击a进入插入模式
2)修改文件如下
# Number of servers to start up
# RPCNFSDCOUNT=8
RPCNFSDCOUNT="-V 2 8"
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/SecuringNFS
# To disable NFSv4 on the server, specify '--no-nfs-version 4' here
# RPCMOUNTDOPTS="--manage-gids"
RPCMOUNTDOPTS="-V 2 --manage-gids"
# Do you want to start the svcgssd daemon? It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=""
# Options for rpc.svcgssd.
# RPCSVCGSSDOPTS=""
RPCSVCGSSDOPTS="--nfs-version 2,3,4 --debug --syslog"
3)esc
退出,然后 :wq
退出,再在终端输入sudo service nfs-kernel-server restart
即可
3、最后在串口调试助手输入命令即可
NFS配置转载自:https://blog.csdn.net/polaris_zgx/article/details/103571725
更多推荐
所有评论(0)