Over-the-air updates
Devices need software updates after they ship, and a failed update must not break the device. A/B slots and rollback handle both.
Read firstSecure boot and the root of trust
Key points
- A/B (dual-copy) updates write the new image to the inactive slot, boot it on trial, and make it permanent only after it passes a health check, falling back to the old slot if it does not.12
- Open-source update frameworks for embedded Linux include Mender, RAUC and SWUpdate; on microcontrollers, MCUboot is a widely used secure bootloader that supports image swapping and rollback.1234
- A device must check that an update is genuine and unchanged before installing it, usually by verifying a digital signature on the image. Encrypting the download alone does not prove who built it.54
Where to go next
Spotted a mistake, or found this useful?
Tell usSources
- Mender documentation: Introduction · Northern.tech (Mender) · Project docs
- RAUC: Basic concepts · RAUC project · Project docs
- SWUpdate: Update strategy examples · SWUpdate project · Project docs
- MCUboot: Bootloader design · MCUboot project (Linaro) · Project docs
- ETSI EN 303 645 V3.1.3 (2024-09): Cyber Security for Consumer Internet of Things: Baseline Requirements · ETSI · Standard