diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-01 19:15:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-12-13 18:39:05 -0500 |
commit | a4bee0b45504397d71302cd1b186f5651424a332 (patch) | |
tree | 9f183791b4ac46c3e8be6c67d63baf495bfae04d /doc | |
parent | 6b8f26bca4854ea6826d8d9f3b1f644e349c9b7e (diff) | |
download | u-boot-a4bee0b45504397d71302cd1b186f5651424a332.tar.gz |
bootstd: Add a menu option to bootflow scan
Allow showing a menu and automatically booting, with 'bootflow scan'.
This is more convenient than using a script.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/usage/cmd/bootflow.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/usage/cmd/bootflow.rst b/doc/usage/cmd/bootflow.rst index 2198ff60493..27e1330ad8a 100644 --- a/doc/usage/cmd/bootflow.rst +++ b/doc/usage/cmd/bootflow.rst @@ -52,6 +52,8 @@ Flags are: matters, since by then the system boots in the OS and U-Boot is no-longer running. `bootflow scan -b` is a quick way to boot the first available OS. A valid bootflow is one that made it all the way to the `loaded` state. + Note that if `-m` is provided as well, booting is delayed until the user + selects a bootflow. -e Used with -l to also show errors for each bootflow. The shows detailed error @@ -71,6 +73,9 @@ Flags are: priority or label is tried, to see if more bootdevs can be discovered, but this flag disables that process. +-m + Show a menu of available bootflows for the user to select. When used with + -b it then boots the one that was selected, if any. The optional argument specifies a particular bootdev to scan. This can either be the name of a bootdev or its sequence number (both shown with `bootdev list`). |