[PATCH 0/4] Add boot slot locking to bootchooser

Lars Schmidt l.schmidt at pengutronix.de
Fri Jun 13 07:08:01 PDT 2025


This patch series adds an option to lock slots to bootchooser.
When slots are locked, the remaining_attempts counter will not
get counted down. It is optional, so when not set, it does not 
have any effect on the counter. The choice of which slot to boot
is also not affected.

Lars Schmidt (4):
  bootchooser: implement locking of boot slots
  bootchooser: extend cmd tool by option to set slot locking
  Documentation: bootchooser: add information about slots_locked
  Documentation: migration-2025.07.0: add information about slots_locked

 Documentation/migration-guides/index.rst      |  1 +
 .../migration-guides/migration-2025.07.0.rst  |  8 +++
 Documentation/user/bootchooser.rst            | 26 +++++++++
 commands/bootchooser.c                        | 16 +++++-
 common/bootchooser.c                          | 55 +++++++++++++++++--
 include/bootchooser.h                         |  1 +
 6 files changed, 101 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/migration-guides/migration-2025.07.0.rst

-- 
2.39.5




More information about the barebox mailing list