9. U-Boot Porting

In Part I of this book, we discussed how to create applications directly on top of hardware—that is, bare metal applications. In Part II, we talk about a special bare metal application: U-Boot. In this chapter, we discuss porting U-Boot to the goldfish platform. Since QEMU includes a mini-bootloader, it can boot a Linux kernel directly. Consequently, no one has ported U-Boot to the goldfish platform. This workaround is not really a complete boot process, like the processes we would see in a real hardware environment.

In this chapter, we begin by building the U-Boot source code. We then discuss how to port U-Boot to the goldfish platform, working through this process step by step. By the end of this chapter, you should be able ...

Get Embedded Programming with Android: Bringing Up an Android System from Scratch 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.