u-boot/doc/develop/bootstd
Martyn Welch 3809fd35a5 bootstd: Add command to enable setting of bootmeth specific properties
We have previously added logic to allow a "fallback" option to be
specified in the extlinux configuration. Provide a command that allows
us to set this as the preferred default option when booting.

Combined with the bootcount functionality, this allows the "altbootcmd"
to provide a means of falling back to a previously known good state
after a failed update. For example, if "bootcmd" is set to:

    bootflow scan -lb

We would set "altbootcmd" to:

    bootmeth set extlinux fallback 1; bootflow scan -lb

Causing the boot process to boot from the fallback option.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Martyn Welch <martyn.welch@collabora.com>
2024-10-15 10:24:27 -06:00
..
android.rst doc: Add a description for bootmeth_android 2024-07-31 08:29:20 +02:00
cros.rst doc: Add a description for bootmeth_cros 2024-07-19 13:56:04 +02:00
extlinux.rst doc: Add a description for bootmeth_pxe 2024-07-19 13:54:01 +02:00
index.rst doc: Add a description for bootmeth_android 2024-07-31 08:29:20 +02:00
overview.rst bootstd: Add command to enable setting of bootmeth specific properties 2024-10-15 10:24:27 -06:00
pxelinux.rst doc: Add a description for bootmeth_pxe 2024-07-19 13:54:01 +02:00
qfw.rst doc: Add a description for bootmeth_qfw 2024-07-19 13:54:54 +02:00
sandbox.rst doc: Add a description for bootmeth_sandbox 2024-07-19 13:57:44 +02:00
script.rst doc: Add a description for bootmeth_script 2024-07-19 13:57:53 +02:00