Tftp is the simplest network protocol used to download remote files. It is implemented by UDP. The tftp development environment for Embedded linux includes two aspects: one is tftp-server support for the linux server, and the other is tftp-client Support for the Embedded Target System. Because u-boot itself supports built-in tftp-client, you do not need to configure the Embedded Target System. The following describes the configuration of tftp-server on the linux server. 1. to install the tftp server, install xinetd, tftp, and tftp-server. 1) If you can access the Internet, use yum to install: sudo yum install xinet sudo yum install tftp-server 2) If you cannot access the Internet, you can directly install the provided rpm package: sudo rpm-ivh xinetd-2.3.14-18.fc9.i386.rpm sudo rpm-ivh tftp-0.48-3.fc9.i386.rpm sudo rpm-ivh tftp-server-0.48-3.fc9.i386.rpm 2. Configure tftp server modifications/etc/xinetd. d/tftp file, change disable = yes to disable = no. It mainly sets the root directory of the TFTP server and enables the service. The modified file is as follows: service tftp {socket_type = dgram protocol = udp wait = yes user = root server =/usr/sbin/in. tftpd server_args =-s/home/mike/tftpboot-c disable = no per_source = 11 cps = 100 2 flags = IPv4} description: modify the parameter server_args =-s <path>-c, where <path> can be changed to the root directory of your tftp-server. The parameter-s specifies the chroot, -c specifies that files can be created. 3. Start the tftp server and disable the Firewall/etc/init. d/iptables stop // disable the firewall sudo/sbin/service xinetd start or service xinetd restart/etc/init. d/xinetd start: start [OK]. 4. Check whether the tftp service has enabled netstat-a | grep tftp. The result is udp 0 0 *: tftp *: * indicates that the service is enabled, indicating that the tftp configuration is successful. 5. tftp copies a file to the directory of the tftp server, and then starts the tftp software on the host for a simple test. Tftp 192.168.1.2 tftp> get <download file> tftp> put <upload file> tftp> q 6. The usage of the tftp Command is as follows: tftp your-ip-address [access TFTP] connect: connect to remote tftp server mode: File Transfer mode put: Upload File get: Download file quit: Exit verbose: display detailed processing information tarce: Display package path status: display current status information binary: binary transmission mode ascii: ascii transmission mode rexmt: sets the packet transmission timeout: sets the Retransmission timeout. help: help information?: Help information 7. If the error "AVC Denial, click icon to view" is always displayed and the file cannot be transferred, modify/etc/sysconfig/selinux as follows, set SELINUX to disable and use the setenforce 0 command to bring the selinux configuration file into effect. 8. The command format of the tftp Command in Busybox is: tftp [option]... host [port] You must use these options to download or upload files. Chengdu Mingcheng technology. -G indicates the download file (get)-p indicates the Upload file (put)-l indicates the local file name (local file)-r indicates the remote host file name (remote file) for example, to download embedexpert from the remote host 192.168.1.2, enter the following command tftp-g-r embedexpert 192.168.1.2