Yocto: Introduction

The Yocto Project Overview and Concepts Manual introduces the tools and ideas used to build custom Linux systems for embedded devices. It’s a guide to the overall model, rather than a step-by-step tutorial or a reference for every setting.

  • What Yocto is for: It lets teams assemble tailored Linux images for different hardware, choosing the software and system behavior they need. The approach supports reuse, customization, and relatively reproducible builds.
  • How customization is organized: Build instructions and settings are grouped into layers. Separate layers can handle hardware support (BSP), distribution policy, or application software. Keeping them modular makes changes easier to reuse and maintain.
  • What drives a build: BitBake reads recipes and configuration, works out task dependencies, and runs the build. A recipe describes how to fetch, patch, configure, compile, and package software. OE-Core provides a shared base of recipes and classes.
  • What a build produces: The system fetches sources, applies patches, builds and packages software, performs checks, then creates a filesystem image and optionally an SDK for application development.
  • What Poky is: Poky is the Yocto Project’s reference distribution and a useful starting point for learning and customization. The manual cautions that it is not a ready-to-ship product distribution.
  • How development fits together: Typically, you build on a Linux host and run the result on target hardware or an emulator. The manual also discusses Git workflows, licensing, cross-development toolchains, and tools such as devtool, eSDK, and Toaster.
  • What to expect: Yocto offers fine control over system contents, but has a steep learning curve and can take a long time to build initially. The shared-state cache can avoid rebuilding unchanged components and speed up later builds.

Mental model: configuration selects the target and policies; layers provide the metadata; recipes describe software; BitBake runs the tasks; the result is an image and optionally an SDK.

The manual has three main parts: an introduction to Yocto, an overview of the development environment, and a deeper explanation of build concepts. For hands-on steps, it points readers to the Quick Build guide and the Development Tasks Manual.

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.