diff options
| author | Caleb Connolly <[email protected]> | 2025-03-31 14:23:19 +0200 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2025-04-11 15:28:14 +0200 |
| commit | 657e19f8f2dd279d3db6744d3d6859952d67c8c9 (patch) | |
| tree | 2103190697bee621b1e8de6a20d8be095e8028df /boot | |
| parent | fd775fb7aff82b55832f1d345d0ac07d7bd448e8 (diff) | |
cli_hush: support running bootcmd on boot retry
Introduce a new config option: RETRY_BOOTCMD. When enabled this causes
hush shell to re-run "bootcmd" when the auto-boot counter times out.
Tested-by: Danila Tikhonov <[email protected]> # google-sunfish
Tested-by: Jens Reidel <[email protected]> # xiaomi-davinci
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index f101200ba7a..fb37d912bc9 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -1704,6 +1704,13 @@ config RESET_TO_RETRY After the countdown timed out, the board will be reset to restart again. +config RETRY_BOOTCMD + bool "Run bootcmd on retry" + depends on BOOT_RETRY && HUSH_PARSER && !RESET_TO_RETRY + help + If this option is enabled, the "bootcmd" will be run after the + countdown times out. + endmenu menu "Image support" |
