Book Image

Embedded Linux Development Using Yocto Project - Third Edition

By : Otavio Salvador, Daiane Angolini
Book Image

Embedded Linux Development Using Yocto Project - Third Edition

By: Otavio Salvador, Daiane Angolini

Overview of this book

The Yocto Project is the industry standard for developing dependable embedded Linux projects. It stands out from other frameworks by offering time-efficient development with enhanced reliability and robustness. With Embedded Linux Development Using Yocto Project, you’ll acquire an understanding of Yocto Project tools, helping you perform different Linux-based tasks. You’ll gain a deep understanding of Poky and BitBake, explore practical use cases for building a Linux subsystem project, employ Yocto Project tools available for embedded Linux, and uncover the secrets of SDK, recipe tool, and others. This new edition is aligned with the latest long-term support release of the aforementioned technologies and introduces two new chapters, covering optimal emulation in QEMU for faster product development and best practices. By the end of this book, you’ll be well-equipped to generate and run an image for real hardware boards. You’ll gain hands-on experience in building efficient Linux systems using the Yocto Project.
Table of Contents (20 chapters)

What this book covers

Chapter 1, Meeting the Yocto Project, presents the first concepts and premises to introduce parts of the Yocto Project and its main tools.

Chapter 2, Baking Our Poky-Based System, introduces the environment needed for the first build.

Chapter 3, Using Toaster to Bake an Image, shows the user-friendly web interface that can be used as a configuration wrapper and build tool.

Chapter 4, Meeting the BitBake Tool, presents the BitBake metadata concepts.

Chapter 5, Grasping the BitBake Tool, shows how it manages the tasks and their dependencies.

Chapter 6, Detailing the Temporary Build Directory, details the temporary output folder of a build.

Chapter 7, Assimilating Packaging Support, explains the packaging mechanism used as a base to create and manage all the binary packages.

Chapter 8, Diving into BitBake Metadata, details the BitBake metadata language, which will be used for all the other chapters.

Chapter 9, Developing with the Yocto Project, demonstrates the workflow needed to obtain a development environment.

Chapter 10, Debugging with the Yocto Project, shows how to use Poky to generate a debug environment and how to use it.

Chapter 11, Exploring External Layers, explores one of the most important concepts of the Yocto Project—the flexibility of using external layers.

Chapter 12, Creating Custom Layers, practices the steps for layer creation.

Chapter 13, Customizing Existing Recipes, presents examples of how to customize existing recipes.

Chapter 14, Achieving GPL Compliance, summarizes the tasks and concepts involved for a copyleft compliance product.

Chapter 15, Booting Our Custom Embedded Linux, uses real hardware machines and the Yocto Project’s tools.

Chapter 16, Speeding Up Product Development Through Emulation – QEMU, illustrates how QEMU can accelerate product development.

Chapter 17, Best Practices, discusses some Yocto Project and general project-related guidelines based on the author’s experience.