[PATCH] bootm: do not hang on failure

Simon Glass sjg at chromium.org
Thu Feb 18 05:45:39 CET 2021


On Wed, 17 Feb 2021 at 04:56, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On ARMv8 systems
>
>     load mmc 0:1 $loadaddr  vmlinuz-5.10.0-3-arm64
>     booti
>
> leads to a hanging system requiring to physically reset the system:
>
>     FDT and ATAGS support not compiled in - hanging
>     ### ERROR ### Please RESET the board ###
>
> For systems where physical access is difficult hanging is a poor choice.
> It is preferable to reset the system when U-Boot reaches a state that is
> not recoverable.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  arch/arm/lib/bootm.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)

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


More information about the U-Boot mailing list