nxp nfs 下载
环境配置:
一.linux 系统环境变量配置
①. 写入:/home/zengmin/linux/nfs *(rw,sync,no_root_squash)
② .重启nfs 服务器 sudo /etc/init.d/nfs-kernel-server restart
二.uboot 配置
①.命令配置uboot 网络环境
setenv ipaddr 192.168.0.222
setenv ethaddr 00:04:9f:04:d2:35
setenv gatewayip 192.168.0.1
setenv netmask 255.255.255.0
setenv serverip 192.168.0.104
saveenv
②.ping 192.168.0.104
只能在 uboot 中 ping 其他的机器,其他机器不能 ping uboot,因为 uboot 没有对 ping
命令做处理,如果用其他的机器 ping uboot 的话会失败!
三.nfs 更新内核
①.下载zimage 到内存
②.将zimage 写入emmc
重启 即可