-
Book Overview & Buying
-
Table Of Contents
Embedded Linux Essentials Handbook
By :
As we learned in the previous chapter, the bootloader is one of the first pieces of software to be executed when an embedded Linux system is powered. We also discovered that U-Boot is one of the most popular bootloaders used in embedded Linux systems. In this chapter, we are going to learn about U-Boot in detail. First, we will review U-Boot’s source code to understand its flow on a Raspberry Pi 5. Then, we will learn about other interesting directories in the source code and their purpose. For example, we will discover how U-Boot interacts with different hardware peripherals via device drivers.
Additionally, we will explore how U-Boot allows a user to set and save relevant information in persistent storage. Afterward, we will build U-Boot and run it on a Raspberry Pi 5 inside QEMU. However, before that, we will take a slight detour and build on our understanding of the cross-compilation process. Specifically, we will learn how to retrieve an appropriate...