NFS & TFTP method


1. NFS mount

First, kernel needs to support NFS, enable the kernel's menuconfig following content:

CONFIG_NFS_FS
CONFIG_NFS_V2
CONFIG_NFS_V3

mount method:

2. tftp

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

2. uboot's tftp command

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