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
..
2024-09-12 17:35:37 +02:00
2017-02-08 15:56:28 -05:00
2024-07-15 12:12:17 -06:00
2024-02-15 10:38:34 +01:00
2024-10-02 13:32:56 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-10-09 22:04:56 -06:00
2024-07-15 12:12:17 -06:00
2024-08-02 15:16:51 -03:00
2024-07-15 12:12:17 -06:00
2024-08-13 06:12:40 +02:00
2024-09-12 17:35:37 +02:00
2024-09-12 17:35:37 +02:00
2024-10-07 21:31:22 -06:00
2022-03-15 16:19:29 -04:00
2024-07-15 12:12:17 -06:00
2024-09-12 17:35:37 +02:00
2024-07-15 12:12:17 -06:00
2024-09-12 17:35:37 +02:00
2024-08-13 06:23:05 +02:00
2024-06-30 10:59:42 -06:00
2024-10-11 11:44:48 -06:00
2024-03-07 09:23:10 -05:00
2024-09-18 13:01:00 -06:00
2024-09-18 13:07:19 -06:00
2024-07-15 12:12:17 -06:00
2024-10-10 16:02:20 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-09-12 17:35:37 +02:00
2024-05-22 08:55:29 -06:00
2022-09-02 13:40:42 -04:00
2024-08-26 14:05:38 -06:00
2024-06-24 13:34:52 -06:00
2024-07-15 12:12:17 -06:00
2020-08-07 22:31:32 -04:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-06-04 08:09:09 -06:00
2024-10-10 16:02:20 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-08-09 16:03:20 -06:00
2024-09-18 13:00:59 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00
2024-07-15 12:12:17 -06:00