Book Image

Embedded Linux Development with Yocto Project

Book Image

Embedded Linux Development with Yocto Project

Overview of this book

Table of Contents (22 chapters)
Embedded Linux Development with Yocto Project
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
References
Index

Building an image for Wandboard


After we have the build directory and the BSP layers are properly set up, we can start the build. Inside the build-wandboard directory, we must call the following command:

$: MACHINE=wandboard-<variant> bitbake <image>

The MACHINE variable can be changed depending on the Wandboard we want to use or set in build/conf/local.conf. The machine names for the Wandboard variants are wandboard-solo, wandboard-dual, and wandboard-quad.

If we want to use the Wandboard Solo and build core-image-sato, which provides an embedded graphical environment, we should run the following command:

$: MACHINE=wandboard-solo bitbake core-image-sato 

The build process will take a while. It takes about 2 hours and about 10 Gigabytes in a workstation machine.

If you didn't accept the EULA or want a smaller image to build faster, you can build core-image-minimal instead. For this, use the following command:

$: MACHINE=wandboard-solo bitbake core-image-minimal

Tip

In Chapter 2...