Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By : Otavio Salvador, Daiane Angolini
Book Image

Embedded Linux Development using Yocto Projects - Second Edition

By: Otavio Salvador, Daiane Angolini

Overview of this book

Yocto Project is turning out to be the best integration framework for creating reliable embedded Linux projects. It has the edge over other frameworks because of its features such as less development time and improved reliability and robustness. Embedded Linux Development using Yocto Project starts with an in-depth explanation of all Yocto Project tools, to help you perform different Linux-based tasks. The book then moves on to in-depth explanations of Poky and BitBake. It also includes some practical use cases for building a Linux subsystem project using Yocto Project tools available for embedded Linux. The book also covers topics such as SDK, recipetool, and others. By the end of the book, you will have learned how to generate and run an image for real hardware boards and will have gained hands-on experience at building efficient Linux systems using Yocto Project.
Table of Contents (22 chapters)
Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
7
Diving into BitBake Metadata
Index

Building an image to QEMU


Following the same steps used in Chapter 2, Baking Our Poky-Based System, we are going to build an image to the QEMU ARM emulation.

The first step is to create the first project, which is a collection of configurations and builds that have already been performed.

As we don't have a project, we need to start one. Create a Project name and choose the target release, as shown in the following screenshot:

After creating my-first-project, we can see the main project screen, as shown in the following screenshot:

While on the Configuration tab, go to Machine and change it to qemuarm:

After that, click the Image Recipes tab to choose the image you want to build. In this example, as used in Chapter 2, Baking Our Poky-Based System, we can build core-image-full-cmdline:

The following screenshot shows the build process:

The build process takes some time, but after that, we can see the built image along with some statistics:

We can also verify the generated set of files, as shown in...