A Board Support Package (BSP) build configuration registry defines environment variables, build systems and configurations to build BSP images. It ensures that the BSP can be consistently built and customized, providing a structured way to manage hardware features, initialization routines, and software components required for embedded systems. This registry allows reproducible builds across different environments and makes it easier to tailor BSPs for unique hardware platforms while maintaining compatibility with the broader OS stack.
The registry supports two build systems:
- Yocto Project: For building custom embedded Linux distributions with full control over the software stack
- Isar: For building Debian-based embedded systems using native Debian packaging tools
- Advantech BSP configurations registry
- Table of Contents
- 1. Build System Architecture
- 2. Supported Hardware
- 2.1. NXP Boards Compatibility Matrix
- 2.2. Isar Build System Support
- 2.3. MediaTek Boards Compatibility Matrix
- 2.4. Qualcomm Boards Compatibility Matrix
- 2.5. NVIDIA Jetson Boards Compatibility Matrix
- 2.6. Rockchip Boards Compatibility Matrix
- 2.7. QEMU and Reference BSPs
- 3. BSP Registry Manager
- 4. HowTo Assemble BSPs
- 5. Advanced Topics
- 6. Patches
- 7. Links
Build System Architecture defines the structure and workflow of how source code, configurations, and dependencies are transformed into deployable artifacts. The registry supports two build systems: Yocto Project (for custom embedded Linux distributions) and Isar (for Debian-based embedded systems).
The build system follows a layered architecture that ensures reproducibility, isolation, and maintainability:
βββββββββββββββββββββββββββββββββββββββββββ
β BSP Registry Manager β # BSP management and container orchestration
βββββββββββββββββββββββββββββββββββββββββββ€
β BSP Registry Configuration β # BSP Registry model definition
βββββββββββββββββββββββββββββββββββββββββββ€
β KAS Configuration Files β # Build definitions
βββββββββββββββββββββββββββββββββββββββββββ€
β Docker Container Engine β # Isolated build environment
βββββββββββββββββββββββββββββββββββββββββββ€
β Yocto Project / Isar Build System β # Core build systems
βββββββββββββββββββββββββββββββββββββββββββ€
β Source Layers / Debian Packages β # BSP components
βββββββββββββββββββββββββββββββββββββββββββ| Layer | Purpose | Key Components |
|---|---|---|
| BSP Registry Manager | BSP management and container orchestration | bsp CLI tool (bsp-registry-tools package), YAML configuration, container definitions |
| KAS Configuration Files | Build definitions and dependencies | YAML configs for boards, distros, and features |
| Docker Container Engine | Isolated build environment | Consistent toolchains, isolated dependencies |
| Yocto Project / Isar Build System | Core build systems | Yocto: BitBake, OpenEmbedded, meta-layers; Isar: apt, dpkg, Debian packages |
| Source Layers / Debian Packages | BSP components | Yocto: Machine configs, recipes, kernel; Isar: Debian packages, system configuration |
The registry model is split across several files that are merged by the bsp tool through the
top-level include: directive of bsp-registry.yml:
| File | Content |
|---|---|
bsp-registry.yml |
Root registry: global settings (flash, deploy, lava, environments, containers), the Yocto framework, the common Poky-based distros, the shared Yocto releases, the features and the include: list |
bsp-registry.isar.yaml |
Isar framework, the isar-v0.11 / isar-v1.0 distros and the Debian/Ubuntu releases |
bsp-registry.qemu.yaml |
qemu vendor, the emulated devices and their Yocto/Isar presets |
bsp-registry.nxp.yaml |
nxp vendor, the fsl-imx-xwayland distro and the NXP i.MX EVK devices. The nxp-* EVK presets are currently commented out, so no nxp-* preset exists |
bsp-registry.mediatek.yaml |
mediatek vendor, the MediaTek reference devices and their presets |
bsp-registry.qualcomm.yaml |
qualcomm vendor, the Qualcomm reference devices and their presets |
bsp-registry.rockchip.yaml |
rockchip vendor, the Radxa ROCK reference devices and their presets |
bsp-registry.advantech.yaml |
advantech vendor, the Advantech boards and their presets |
bsp-registry.advantech-aim-linux.yaml |
advantech-aim-linux vendor, the Advantech AIM Linux boards and their presets |
bsp-registry.advantech-europe.yaml |
advantech-europe vendor, the Advantech Europe (modular BSP) boards and their presets |
bsp-registry.nvidia.yaml |
nvidia vendor, the NVIDIA Jetson devkits and their presets |
Included files use the same schema as the root registry. Lists (vendors, devices, bsp, ...)
from included files are concatenated with the ones defined in the root file, so an entry must be
defined completely in a single file: entries are looked up by slug/name and the first match
wins. Only the root file carries the specification block.
A board is placed in the fragment of its board vendor, not of its SoC vendor: the Advantech
i.MX boards live in the Advantech fragments even though they are NXP based. For the same reason
the per-release vendor_overrides (and the vendor-specific blocks inside features such as
secure-boot, rauc, swupdate and ostree) stay in bsp-registry.yml: they are nested inside
release/feature entries that are shared by all vendors and therefore cannot be split out without
shadowing the shared entry. See Registry Model for the full merge
semantics.
The include: directive is supported by bsp-registry-tools since 0.1.0, which is already the
floor declared in requirements.txt.
The BSP build system is designed to support a wide range of hardware platforms, including reference boards, evaluation kits, and custom embedded devices. Each supported target is defined through configuration files that specify processor architecture, memory layout, peripherals, and drivers, ensuring that builds are tailored to the unique requirements of the hardware.
The table below is derived from the presets defined in the registry (the Advantech vendor
fragments merged through the include: list of bsp-registry.yml). A β
means a
ready-made preset exists and can be built directly with bsp build <preset>-<release>.
| Board \ Yocto | wrynose | whinlatter | walnascar | styhead | scarthgap | mickledore | kirkstone |
|---|---|---|---|---|---|---|---|
| RSB-3720 | β | β | β | β | β | β | β |
| RSB-3720 4G | β | β | β | β | β | β | β |
| RSB-3720 6G | β | β | β | β | β | β | β |
| ROM-2620 (ED91) | β | β | β | β | β | β | β |
| ROM-2820 (ED93) | β | β | β | β | β | β | β |
| ROM-5720 (DB5901) | β | β | β | β | β | β | β |
| ROM-5721 (DB5901) | β | β | β | β | β | β | β |
| ROM-5721 1G | β | β | β | β | β | β | β |
| ROM-5721 2G | β | β | β | β | β | β | β |
| ROM-5722 (DB2510) | β | β | β | β | β | β | β |
| AOM-5521 A1 | β | β | β | β | β | β | β |
| AOM-5521 A2 | β | β | β | β | β | β | β |
| ECU-150 | β | β | β | β | β | β | β |
Legend:
- β Preset available: a preset is shipped for this board and release
- β No preset: not available for this release
A number of boards additionally carry older, product-line specific presets that pin a fixed NXP
BSP revision (vendor_release). These are kept for reproducing existing product builds and are
not carried forward to newer Yocto releases:
| Preset | Board | Release | NXP BSP revision |
|---|---|---|---|
advantech-imx8mprsb3720a1-kirkstone |
RSB-3720 A1 | kirkstone | imx-5.15.52-2.1.0 |
advantech-imx8mprsb3720a2-scarthgap |
RSB-3720 A2 | scarthgap | imx-6.6.23-2.0.0 |
advantech-rsb3730-mickledore |
RSB-3730 | mickledore | imx-6.1.22-2.0.0 |
advantech-rsb3730-2g-mickledore |
RSB-3730 2G | mickledore | imx-6.1.22-2.0.0 |
advantech-rsb3730-4g-mickledore |
RSB-3730 4G | mickledore | imx-6.1.22-2.0.0 |
advantech-rom2820-a1-mickledore |
ROM-2820 A1 | mickledore | imx-6.1.22-2.0.0 |
advantech-rom5721-db5901-1g-mickledore |
ROM-5721 1G | mickledore | β |
advantech-rom5721-db5901-2g-mickledore |
ROM-5721 2G | mickledore | β |
These presets do not take a -<release> suffix, because the release is already part of the
preset name (for example bsp build advantech-rsb3730-mickledore).
| Hardware | Preset | Supported Releases | Status | Documentation |
|---|---|---|---|---|
| RSB-3720 | modular-bsp-rsb3720 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π’ Stable | Advantech RSB-3720 Product Page Β· User Manual |
| RSB-3720 4G | modular-bsp-rsb3720-4g |
walnascar, whinlatter, wrynose | π’ Stable | (Same as RSB-3720, variant-specific) |
| RSB-3720 6G | modular-bsp-rsb3720-6g |
walnascar, whinlatter, wrynose | π’ Stable | (Same as RSB-3720, variant-specific) |
| RSB-3720 (ROS 2) | modular-ros-bsp-rsb3720 |
ros2-humble-scarthgap | π‘ Development | (Same as RSB-3720, ROS 2 Humble image) |
| RSB-3730 | advantech-rsb3730-mickledore |
mickledore | π‘ Development | Advantech RSB-3730 Product Page Β· RSB-3730 User Manual (PDF) Β· Yocto BSP Guide |
| ROM-2620 | modular-bsp-rom2620-ed91 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π’ Stable | Advantech ROM-2620 Product Page |
| ROM-2820 | modular-bsp-rom2820-ed93 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π’ Stable | Advantech ROM-2820 Product Page |
| ROM-5720 | modular-bsp-rom5720-db5901 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π’ Stable | Advantech ROM-5720 Product Page |
| ROM-5721 | modular-bsp-rom5721-db5901 |
scarthgap, styhead, walnascar | π’ Stable | Advantech ROM-5721 Product Page |
| ROM-5721 1G | modular-bsp-rom5721-1g-db5901 |
walnascar, whinlatter, wrynose | π’ Stable | (Same as ROM-5721, variant-specific) |
| ROM-5721 2G | modular-bsp-rom5721-2g-db5901 |
walnascar, whinlatter, wrynose | π’ Stable | (Same as ROM-5721, variant-specific) |
| ROM-5722 | modular-bsp-rom5722-db2510 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π’ Stable | Advantech ROM-5722 Product Page |
| AOM-5521 (DB2510) | modular-bsp-aom5521a1-db2510 |
scarthgap, styhead, walnascar, whinlatter | π’ Stable | Advantech AOM-5521 Product Page |
| AOM-5521 (DB2510) | modular-bsp-aom5521a2-db2510 |
walnascar, wrynose | π’ Stable | Advantech AOM-5521 Product Page |
| AOM-5521 A1 | advantech-imx95aom5521a1 |
scarthgap, walnascar | π‘ Development | (Same as above) |
| AOM-5521 A2 | advantech-imx95aom5521a2 |
walnascar | π‘ Development | (Same as above) |
| AOM-2521 B0 | modular-bsp-aom2521b0 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π‘ Development | Advantech AOM-2521 Product Page |
| AOM-2521 B0 | advantech-imx95aom2521b0 |
walnascar, whinlatter | π‘ Development | Advantech AOM-2521 Product Page |
| ECU-150 | modular-bsp-ecu150a1 |
scarthgap, styhead, walnascar, whinlatter, wrynose | π‘ Development | Advantech ECU-150 Product page |
Status Legend:
- π’ Stable: Production-ready, fully tested and supported
- π‘ Development: Under active development, may have limitations
- π΄ EOL: End of Life, not recommended for new projects
This list below covers the most recent and commonly referenced Yocto releases:
- Wrynose (Yocto 6.0 LTS)
- Whinlatter (Yocto 5.3)
- Walnascar (Yocto 5.2)
- Styhead (Yocto 5.1)
- Scarthgap (Yocto 5.0 LTS)
- Mickledore (Yocto 4.2)
- Kirkstone (Yocto 4.0 LTS)
The full overview of Yocto releases can be found here https://www.yoctoproject.org/development/releases/
The BSP registry includes Over-The-Air (OTA) update configurations for supported boards. OTA updates enable remote software updates without physical access to devices, critical for production deployments.
- RAUC (Robust Auto-Update Controller): A safe and reliable software update framework that supports atomic updates with rollback capabilities
- SWUpdate: A software update framework designed for embedded systems with support for multiple update strategies
- OSTree: An upgrade system for Linux-based operating systems that performs atomic upgrades of complete filesystem trees
The registry distinguishes two levels of support:
π ΏοΈ Preset β a ready-made preset exists; build it directly withbsp build <preset>-<release>- β Composable β the OTA feature is supported on the board and can be enabled by adding the
feature to the preset's
features:list in its registry fragment (bsp-registry.advantech-europe.yaml), or by composing the feature fragment manually with KAS. No preset is shipped today.
| Board | RAUC | SWUpdate | OSTree | Supported Releases |
|---|---|---|---|---|
| RSB-3720 | scarthgap, styhead, walnascar, whinlatter, wrynose | |||
| RSB-3720 4G | β | β | β | walnascar, whinlatter, wrynose |
| RSB-3720 6G | β | β | β | walnascar, whinlatter, wrynose |
| ROM-2620 (ED91) | β | β | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| ROM-2820 (ED93) | β | β | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| ROM-5720 (DB5901) | β | β | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| ROM-5721 1G | β | β | β | walnascar, whinlatter, wrynose |
| ROM-5721 2G | β | β | β | walnascar, whinlatter, wrynose |
| ROM-5722 (DB2510) | β | β | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
The three presets shipped today are modular-bsp-rauc-rsb3720, modular-bsp-swupdate-rsb3720
and modular-bsp-ostree-rsb3720, each available for scarthgap through wrynose. Every Qualcomm
preset also enables the ostree feature.
The corresponding feature fragments live under features/ota/:
| Feature | Registry feature | Fragment |
|---|---|---|
| RAUC | rauc |
features/ota/rauc/rauc.yml |
| SWUpdate | swupdate |
features/ota/swupdate/swupdate.yml |
| OSTree | ostree |
features/ota/ostree/ostree.yml |
OSTree additionally carries per-release compatibility fragments:
features/ota/ostree/ostree-scarthgap.yml, features/ota/ostree/ostree-styhead.yml,
features/ota/ostree/ostree-walnascar.yml, features/ota/ostree/ostree-whinlatter.yml and
features/ota/ostree/ostree-wrynose.yml.
To build a BSP image with OTA support, use the bsp command:
# List all available OTA configurations
bsp list | grep -E 'rauc|swupdate|ostree'
# Build RSB-3720 with RAUC support
bsp build modular-bsp-rauc-rsb3720-walnascar
# Build RSB-3720 with SWUpdate support
bsp build modular-bsp-swupdate-rsb3720-styhead
# Build RSB-3720 with OSTree support
bsp build modular-bsp-ostree-rsb3720-scarthgapNXP-based Advantech Europe boards support cryptographic boot-image signing via HAB (High Assurance Boot, i.MX8 family) and AHAB (Advanced High Assurance Boot, i.MX9 / i.MX95 family).
π See docs/secure-boot.md for full instructions including:
- Obtaining and configuring the NXP Code Signing Tool (CST)
- Generating SRK keys and certificates
- Required environment variables
- Board fusing / provisioning procedures
- CI / Azure Pipelines integration
As with OTA, the registry distinguishes a shipped preset from a supported-but-composable configuration:
π ΏοΈ Preset β a ready-made secure-boot preset exists- β Composable β the board supports signing; enable it by adding the
secure-bootfeature to the preset'sfeatures:list in its registry fragment, or by composingfeatures/secure-boot/secure-boot.ymlwith KAS
| Board | SoC Family | Secure Boot | Support | Yocto Releases |
|---|---|---|---|---|
| ROM-2620 (ed91) | i.MX8 | HAB | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| ROM-5720 (db5901) | i.MX8 | HAB | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| ROM-5721 (db5901) | i.MX8 | HAB | β | scarthgap, styhead, walnascar |
| ROM-5721 1G | i.MX8 | HAB | β | walnascar, whinlatter, wrynose |
| ROM-5721 2G | i.MX8 | HAB | walnascar (preset), whinlatter, wrynose | |
| ROM-5722 (db2510) | i.MX8 | HAB | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| RSB-3720 | i.MX8 | HAB | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| RSB-3720 4G | i.MX8 | HAB | β | walnascar, whinlatter, wrynose |
| RSB-3720 6G | i.MX8 | HAB | β | walnascar, whinlatter, wrynose |
| ROM-2820 (ed93) | i.MX9 | AHAB | β | scarthgap, styhead, walnascar, whinlatter, wrynose |
| AOM-5521 A2 | i.MX95 | AHAB | β | walnascar, wrynose |
The only secure-boot preset shipped today is modular-bsp-rom5721-2g-db5901-secureboot
(walnascar). The listed releases are those for which the board has a preset that the
secure-boot feature can be added to.
# Export signing environment variables before building
export CST_TOOL_PATH=/opt/cst
# Build a signed image (example: ROM-5721, Walnascar release)
bsp build modular-bsp-rom5721-2g-db5901-secureboot-walnascarIn addition to Yocto-based BSPs, this registry supports Isar (Integration System for Automated Root filesystem generation), a build system specifically designed for creating Debian-based embedded Linux systems. Isar uses Debian's native packaging tools (apt, dpkg) rather than BitBake, providing a more familiar environment for developers experienced with Debian/Ubuntu systems.
π For detailed information, see the Isar Directory README which includes comprehensive documentation on configuration, build architecture, and ASCII diagrams of the image generation process.
Key Features:
- Native Debian package management (apt/dpkg)
- Supports multiple Debian-based distributions (Debian, Ubuntu)
- Faster build times for Debian-familiar developers
- Direct access to Debian package ecosystem
- Cross-compilation support for ARM, ARM64, x86, and x86-64 architectures
Supported Distributions:
- Debian (Bookworm, Bullseye, Buster, Trixie, Sid)
- Ubuntu (Focal, Jammy, Noble)
- Raspberry Pi OS (Bookworm, Bullseye) β π‘ preview, no preset yet
Of these, the registry currently exposes debian-trixie, ubuntu-jammy and ubuntu-noble as
Isar releases. The remaining fragments are available for manual KAS composition.
The registry includes Isar-based BSP configurations for the following targets:
| Hardware | Distribution | Status | BSP Name |
|---|---|---|---|
| QEMU ARM64 | Debian Trixie | β Ready | isar-qemuarm64-debian-trixie |
| QEMU x86-64 | Debian Trixie | β Ready | isar-qemuamd64-debian-trixie |
| QEMU x86-64 | Ubuntu Noble | β Ready | isar-qemuamd64-ubuntu-noble |
| QEMU x86-64 | Ubuntu Jammy | β Ready | isar-qemuamd64-ubuntu-jammy |
Status Legend:
- β Ready: Functional and available for testing/development
All Isar presets currently target QEMU. Real hardware can be added through the
meta-modular-bsp-isar layer by
registering a device and a preset in a registry fragment (for example
bsp-registry.qemu.yaml, where the current Isar devices and presets live).
Isar builds require privileged container execution to support Debian package management operations. The registry handles this automatically when using Isar-enabled containers.
Example: Build QEMU ARM64 with Debian Trixie
bsp build isar-qemuarm64-debian-trixieExample: Build QEMU x86-64 with Ubuntu Noble
bsp build isar-qemuamd64-ubuntu-nobleIsar builds use the isar-debian-13 container, which is automatically configured with:
- Privileged mode for package management operations
- Based on official kas-isar container images
- KAS version 5.5
- Debian Trixie base distribution
- Extra runtime arguments for TUN/TAP networking, required to run the built image under QEMU
The container definition in bsp-registry.yml:
- isar-debian-13:
file: Dockerfile.isar.debian
image: "advantech/bsp-registry/isar/debian-13/kas:5.5"
privileged: true
runtime_args: "-p 2222:2222 --device=/dev/net/tun --cap-add=NET_ADMIN"
args:
- name: "KAS_VERSION"
value: "5.5"
- name: "DISTRO"
value: "debian-trixie"- Isar Directory README - Comprehensive guide to Isar configuration, build process diagrams, and advanced topics
- Isar Documentation
- Isar GitHub Repository
- Advantech Isar Modular BSP
The BSP registry supports MediaTek-based boards through the MediaTek AIoT Rity BSP stack. The current integration targets the Yocto Scarthgap release and uses the upstream Rity v25.0 layer set. For detailed configuration, see the MediaTek vendor README and the Advantech MediaTek overlay README.
| Board \ Yocto | scarthgap | Status |
|---|---|---|
| Genio 350 EVK | π‘ Development | |
| Genio 510 EVK | π‘ Development | |
| Genio 700 EVK | π‘ Development | |
| Genio 1200 EVK | π‘ Development | |
| RSB-3810 | π‘ Development |
Status Legend:
- π’ Stable: Production-ready, fully tested and supported
- π‘ Development: Under active development, may have limitations
π ΏοΈ Preset available: a preset is shipped for this board and release
| Hardware | Preset | Supported Releases | Status | Documentation |
|---|---|---|---|---|
| Genio 350 EVK | mediatek-genio-350-evk |
scarthgap | π‘ Development | MediaTek Genio 350 EVK |
| Genio 510 EVK | mediatek-genio-510-evk |
scarthgap | π‘ Development | MediaTek Genio 510 EVK |
| Genio 700 EVK | mediatek-genio-700-evk |
scarthgap | π‘ Development | MediaTek Genio 700 EVK |
| Genio 1200 EVK | mediatek-genio-1200-evk |
scarthgap | π‘ Development | MediaTek Genio 1200 EVK |
| RSB-3810 | modular-bsp-rsb3810 |
scarthgap | π‘ Development | Advantech RSB-3810 |
# List available MediaTek BSPs
bsp list | grep -i mediatek
# Build MediaTek Genio 350 EVK (scarthgap)
bsp build mediatek-genio-350-evk-scarthgap
# Build MediaTek Genio 1200 EVK (scarthgap)
bsp build mediatek-genio-1200-evk-scarthgap
# Build Advantech RSB-3810 (scarthgap)
bsp build modular-bsp-rsb3810-scarthgapThe Qualcomm modular BSP for the Advantech AOM-5721 uses QLI 2.0 on Wrynose, while the legacy Advantech Qualcomm BSP uses QLI 1.6 Ver.1.2 on Scarthgap.
See the Advantech Qualcomm README and the Qualcomm vendor README.
| Board \ Yocto | scarthgap | wrynose | Status |
|---|---|---|---|
| QCM6490 IDP | β | π‘ Development | |
| QCS615 ADP Air | β | π‘ Development | |
| IQ-615 EVK | β | π‘ Development | |
| QCS6490 RB3gen2 | β | π‘ Development | |
| IQ-8275 EVK | β | π‘ Development | |
| IQ-8300 EVK (Monza) | β | π‘ Development | |
| QCS8300 Ride SX | β | π‘ Development | |
| IQ-9075 EVK | β | π‘ Development | |
| QCS9075 Ride SX | β | π‘ Development | |
| QCS9100 Ride SX | β | π‘ Development | |
| AOM-2721 | π | β | π Preview |
| AOM-5721-A1-QCS6490 / AOM-DB6700-A1 | β | π‘ Development |
Status Legend:
- π’ Stable: Production-ready, fully tested and supported
- π‘ Development: Under active development, may have limitations
- π Preview: Device and machine config exist in the registry, but no preset is wired up yet,
so the board does not appear in
bsp listand must be composed manually with KAS
| Hardware | Preset | Supported Releases | Status | Documentation |
|---|---|---|---|---|
| QCM6490 IDP | qcm6490-idp |
scarthgap | π‘ Development | Qualcomm QCM6490 |
| QCS615 ADP Air | qcs615-adp-air |
scarthgap | π‘ Development | Qualcomm QCS615 |
| IQ-615 EVK | qcs615-iq-615-evk |
scarthgap | π‘ Development | Qualcomm IQ-615 |
| QCS6490 RB3gen2 | qcs6490-rb3gen2-core-kit, qcs6490-rb3gen2-industrial-kit, qcs6490-rb3gen2-vision-kit |
scarthgap | π‘ Development | Qualcomm RB3gen2 Vision Kit |
| IQ-8275 EVK | qcs8275-iq-8275-evk, qcs8275-iq-8275-evk-ifp, qcs8275-iq-8275-evk-pro-sku, qcs8275-iq-8275-evk-pro-sku-ifp |
scarthgap | π‘ Development | Qualcomm IQ-8275 |
| IQ-8300 EVK (Monza) | monaco-monza |
scarthgap | π‘ Development | Qualcomm QCS8300 |
| QCS8300 Ride SX | qcs8300-ride-sx |
scarthgap | π‘ Development | Qualcomm Ride SX |
| IQ-9075 EVK | qcs9075-iq-9075-evk, qcs9075-iq-9075-evk-ifp |
scarthgap | π‘ Development | Qualcomm IQ-9075 |
| QCS9075 Ride SX | qcs9075-ride-sx |
scarthgap | π‘ Development | Qualcomm Ride SX |
| QCS9100 Ride SX | qcs9100-ride-sx |
scarthgap | π‘ Development | Qualcomm Ride SX |
| AOM-2721 | (none β aom2721 device only) |
β | π Preview | Advantech AOM-2721 Product Page |
| AOM-5721-A1-QCS6490 / AOM-DB6700-A1 | modular-bsp-aom5721-qcs6490-db6700-wrynose |
wrynose (qli-2.0) | π‘ Development | Advantech Qualcomm modular BSP |
Using bsp-registry:
# List available Qualcomm BSPs
bsp list | grep -i qualcomm
# Build the Advantech modular BSP (wrynose)
bsp build modular-bsp-aom5721-qcs6490-db6700-wrynose
# Build Qualcomm QCS6490 RB3gen2 EVK (scarthgap)
bsp build qcs6490-rb3gen2-vision-kit-scarthgapUsing plain kas: export the preset into a single, self-contained kas file and
build it with kas (or kas-container, which brings its own build host):
# Export the resolved kas configuration (layers, pinned revisions, local.conf, targets)
bsp export modular-bsp-aom5721-qcs6490-db6700-wrynose -o aom5721.yml
# Build the targets listed in the file
# (core-image-minimal, qcom-multimedia-proprietary-image)
kas-container build aom5721.yml
# ...or build a single image
kas-container build aom5721.yml --target core-image-minimalThe BSP registry supports NVIDIA Jetson platforms through the community
OE4T layers (meta-tegra, meta-tegra-community) and the full
tegra-demo-distro distribution (tegrademo). For detailed configuration, see the
NVIDIA vendor README.
Orin (JetPack 6 / L4T r36.x) is supported across all Yocto releases from scarthgap to wrynose.
Xavier (JetPack 5 / L4T r35.x) is available on scarthgap only, because NVIDIA's Xavier
support lives on the OE4T *-l4t-r35.x branches, which only exist for kirkstone and scarthgap.
| Board \ Yocto | scarthgap | styhead | walnascar | whinlatter | wrynose | Status |
|---|---|---|---|---|---|---|
| Jetson AGX Orin | π‘ Development | |||||
| Jetson Orin Nano | π‘ Development | |||||
| Jetson Orin Nano NVMe | π‘ Development | |||||
| Jetson AGX Xavier | β | β | β | β | π‘ Development | |
| Jetson Xavier NX | β | β | β | β | π‘ Development |
Status Legend:
- π’ Stable: Production-ready, fully tested and supported
- π‘ Development: Under active development, may have limitations
π ΏοΈ Preset available: a preset is shipped for this board and release- β Unsupported: Not available for this Yocto release
| Hardware | Preset | Supported Releases | JetPack / L4T | Status | Documentation |
|---|---|---|---|---|---|
| Jetson AGX Orin | jetson-agx-orin-devkit |
scarthgap, styhead, walnascar, whinlatter, wrynose | JetPack 6 / L4T r36.x | π‘ Development | NVIDIA Jetson Orin |
| Jetson Orin Nano | jetson-orin-nano-devkit |
scarthgap, styhead, walnascar, whinlatter, wrynose | JetPack 6 / L4T r36.x | π‘ Development | NVIDIA Jetson Orin Nano |
| Jetson Orin Nano NVMe | jetson-orin-nano-devkit-nvme |
scarthgap, styhead, walnascar, whinlatter, wrynose | JetPack 6 / L4T r36.x | π‘ Development | (Same as Jetson Orin Nano, NVMe boot variant) |
| Jetson AGX Xavier | jetson-agx-xavier-devkit |
scarthgap | JetPack 5 / L4T r35.x | π‘ Development | NVIDIA Jetson Xavier |
| Jetson Xavier NX | jetson-xavier-nx-devkit |
scarthgap | JetPack 5 / L4T r35.x | π‘ Development | NVIDIA Jetson Xavier NX |
# List available NVIDIA Jetson BSPs
bsp list | grep -i jetson
# Build Jetson AGX Orin (JetPack 6, scarthgap)
bsp build jetson-agx-orin-devkit-scarthgap
# Build Jetson AGX Xavier (JetPack 5, scarthgap only)
bsp build jetson-agx-xavier-devkit-scarthgap
# Build Jetson Orin Nano on the latest release (wrynose)
bsp build jetson-orin-nano-devkit-wrynoseThe BSP registry supports Rockchip platforms through the community
meta-rockchip layer maintained on
git.yoctoproject.org, which builds mainline U-Boot and linux-yocto with Mesa
(Panfrost/Panthor) graphics. For detailed configuration, see the
Rockchip vendor README.
Note that a second, unrelated layer is also called
meta-rockchip(JeffyCN/meta-rockchip, Rockchip BSP kernel plus proprietarylibmali). It is not used by this registry.
Coverage spans scarthgap, walnascar and wrynose. The layer also carries styhead and
whinlatter branches, but they are deliberately not offered: styhead is an EOL non-LTS release,
and whinlatter is a stub branch that never received the fixes present on wrynose.
| Board \ Yocto | scarthgap | walnascar | wrynose | Status |
|---|---|---|---|---|
| Radxa ROCK 5B | π‘ Development | |||
| Radxa ROCK 3A | π‘ Development | |||
| Radxa ROCK Pi 4C | π‘ Development | |||
| Advantech RSB-4810 | β | β | π§ͺ Preliminary | |
| Advantech ROM-6881 | β | β | β | π Planned |
Status Legend:
- π’ Stable: Production-ready, fully tested and supported
- π‘ Development: Under active development, may have limitations
- π§ͺ Preliminary: a preset is shipped, but it has not been build- or boot-tested
- π Planned: board is planned, but no device or preset exists in the registry yet
π ΏοΈ Preset available: a preset is shipped for this board and release- β Not offered: no preset for this board/release combination
| Hardware | Preset | SoC | Supported Releases | Boot chain | Status | Documentation |
|---|---|---|---|---|---|---|
| Radxa ROCK 5B | rock-5b |
RK3588 | scarthgap, walnascar, wrynose | rkbin blobs (TF-A, OP-TEE, DDR init) | π‘ Development | Radxa ROCK 5B |
| Radxa ROCK 3A | rock-3a |
RK3568 | scarthgap, walnascar, wrynose | rkbin blobs (TF-A, OP-TEE, DDR init) | π‘ Development | Radxa ROCK 3A |
| Radxa ROCK Pi 4C | rock-pi-4c |
RK3399 | scarthgap, walnascar, wrynose | fully open source | π‘ Development | Radxa ROCK Pi 4 |
| Advantech RSB-4810 | modular-bsp-rsb4810 |
RK3568 | wrynose | rkbin blobs (TF-A, OP-TEE, DDR init) | π§ͺ Preliminary | Advantech Rockchip README |
| Advantech ROM-6881-DB2510 | (none β planned, not yet in the registry) | RK3588 | β | rkbin blobs (TF-A, OP-TEE, DDR init) | π Planned | Advantech Rockchip README |
The RK3568 and RK3588 machine includes set ROCKCHIP_CLOSED_TPL = "1", which pulls proprietary
rockchip-rkbin binaries into the boot chain. RK3399 does not, and builds entirely from source.
See binary blobs and licensing.
The Advantech RSB-4810 is not a meta-rockchip machine. It is added by the Advantech overlay
layer meta-modular-bsp-rockchip,
which declares its own eecc-rockchip layer collection on top of the community layer and is
compatible with wrynose only. Support is preliminary: the board devicetree is carried by the
overlay rather than by mainline, and no peripheral has been validated on hardware. See the
Advantech Rockchip README.
# List available Rockchip BSPs
bsp list | grep -iE 'rock-'
# Build Radxa ROCK 5B (RK3588, scarthgap)
bsp build rock-5b-scarthgap
# Build Radxa ROCK Pi 4C (RK3399, walnascar)
bsp build rock-pi-4c-walnascar
# Build Radxa ROCK 3A (RK3568, wrynose)
bsp build rock-3a-wrynose
# Build Advantech RSB-4810 (RK3568, wrynose)
bsp build modular-bsp-rsb4810-wrynoseEach build emits .wic plus .wic.bmap, so images can be written directly with
bsp flash rock-5b-scarthgap (equivalently bmaptool copy <image>.wic <device>).
In addition to hardware BSPs, the registry ships emulated QEMU targets. They require no hardware and are the fastest way to validate the toolchain, a feature fragment, or a new Yocto release.
| Preset | Device | Framework | Releases | Notes |
|---|---|---|---|---|
poky-qemux86-64 |
qemux86-64 |
Yocto | kirkstone, nanbield, mickledore, scarthgap, styhead, walnascar, whinlatter, wrynose, master | Poky reference build; widest release coverage in the registry |
poky-qemuarm64 |
qemuarm64 |
Yocto | kirkstone, nanbield, mickledore, scarthgap, styhead, walnascar, whinlatter | Poky reference build for ARM64 |
poky-qemuarm-scarthgap |
qemuarm |
Yocto | scarthgap | Poky reference build for ARM 32-bit |
poky-harden-qemux86-64-scarthgap |
qemux86-64 |
Yocto | scarthgap | Hardened Poky distro (poky-harden) with the security feature |
poky-qemux86-64-ros2 |
qemux86-64 |
Yocto | ros2-humble-scarthgap | ROS 2 Humble on Scarthgap |
isar-qemuamd64 |
qemuamd64 |
Isar | ubuntu-noble, ubuntu-jammy, debian-trixie | Debian-based build, see Β§2.2 |
isar-qemuarm64 |
qemuarm64 |
Isar | debian-trixie | Debian-based build, see Β§2.2 |
# List the emulated targets
bsp list | grep -E 'qemu|poky'
# Poky reference build on the latest release
bsp build poky-qemux86-64-wrynose
# Hardened Poky (the release is already part of the preset name)
bsp build poky-harden-qemux86-64-scarthgap
# ROS 2 Humble on Scarthgap
bsp build poky-qemux86-64-ros2-ros2-humble-scarthgapIsar-built images can be booted with the helper script isar/scripts/isar-runqemu.sh; see the
Isar scripts README.
The BSP Registry Manager is provided by the bsp-registry-tools Python package. It offers a command-line interface (bsp) for managing and building Yocto-based BSPs using the KAS build system. It features Docker container management, cached builds, and sophisticated configuration management for embedded Linux development.
The BSP Registry Manager supports:
- BSP registry management via YAML configuration files
- Docker container building and management for reproducible builds
- KAS build system integration for Yocto-based builds
- Interactive shell access to build environments
- Comprehensive error handling and configuration validation
- Advanced cache management for faster incremental builds
- Environment variable configuration management with expansion support
- KAS configuration export functionality
The BSP Registry Manager requires Python 3.8+ and is installed via pip. A virtual environment is recommended to avoid conflicts with system packages:
# Optional: create and activate a virtual environment
python3 -m venv venv
source venv/bin/activate
# Install bsp-registry-tools
pip3 install bsp-registry-tools# List available BSPs in the registry
bsp list
# Checkout and validate a BSP configuration without building (fast)
bsp build <bsp_name> --checkout
# Build a specific BSP
bsp build <bsp_name>
# Enter interactive shell for a BSP
bsp shell <bsp_name>
# Export BSP configuration
bsp export <bsp_name>| Command | Description | Example |
|---|---|---|
list |
List all available BSPs | bsp list |
tree |
Show all available BSPs as a tree | bsp tree |
build <bsp_name> |
Build a specific BSP | bsp build modular-bsp-rsb3720-wrynose |
build <bsp_name> --checkout |
Checkout and validate BSP configuration without building (fast) | bsp build modular-bsp-rsb3720-wrynose --checkout |
shell <bsp_name> |
Enter interactive shell | bsp shell modular-bsp-rsb3720-wrynose |
export <bsp_name> |
Export the resolved KAS configuration | bsp export modular-bsp-rsb3720-wrynose |
fetch <bsp_name> |
Fetch sources for a BSP | bsp fetch modular-bsp-rsb3720-wrynose |
containers |
List available containers | bsp containers |
flash <bsp_name> |
Flash a built image to a block device | bsp flash modular-bsp-rsb3720-wrynose --target /dev/sdX |
deploy <bsp_name> |
Upload build artifacts to cloud storage | bsp deploy modular-bsp-rsb3720-wrynose |
gather <bsp_name> |
Download build artifacts from cloud storage | bsp gather modular-bsp-rsb3720-wrynose |
scan <bsp_name> |
Scan built images for CVEs and generate an SBOM | bsp scan modular-bsp-rsb3720-wrynose |
test <bsp_name> |
Run tests using the LAVA backend | bsp test modular-bsp-rsb3720-wrynose --backend lava |
remotes |
Manage named remote registry sources | bsp remotes |
Global flags:
| Flag | Description |
|---|---|
--local |
Resolve fragments from the local working tree instead of the published registry. Use it when developing registry changes. |
--no-color |
Disable ANSI colour output. Recommended in CI; used by azure-pipelines.yml. |
flash, deploy and LAVA testing are driven by the corresponding top-level blocks in
bsp-registry.yml β see docs/flash-deploy-lava.md.
Preset names: a preset declared with
releases: [a, b]is addressed as<name>-a/<name>-b, while one declared with a singularrelease:is addressed by its bare name.bsp listalways shows the expanded, usable names. See docs/registry-model.md.
The --checkout flag provides a fast way to checkout and validate BSP configurations without performing time-consuming Docker builds and Yocto compilations. This follows the KAS command naming convention (kas checkout). It is particularly useful for:
- CI/CD pipelines: Quickly verify configuration validity before committing resources to a full build
- Development iteration: Test configuration changes without waiting for complete builds
- Pre-build checks: Ensure all required files and repositories are accessible before starting a build
How it works:
- Validates BSP configuration files and dependencies
- Skips Docker image build (uses native KAS installation)
- Runs
kas checkoutto verify repository configurations - Validates that all required source repositories can be cloned
- Confirms build configuration is valid without performing actual compilation
Example:
# Checkout and validate configuration for RSB3720 6G board
bsp build modular-bsp-rsb3720-6g-walnascar --checkoutThis chapter explains how to assemble modular BSPs using KAS configuration files. It provides stepβbyβstep instructions for setting up prerequisites, selecting the right configuration, and running builds to generate reproducible BSP images tailored to specific hardware platforms.
The host system must provide essential tools and libraries required for building BSPs, including compilers, version control systems, and scripting environments. Ensuring these dependencies are installed and up to date guarantees a stable build process and consistent results across different development environments.
Host system initial setup must include:
- Python 3.x
- Including python virtual environment module
pippackage manager is available- Docker
- Git
The builds have been tested on the following host systems: Ubuntu 22.04, Ubuntu 24.04, Ubuntu 26.04
It is recommended to install python based tools and packages in a separate python virtual environment, which could be created using python virtualenv package.
python3 -m venv venvTo activate virtual environment use following command:
source venv/bin/activateWhile venv and virtualenv cover most basic needs, advanced tools provide additional functionality for dependency management, reproducibility, and handling multiple Python versions.
Install the bsp-registry-tools package to get the bsp CLI tool:
pip3 install bsp-registry-toolsThe BSP images build would run in a docker container, meaning host system should have docker installed. If your host system is Ubuntu, check official docker installation guide at https://docs.docker.com/engine/install/ubuntu/.
To run docker from a non root user (which is required) please follow instructions from the official docker documentation https://docs.docker.com/engine/install/linux-postinstall/. But, in most cases, one command have to be executed
sudo usermod -aG docker $USERand reboot or re-login the system for the changes to take effect.
Docker buildx extends the standard Docker build command with advanced capabilities powered by BuildKit. It enables developers to build multiβplatform images, leverage efficient caching, and run builds in parallel, ensuring faster and more consistent results across diverse environments.
To download buildx binary for your host system use link below:
https://github.com/docker/buildx?tab=readme-ov-file#manual-download
Building a Board Support Package (BSP) combining Yocto, KAS, and Docker. Yocto provides the framework for creating custom Linux distributions tailored to specific hardware platforms. KAS simplifies the process by managing layered build configurations through YAML files, ensuring reproducibility and modularity. Docker adds portability by encapsulating the build environment, eliminating host system inconsistencies and making it easy to run builds across different machines.
Together, these tools enable developers to assemble BSP images in a consistent, automated, and scalable way. By defining configurations in KAS, leveraging Yocto recipes, and running builds inside Docker containers, teams can ensure reliable results while reducing setup complexity and dependency issues.
To assemble BSP images using KAS tool following commands can be used
# activate python virtual environment
source venv/bin/activate
# add proper KAS configuration variables to your environment
export KAS_CONTAINER_ENGINE=docker
export KAS_CONTAINER_IMAGE=advantech/bsp-registry/ubuntu-22.04/kas:5.5
export GITCONFIG_FILE=$HOME/.gitconfig
export DL_DIR=$HOME/cache/downloads/
export SSTATE_DIR=$HOME/cache/sstate/
# run the build
# kas build <path-to-kas-yaml-file>
kas build kas-configuration.yamlDefine environment variables KAS_CONTAINER_ENGINE and KAS_CONTAINER_IMAGE.
For example:
export KAS_CONTAINER_ENGINE=docker
export KAS_CONTAINER_IMAGE=advantech/bsp-registry/ubuntu-22.04/kas:5.5Container image should have kas tool installed inside and use scripts/kas/container-entrypoint script. Check Dockerfile.ubuntu for reference.
To run build inside a docker container use kas-container tool
kas-container build kas-configuration.yamlUsing pure kas it is possible to enter bitbake shell via command:
kas shell kas-configuration.yamlor in a docker container using following command:
kas-container shell kas-configuration.yamlFor users who prefer the traditional Yocto workflow using the repo tool and standard BitBake commands, we provide comprehensive documentation in a separate guide.
The repo-based workflow is ideal for:
- Developers familiar with standard Yocto Project workflows
- Integration with NXP i.MX reference documentation
- Projects requiring fine-grained control over layer management
- Direct use of BitBake without container abstraction
π See the complete guide: Building Modular BSP using Repo Tool
This guide covers:
- Installing and configuring the repo tool
- Downloading BSP sources from the imx-manifest repository
- Setting up the build environment
- Building images for Advantech boards (RSB3720, ROM2620, ROM5722, etc.)
- Troubleshooting common issues
This chapter provides overview of advanced topics working with KAS build configurations.
kas tool can dump final configuration in standard output with kas dump command
kas dump kas-configuration-file.yaml > final.yamlFor details check https://kas.readthedocs.io/en/latest/userguide/plugins.html#module-kas.plugins.dump
final.yaml would contain all the included yaml configuration files and can be reused later.
Similar to kas dump there is a kas lock command, it would generate a yaml file with all layer revisions.
For detailed overview check official kas documentation https://kas.readthedocs.io/en/latest/userguide/plugins.html#module-kas.plugins.lock
It is possible to include BSP registry YAML configurations in your images (provided your project uses kas to assemble OS images).
To extend an existing BSP with a custom Yocto layer create a following kas config. The included
file is a KAS configuration exported from the registry (see
Β§5.1 β for example
bsp export modular-bsp-rsb3720-6g-whinlatter) and committed to the referenced repository; it is
not shipped by this repository itself:
header:
version: 19
includes:
- repo: bsp-registry
file: adv-mbsp-oenxp-whinlatter-rsb3720-6g.yaml
repos:
this:
layers:
meta-custom:
bsp-registry:
url: "https://github.com/Advantech-EECC/bsp-registry"
branch: "main"
layers:
.: "disabled"where meta-custom repository structure looks like:
(venv) β meta-custom
.
βββ .config.yaml
βββ meta-custom
βββ conf
βΒ Β βββ layer.conf
βββ recipes-core
βββ imx-image-%.bbappendwhere imx-image-%.bbappend recipes contains:
CORE_IMAGE_EXTRA_INSTALL += "mpv"
LICENSE_FLAGS_ACCEPTED += "commercial"and layer configuration:
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "custom"
BBFILE_PATTERN_custom = "^${LAYERDIR}/"
BBFILE_PRIORITY_custom = "10"
LAYERVERSION_custom = "0.1"
LAYERSERIES_COMPAT_custom = "wrynose"
LAYERDEPENDS_custom = "eecc-nxp"The BSP registry uses patches to fix build issues, add hardware support, and ensure compatibility across different Yocto releases. Patches are organized by vendor and Yocto version to maintain stability and reproducibility.
The repository contains 26 patches organized into:
- NXP vendor patches (21 patches): Address build failures, dependency corrections, and hardware-specific configurations for NXP i.MX platforms across Kirkstone, Mickledore, Scarthgap, Styhead, Walnascar, Whinlatter and Wrynose
- OTA feature patches (3 patches): Enable OSTree-based over-the-air updates for the Styhead, Walnascar and Wrynose releases
- MediaTek vendor patches (2 patches): Fix recipe and git checkout issues specific to the MediaTek Rity Scarthgap BSP
All patches are documented with:
- Purpose and rationale
- Affected layers and recipes
- Yocto release compatibility
For detailed information about each patch, including what they fix and which components they affect, see the Patches Documentation.
- Documentation index - Entry point for all long-form documentation
- Registry data model - Structure of
bsp-registry.ymland preset name expansion - Adding a board - Checklist for onboarding new hardware
- Feature catalogue - Registered, preview and vendor-bundled feature fragments
- Flash, deploy and LAVA - Post-build workflows and container environments
- Secure boot - NXP HAB/AHAB image signing
- Patches - Inventory of downstream patches
- Isar builds - Debian-based images
- Contributing - Repository layout, local checks and CI
- Building Modular BSP using Repo Tool - Alternative build method using Google's repo tool