-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Embedded Linux Development
By :

Now that we know how to mount the root filesystem over a network using NFS, you may be wondering if there is a way to load the kernel, device tree, and initramfs
over the network as well. If we can do this, then the only component that needs to be written to storage on the target is the bootloader. Everything else could be loaded from the host machine. This would save time, since you would not need to keep reflashing the target. You could even get work done while the flash storage drivers are still being developed (it happens).
The Trivial File Transfer Protocol (TFTP) is the answer. TFTP is a very simple file transfer protocol that is designed for easy implementation with bootloaders such as U-Boot.
To start, you need to install a TFTP daemon on your host machine. The package to install on Ubuntu is named tftpd-hpa
:
$ sudo apt install tftpd-hpa
Modify the contents of /etc/default/tftpd-hpa
as shown:
TFTP_USERNAME="tftp"...