summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/test_util.py
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2025-03-31 14:23:20 +0200
committerCaleb Connolly <caleb.connolly@linaro.org>2025-04-11 15:28:14 +0200
commitaa5ef3c0a752701abffe071690a6246193be9d1c (patch)
tree0f164e51da61fa03bbf6ac2dd50177289473b718 /tools/u_boot_pylib/test_util.py
parent657e19f8f2dd279d3db6744d3d6859952d67c8c9 (diff)
bootretry: check for bootretry variable changes
To enable more complex sequencing of the bootmenu, autoboot, and bootretry, handle changes to the bootretry variable between tries. This makes it possible to turn bootretry off (e.g. to drop to a shell) and then back on again. This makes it possible to have a persistent bootmenu (the only way to navigate U-Boot on devices like smartphones which lack a physical keyboard) by having bootcmd be defined to launch the bootmenu. This allows for menu options like enabling USB mass storage gadget to return back to the boot menu once the gadget is shut down. Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Danila Tikhonov <danila@jiaxyga.com> # google-sunfish Tested-by: Jens Reidel <adrian@mainlining.org> # xiaomi-davinci Link: https://lore.kernel.org/r/20250331-qcom-phones-v4-3-f52e57d3b8c6@linaro.org Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'tools/u_boot_pylib/test_util.py')
0 files changed, 0 insertions, 0 deletions