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 Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related