Specifications

4.6. Configuration of a TFTP Server
The fastest way to use U-Boot to load a Linux kernel or an application image is file transfer over Ethernet. For
this purpose, U-Boot implements the TFTP protocol (see the tftpboot command in U-Boot).
To enable TFTP support on your host system you must make sure that the TFTP daemon program
/usr/sbin/in.tftpd is installed. On RedHat systems you can verify this by running:
$ rpm -q tftp-server
If necessary, install the TFTP daemon program from your distribution media.
Most Linux distributions disable the TFTP service by default. To enable it for example on RedHat systems,
edit the file /etc/xinetd.d/tftp and remove the line
disable = yes
or change it into a comment line by putting a hash character in front of it:
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless
# workstations, download configuration files to network-aware printers,
# and to start the installation process for some operating systems.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
# disable = yes
per_source = 11
cps = 100 2
}
Also, make sure that the /tftpboot directory exists and is world-readable (permissions at least "dr-xr-xr-x").
4.7. Configuration of a BOOTP / DHCP Server
BOOTP resp. DHCP can be used to automatically pass configuration information to the target. The only
thing the target must "know" about itself is its own Ethernet hardware (MAC) address. The following
command can be used to check if DHCP support is available on your host system:
$ rpm -q dhcp
If necessary, install the DHCP package from your distribution media.
Then you have to create the DHCP configuration file /etc/dhcpd.conf that matches your network setup. The
following example gives you an idea what to do:
subnet 192.168.0.0 netmask 255.255.0.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.0.0;
option domain-name "local.net";
4.6. Configuration of a TFTP Server 33