Chapter 15

U-boot boot loader and getting ready to ship

Abstract

This chapter introduces u-boot, a very popular open source boot loader for embedded Linux systems. As with the kernel and BusyBox, we look at the process of configuring and building u-boot. U-boot does not support the make xconfig paradigm, so configuration requires manually editing a header file. Techniques are presented for testing the new boot loader.

We also build a YAFFS file system image and load it into flash memory. We explore the notion of flash memory partitions in some detail and at the Flat Device Tree as a mechanism for communicating hardware information from the boot loader to the kernel.

Keywords

U-boot; Supervivi; JTAG; YAFFS; flash partitions; Flat Device Tree

The ...

Get Linux for Embedded and Real-time Applications, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.