A/B Updates in a Secure Boot Environment
summary
A project on i.MX 8M combines secure boot with A/B updates by using U-Boot features to automate validation and rollback: boot_count/boot_limit enforces a three‑attempt policy, upgrade_available triggers testing, and an U-Boot writable list locks most variables read‑only while allowing a few controlled ones to change. Kernel extra args are embedded via boot config in FIT image, libubootenv and Yocto handle environment writes and signing, and the result is a working, deployable rollback mechanism.
AI-written summary · about
chapters (10)
- 0:00Introduction and overview
- 1:52Secure boot and A/B concept
- 4:02Boot flow and recovery logic
- 7:56Challenges of mixed environments
- 9:42U-Boot update implementation
- 11:00Environment variable management
- 12:45Linux side update handling
- 14:18Hardening the boot process
- 24:28Conclusion and takeaways
- 28:10Q&A and discussion
