barebox Open source · GPL-2.0-only
Barebox provides a bootchooser mechanism for abstract boot targets.
Introduction
### Overview
RAUC and Barebox are both developed by Pengutronix and both are designed to provide a complete and homogeneous solution. RAUC relies on the bootchooser mechanism implemented in Barebox which provides a mean to work with abstract boot targets.
A target can be seen as set of variables and options that will be used by the bootchooser algorithm to choose which target to boot on. The way those variables are presented and accessed is defined in the Barebox state framework which stores them in persistent memory (EEPROM, NAND/NOR flash, SD/eMMC, etc.).
### Boot selection and A/B updates
This Device Tree defines a redundant A/B system upgrade scheme. As we just added our state backend storage we have to enable both bootchooser and state framework in our barebox configuration.
We also have to add the boot targets system0 and system1 in our default environment. The actual boot selection will be done by the bootchooser so we must set boot.default=bootchooser and targets="system0 system1".
### Integration notes
In this configuration each partition holds its own Linux kernel image and Device Tree. From the Linux kernel configuration point of view we only need to add support for the SquashFS filesystem by enabling the CONFIG_SQUASHFS=y option.
Embedded LinuxRAUCYocto Projectbootchooserboot targetsstate frameworkA/B updatesDevice Tree
Screenshots

Deployment
Yocto/OpenEmbedded BSP 集成
适用于在嵌入式 Linux BSP 中编译并集成 Barebox、内核和根文件系统,生成可烧录的目标板镜像。
SD 卡镜像刷写
适用于 Yocto 构建完成后,将生成的 .sdcard 镜像用 dd 写入 SD 卡以启动目标板。
RAUC A/B 更新(Barebox bootchooser)
适用于基于 Barebox bootchooser 和 RAUC 的嵌入式设备冗余 A/B 系统升级。
RAUC CLI 安装 bundle
适用于在目标设备本地通过 rauc install 手动安装已签名的 RAUC 更新包。
RAUC D-Bus API
适用于由设备端应用或管理服务通过 D-Bus 集成并触发 RAUC 更新流程。
rauc-hawkbit 客户端
适用于设备需要对接 hawkBit 服务器进行集中式 OTA 更新管理的场景。
AT91bootstrap3 链式启动 Barebox
适用于 Atmel/Microchip AT91/SAMA5 平台由 AT91bootstrap3 作为一级引导加载 Barebox 再启动 Linux 的场景。
Details
Type Open-source software
License GPL-2.0-only
Last verified 2026-07-30
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.