Skip to main content
Version: BSP 8.x.y (Next)

BSP Layers and Reference Images for Yocto Project - Overview

Introduction​

Toradex provides Yocto Project-based Board Support Package (BSP) layers and Reference Images for its System-on-Modules (SoMs). The BSP layers provide the hardware-specific components required to develop custom embedded Linux distributions, while the Reference Images provide a validated reference for evaluating the hardware and the BSP. This documentation covers BSP 8, which is based on the Yocto Project 6.0 Wrynose Long Term Support (LTS) release.

This article describes the key features of the BSP layers and Reference Images, how they compare with the other Toradex embedded Linux offerings, how to build and customize an image, and how Toradex releases and supports the BSP. If you are migrating from an earlier BSP version, refer to the Toradex BSP 8: Overview and Toradex BSP 8: What Changes for Yocto Developers blog posts for a deeper understanding of the changes.

Toradex BSP Key Features​

The Toradex BSP layers and Reference Images provide the following key features:

  • Release and versioning: Toradex provides monthly production releases with sequential version numbers. Toradex may publish additional releases when required, for example for critical security vulnerabilities, important fixes, or new machine support. The versioning scheme does not include patch versions, as described in the Software Versioning documentation.
  • Single BSP repository: Toradex maintains all BSP layers in a single BSP repository, meta-toradex-bsp, with a common release tag.
  • Build environment configuration: Reference Image builds use the standard bitbake-setup tool to initialize the Yocto Project build environment. Configuration fragments define build settings, including the target machine, and BSP variant. For more information, refer to Build a Reference Image with Yocto Project.
  • BSP variants: Variants select the Linux kernel and vendor BSP configuration independently of the distribution, allowing a single distribution to use upstream, downstream, or real-time kernels.
  • Device tree overlays: Toradex maintains device tree overlay sources alongside the Linux kernel, following the Linux kernel device tree naming convention.

Earlier Toradex BSP versions remain supported according to their established lifecycles. For details about release schedules, maintenance, and support periods, refer to the Embedded Linux Support Strategy.

Toradex Embedded Linux Offerings​

Toradex provides three embedded Linux offerings based on the Yocto Project, each addressing different development and customization requirements:

All three offerings use the Toradex BSP layers as their foundation but differ in their intended use cases, customization approaches, and software components. For a detailed comparison, refer to Toradex Embedded Linux Options.

This documentation focuses on BSP Layers and Reference Images for Yocto Project. For information about Torizon OS, refer to the Torizon OS documentation.

info

BSP 8 applies exclusively to the Toradex BSP Layers and Reference Images for Yocto Project. Starting with BSP 8, the Toradex BSP and Torizon OS follow independent release cycles.

The Yocto Project and OpenEmbedded​

The Yocto Project is an open source collaboration project that provides tools, templates, and practices for developing custom embedded Linux distributions. OpenEmbedded provides the framework used by the Yocto Project to build Linux kernels, packages, and filesystem images from source code.

Toradex is a Yocto Project participant and uses its tools and infrastructure to develop BSP layers and reference images.

The main tools and components relevant to Toradex BSP development include:

  • OpenEmbedded Core (OE-Core): Provides the core metadata and recipes required to build embedded Linux distributions.
  • BitBake: Processes recipes and metadata to execute build tasks and generate packages and filesystem images.
  • bitbake-setup: Initializes build environments using configuration files, including those provided by Toradex for its reference images.
  • Configuration fragments: Define build settings, such as the target machine and BSP variant, using standard OpenEmbedded configuration files.

For more information about these components, refer to the Yocto Project Components and Tools overview.

For details about the organization of Toradex BSP layers and their relationship with distributions and images, refer to BSP Layers, and Reference Images Architecture.

BSP Layers and Reference Images​

Toradex provides BSP layers and Reference Images for Yocto Project-based embedded Linux development. The BSP layers provide the hardware support required for custom Linux distributions and images, while the Reference Images serve as a foundation for BSP validation and hardware evaluation.

BSP Layers for Yocto Project​

The BSP layers provide production-grade, hardware-specific components required to build custom embedded Linux images, reducing the effort involved in hardware bring-up.

The meta-toradex-bsp repository contains separate layers for common metadata and for NXP, TI, and Qualcomm platforms, maintained under a common release tag. You can use these layers with the Toradex reference distribution, the poky reference distribution, a nodistro configuration, or a custom distribution.

Reference Images for Yocto Project​

Toradex Reference Images are bootable Linux images designed to test and validate the BSP. They include software components for testing a broad range of hardware interfaces and verifying board-level feature and integration. Similar to poky in the Yocto Project, they serve as a reference implementation rather than as generic integration images for arbitrary features. You can also use the Reference Images to validate a Yocto Project build environment.

The meta-toradex-demos repository, maintained separately from the BSP layers, contains the recipes used to build the Reference Images and the tdx-xwayland reference distribution. For the available images, refer to Distribution, and Image Responsibilities.

Toradex provides pre-built Reference Images for initial hardware evaluation and bring-up. These images are available from the Reference Images for Yocto Project Software Downloads.

warning

Use pre-built Reference Images for evaluation purposes only, not for production deployments. For production use, Toradex recommends creating a distribution and image tailored to the specific product requirements.

You can install the pre-built images with Toradex Easy Installer. The procedure for starting Toradex Easy Installer depends on the module's current state:

Once Toradex Easy Installer is running, you can flash the Reference Image to the module.

info

Toradex does not provide or maintain SDKs for the Reference Images. You must build Linux SDKs separately using OpenEmbedded.

Torizon OS as an Alternative​

Torizon OS provides a production-ready embedded Linux platform with support for containerized applications and system customization. This approach simplifies application development and reduces the need to build and maintain a custom Linux distribution using the Yocto Project.

Torizon OS is the recommended starting point for users new to embedded Linux development, particularly for projects that:

  • Do not require extensive BSP customization or components that you must integrate through Yocto layers.
  • Do not depend on existing Yocto Project development workflows, continuous integration (CI) infrastructure, or in-house Yocto expertise.
  • Prioritize simplified development and faster time to market over maintaining a custom Yocto Project distribution.

For a comparison of the available development approaches, refer to the Toradex Operating System Comparison.

Build a Reference Image​

Toradex provides the following guides for setting up a Yocto Project build environment, building Reference Images, and customizing embedded Linux images:

The process for building and deploying a Reference Image consists of the following steps:

  1. Set up the host machine and initialize the build environment
  2. Set up the environment shell
  3. Select the Reference Image and, optionally, configure a BSP variant
  4. Build the image
  5. Deploy the built image to the target module
tip

You can also build U-Boot and the Linux kernel directly from source without setting up a Yocto Project build environment.

In BSP 8, the selected BSP variant determines the Linux kernel version. For the applicable sources and build procedures, refer to Build U-Boot and Linux Kernel from Source Code.

For instructions on building Torizon OS from source, refer to Build Torizon OS from Source with Yocto.

Customization​

Toradex BSP layers and Reference Images provide a foundation for developing custom embedded Linux distributions and images. For production deployments, you need to customize them to meet application-specific software and hardware requirements.

Toradex recommends the following practices for BSP customization:

  • Custom metadata: Maintain product-specific recipes and configurations in a separate layer and distribution, as described in Customization Guidelines.
  • BSP variants: Use the default BSP variant for the target module unless specific requirements justify selecting another supported variant.
  • Distribution configuration: Maintain a single distribution across BSP variants. Upstream, downstream, and real-time kernel configurations do not require separate distributions.

Toradex provides documentation for building Reference Images with Yocto Project and building U-Boot and the Linux kernel from source.

Toradex also provides professional support for BSP customization and integration:

Versions​

The following table summarizes Toradex BSP versions, their status, reference distributions, and corresponding Yocto Project releases.

Multiple BSP versions may be supported concurrently. For information about their lifecycle states and support periods, refer to the Toradex Embedded Linux Support Strategy.

Toradex BSP VersionStatusDistributionOpenEmbedded/Yocto Project CodenameYocto Project Release
8.xLatestPoky basedwrynose6.0 LTS
7.0MaintainedPoky basedscarthgap5.0 LTS
6.0OutdatedPoky basedkirkstone4.0 LTS
5.7OutdatedPoky baseddunfell3.1 LTS
4.0.0 (deferred*)DeferredPoky basedzeus3.0
3.0OutdatedPoky basedthud2.6
2.8OutdatedÅngström v2017.12rocko2.4
2.7OutdatedÅngström v2016.12morty2.2
2.6 / 2.6.1OutdatedÅngström v2015.12jethro2.0
2.5OutdatedÅngström v2015.06fido1.8
2.4OutdatedÅngström v2014.12dizzy1.7
2.3OutdatedÅngström v2014.06daisy1.6
2.2OutdatedÅngström v2013.12dora1.5
2.1OutdatedÅngström v2013.06dylan1.4

* 4.0.0 is deferred. For more information, refer to https://www.toradex.com/blog/torizon-yocto-project-long-term-support-alignment

Releases​

BSP 8 follows a monthly production release cycle, independent of Torizon OS. The release model includes:

  • Production releases: Toradex publishes monthly production releases, with additional releases when necessary to address urgent issues, such as critical security vulnerabilities.
  • Pre-releases: Nightly builds are available as development pre-releases.
  • Versioning: Releases use sequential version numbers without a patch component (8.0, 8.1, 8.2). The minor version indicates the release sequence rather than the calendar month.
  • Source code tags: Release tags follow the <yocto-codename>-<bsp-version> naming convention (wrynose-8.0, wrynose-8.1, wrynose-8.2).
  • Release adoption: Production releases can be adopted according to product-specific maintenance and validation requirements, without requiring updates for every monthly release.

Release and Support Strategy​

The Toradex Embedded Linux Support Strategy defines the release policies, maintenance periods, and support lifecycle for each BSP version.

Release Notes​

Toradex announces BSP releases through Toradex Developer News. The BSP Layers Issue Tracker provides information about the issues addressed and features introduced in each release.

Source Code​

Toradex maintains the source code for the BSP layers, Reference Images, Linux kernel, and U-Boot on git.toradex.com. The main repositories include:

  • BSP layers: meta-toradex-bsp contains the common and SoC-specific BSP layers.
  • Reference Images: meta-toradex-demos contains the Reference Image recipes, the tdx-xwayland reference distribution, and the bitbake-setup configurations.
  • Linux kernel: linux-toradex contains the Toradex Linux kernel sources.
  • U-Boot: u-boot-toradex contains the Toradex U-Boot sources.

The wrynose branch tracks ongoing BSP development. For production builds, use release tags and fixed source revisions to ensure reproducibility.

The Embedded Linux Release Matrix lists the corresponding Linux kernel, U-Boot, and Yocto Project versions for each BSP release.

Next Steps​

The following resources outline the main steps for evaluating the Toradex BSP, setting up a Yocto Project development environment, building custom embedded Linux images, and preparing them for production deployment.

Evaluate and Set Up​

  1. Review the BSP Layers and Reference Images Architecture.
  2. Consult the Quick Reference for key Linux, BSP, and Yocto Project terminology.
  3. Set up a host machine for Yocto Project builds.

Build and Customize an Image​

  1. Build a Reference Image with Yocto Project.
  2. Create custom layers, recipes, and images.
  3. Configure device tree overlays.

Prepare an Image for Production​

  1. Review open source license compliance requirements.
  2. Review production hardening and security practices.
  3. Prepare the image for production programming.

Additional Resources​

External Documentation​

Service Partners​

Blogs and Webinars​

Toradex publishes Yocto Project blog posts and webinars covering embedded Linux development. Selected articles include:

Send Feedback!