Linux Format

Custom embedded Linux images

The Yocto Project (Yocto) www.yoctoproject.org is a system that uses the Linux kernel and packages contributed from the OpenEmbedded software team. The Yocto team points out that its product is not a Linux distribution, but instead builds custom distributions; nevertheless, it can still can be extremely useful for creating a custom image.

The main contribution of the Yocto developers is a build system called BitBake. It fetches code from a variety of sources, can manage all kinds of compilation processes and can also take care of exporting the results in a ready-to-burn format.

A Yocto-based system consists of recipes and configuration files. Configuration files have a .conf suffix and contribute attributes which govern the build process. .BB files are called recipes, and are responsible for creating the actual components of the distribution; ultimately, running a recipe leads to the creation of a package.

Yocto differs from other embedded systems in that it divides its software stack into a set of layers. Images are created by combining layers, with Bitbake determining the compilation process. This approach might sound exotic, but it works well. For example, adding a new software stack such as Qt to an existing Yocto project can be accomplished by adding a reference to the file to the configuration.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib
Linux Format2 min read
Make Way For Nobility
It’s that most special time of the year when Canonical releases a new Ubuntu LTS. This I time, the creature it has loosed unto the world is Noble Numbat. And what a fine specimen it is. OK, full disclosure before we get stuck in: we’re basing our eva
Linux Format10 min read
Answers
I was originally using the Cinnamon version of Linux Mint 21.3. I heard good things about MATE, so I did a new installation to try out MATE. After several months, I decided that I would like to go back to Cinnamon. I am not sure how to switch back wi

Related