First, kernel needs to support NFS, enable the kernel's menuconfig following content:
CONFIG_NFS_FS
CONFIG_NFS_V2
CONFIG_NFS_V3
mount method:
mount -o nolock [NFS server IP]:[PATH OF NFS] /mnt/nfs(mount point)In a small capacity storage system, we often cut off the NFS kernel support in order to save space. Under such circumstances, we can use tftp to transfer files. Build a good tftp environement on the Linux PC (host), and the environment(files) of development board can be obtained through the client program.
command:
tftp -g -r [IP] [tftp file path] (-l local path)
for example:
tftp -g -r 192.168.1.100 sample-Encoder-h264
uboot's tftp can download file to file system,it can be used for flashing or loading programs.
command:
tftp [addr] [tftp file path]
for example:
tftp 192.168.1.100 uImage