Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Embedded Linux Development with Yocto Project
  • Toc
  • feedback
Embedded Linux Development with Yocto Project

Embedded Linux Development with Yocto Project

By : Otavio Salvador
3.9 (20)
close
Embedded Linux Development with Yocto Project

Embedded Linux Development with Yocto Project

3.9 (20)
By: Otavio Salvador

Overview of this book

A practical tutorial guide which introduces you to the basics of Yocto Project, and also helps you with its real hardware use to boost your Embedded Linux-based project. If you are an embedded systems enthusiast and willing to learn about compelling features offered by the Yocto Project, then this book is for you. With prior experience in the embedded Linux domain, you can make the most of this book to efficiently create custom Linux-based systems.
Table of Contents (17 chapters)
close
15
A. References
16
Index

Building an image using Hob

Our first step is to set up our build environment, as follows:

$: source poky/oe-init-build-env [build-directory]

We can choose an old build directory or create a new one.

Now, Hob is ready for use. To start it, we should run the following:

$: hob

At startup, Hob performs some parsing tasks, reading the local configuration and available metadata layers. After a short time, Hob proposes a list of available machines. We can select, for example, qemuarm.

Once the dependency tree is built, select the desired image, for example, core-image-full-cmdline.

The following screenshot shows the MACHINE variable content and the image to be built in the Hob interface:

Building an image using Hob

With the target MACHINE and image selected, the next step is to choose some advanced configuration, such as image types (for example, cpio.gz, ext2.bz2, ext3.gz, jffs2, ubifs, and vmdk) or package formats (rpm, deb, IPK, or TAR). We can also exclude all packages under the GPLv3 licensing, as shown in Chapter 13,...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete