]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: do not hang on failure
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 17 Feb 2021 11:55:54 +0000 (12:55 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:17:11 +0000 (17:17 -0400)
commit0ca7c4d964dcce1ca3e0f7e1cdb8031561fdeab6
tree5f81bff7bc653177d788caa86ea29ccd7f21dc6e
parenta479f103dc1c801d0c6fe90bbaf99ae1700a84dc
bootm: do not hang on failure

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/bootm.c