[PATCH 2/4] boot: Add logic to enable booting from fallback option

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


On Wed, 2 Oct 2024 at 07:26, Martyn Welch <martyn.welch at collabora.com> wrote:
>
> The "fallback" extlinux config option allows us to set an alternative
> default boot option for when it has been detected that the default is
> failing. Implement the logic required to boot from this option when
> desired.
>
> Signed-off-by: Martyn Welch <martyn.welch at collabora.com>
> ---
>  boot/bootmeth_extlinux.c |  2 +-
>  boot/bootmeth_pxe.c      |  2 +-
>  boot/pxe_utils.c         | 14 +++++++++++++-
>  cmd/pxe.c                |  4 ++--
>  cmd/sysboot.c            |  2 +-
>  include/pxe_utils.h      | 10 +++++++++-
>  6 files changed, 27 insertions(+), 7 deletions(-)

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


More information about the U-Boot mailing list