~/talk

Implementing A/B System Updates with U-Boot

links:none on file
slides:none on file

Practical recipe for A/B updates using U-Boot: use U-Boot’s part list to detect the partition with the bootable flag, flip that flag with the MBR/GPT commands (or sgdisk) after writing the new image, mark the update with upgrade_available and rely on bootcount/bootlimit + altbootcmd to detect failed boots and run an alternate boot sequence; use a Linux user-space confirmer to clear upgrade_available, and a watchdog to force reboot/fallback when the new slot fails.

AI-written summary · about

  1. 0:00Michael Opdenacker
  2. 1:34Abstract
  3. 2:24Full image update approaches
  4. 4:46Main practical questions
  5. 6:00Using partition bootable flags
  6. 8:29Detecting the active partition in Linux
  7. 9:18Detecting the active partition in U-Boot at boot time
  8. 10:13U-Boot: booting on the active partition (2)
  9. 12:55U-Boot: using extlinux support (2)
  10. 16:00Recovering from a failed upgrade - Challenges
  11. 19:45Accessing the U-Boot environment from Linux
  12. 20:37Using a watchdog
  13. 21:37Editing a partition's bootable flag from U-Boot
  14. 23:02Why partition flags?
  15. 24:09Limitations and advice
  16. 25:32Strategies for updating the bootloader?
  17. 28:06What to remember
  18. 29:26References
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.