[PATCH 1/4] boot: pxe_utils: Add fallback support

Simon Glass sjg at chromium.org
Wed Oct 9 03:51:08 CEST 2024


On Wed, 2 Oct 2024 at 07:26, Martyn Welch <martyn.welch at collabora.com> wrote:
>
> When configured correctly, we can detect when boot fails after the boot
> process has been handed over to the kernel through the use of U-Boot's
> bootcount support. In some instances, such as when we are performing
> atomic updates via a system such as OSTree, it is desirable to provide a
> fallback option so that we can return to a previous (hopefully working)
> state.
>
> Add a "fallback" option to the supported extlinux configuration options
> that points to a label like "default" so that we can utilise this in
> later commits.
>
> Signed-off-by: Martyn Welch <martyn.welch at collabora.com>
> ---
>  boot/pxe_utils.c    | 15 +++++++++++++++
>  doc/README.pxe      |  5 +++++
>  include/pxe_utils.h |  2 ++
>  3 files changed, 22 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list