Robotics

What Is Yocto? Custom Embedded Linux for Robots and Vehicles

How Yocto works, its release cycle, and what a production setup looks like.

3 min read

Close-up of a computer circuit board
Photo: Bartosz Kwitkowski on Unsplash

In short

  • The Yocto Project is not a Linux distribution. It is a set of tools and metadata that builds a custom Linux distribution for your device.
  • Robots, vehicles, drones and industrial devices use it to get a small, reproducible, long-supported Linux image.
  • The current long-term support release is Yocto Project 6.0 “Wrynose” (May 2026), supported until April 2030.

Yocto is the most common way to build custom embedded Linux for products that ship in volume: robots, vehicle computers, gateways and drones. The project describes itself in one line: it is not an embedded Linux distribution, it creates a custom one for you (Yocto Project). This guide explains how it works, when it is worth the learning curve, and what a production setup looks like.

What is Yocto?

The Yocto Project is an open-source Linux Foundation project. Instead of installing a general-purpose system like Ubuntu and removing what you do not need, you describe exactly what your device should contain, and Yocto builds it from source: bootloader, kernel, libraries, your applications and the configuration that ties them together.

The key pieces are:

  • BitBake, the build engine that runs tasks in the right order.
  • Recipes, small files that say how to fetch, configure and build each package.
  • Layers, groups of recipes, for example a board support layer from your chip vendor, a ROS 2 layer, and your own product layer.
  • OpenEmbedded-Core, the shared base of recipes most layers build on.

Releases and support

Yocto releases stable versions about every six months, in April and October; long-term support (LTS) releases come every two years (endoflife.date). Yocto Project 6.0 “Wrynose” was released in May 2026 as the new LTS, supported until April 2030, with Linux kernel 6.18 LTS and updated toolchains including GCC 15.2 and Rust 1.94 (Yocto Project). The previous LTS, 5.0 “Scarthgap”, is supported until April 2028 (endoflife.date).

For products, pick an LTS release and plan the next migration from the start. Devices often outlive one LTS cycle.

Why teams choose Yocto

  • Small and fast. Only what you include ends up on the device, which helps boot time, storage and attack surface.
  • Reproducible. The same inputs produce the same image, which matters for audits and long-term maintenance.
  • Vendor support. Most chip vendors (NXP, Qualcomm, TI, Renesas, NVIDIA for Jetson via community layers) ship board support as Yocto layers.
  • Licence control. Yocto tracks the licence of every package and can produce a software bill of materials (SBOM).
  • Industry use. Automotive Grade Linux, for example, builds on the Yocto Project, and AGL’s SoDeV reference platform combines it with Xen, VirtIO and Zephyr (Linux Foundation).

When Yocto is overkill

For a prototype robot or a short-lived pilot, a standard Ubuntu image (the usual base for ROS 2) is faster to start with. Yocto pays off when you ship many units, need long support, must pass security audits, or run on custom hardware. Many teams prototype on Ubuntu and move to Yocto before production. Plan that move early; it touches packaging, updates and testing.

A production Yocto setup

  1. Pin everything. Layer revisions are fixed in a manifest (for example with kas or repo), so every build is traceable.
  2. Separate your product layer from vendor layers, so upgrades do not overwrite your changes.
  3. Build in CI with shared state cache, so builds take minutes instead of hours.
  4. Add an update system with A/B partitions (RAUC, Mender or SWUpdate) and signed images.
  5. Generate the SBOM and track CVEs for every release.
  6. Test on hardware automatically after each build. See CI/CD for embedded software with hardware-in-the-loop.

From our work

For D-ARIA we engineered the software of an autonomous indoor drone that takes warehouse inventory with more than 99% accuracy (case study). As a robotics software development partner, we build ROS 2 autonomy, SLAM, sensor fusion and computer vision for robots and drones.

Technologies you will meet

AreaTypical tools
BuildBitBake, OpenEmbedded-Core, kas, repo, Docker build containers
Board supportmeta-freescale (NXP), meta-ti, meta-qcom, meta-tegra (NVIDIA Jetson), U-Boot
Robotics and vehiclesmeta-ros for ROS 2, AGL layers, Qt layers (meta-qt6), Wayland/Weston
Runtimesystemd, PREEMPT_RT patches, containers with Podman or Docker
Updates and securityRAUC, Mender, SWUpdate, secure boot, SPDX SBOM, CVE checks

Yocto, Linux and real time

Yocto builds Linux; it does not make Linux hard real-time by itself. For robots and vehicles with tight timing needs, teams add the PREEMPT_RT patches, move hard real-time loops to a microcontroller with Zephyr or FreeRTOS, or use a hypervisor with QNX for safety functions. Our comparison of QNX vs Linux vs Android Automotive covers the vehicle side, and ROS 2 in production robots covers the robotics side.

Frequently asked questions

Is Yocto a Linux distribution?

No. The Yocto Project is a set of tools and metadata that builds a custom Linux distribution for your device.

What is the current Yocto LTS release?

Yocto Project 6.0 Wrynose, released in May 2026 and supported until April 2030.

Should I use Yocto or Ubuntu for a robot?

Ubuntu is faster for prototypes. Yocto pays off for products shipped in volume that need small, reproducible, long-supported images.

Does Yocto make Linux real-time?

Not by itself. Teams add PREEMPT_RT patches, use a microcontroller RTOS for hard real-time loops, or run QNX alongside Linux.

Working on something like this?

Tell us where the product is stuck. We answer with a concrete next step.

Send a few lines about the product, the deadline and the team you have today. A senior engineer replies within two working days.