3. Setting up a TFTP server

To transfer customized firmware to the target board in the boot loader (U-Boot), TFTP (Trivial File Transfer Protocol) is needed. Additionally, it is also possible to transfer files while running the Linux system on the target board via TFTP. For this purpose a corresponding TFTP server must be set up on the development system.

Use apt-get to install the required tftpd demon under Debian:

apt-get install tftpd

Usually tftpd is not started directly, but rather via the inetd Internet demon. An entry for TFTP must be added in the inetd configuration file after installation. Under Debian, the following line is automatically added to the configuration file /etc/inetd.conf during packet installation:

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot

As you can see, /tftpboot is the default directory for TFTP. If it does not exist you have to create. Follow the same steps as for the /develop creation.