From: Heinrich Schuchardt Date: Mon, 12 Feb 2024 08:37:30 +0000 (+0100) Subject: sandbox: improve description of CONFIG_SANDBOX_CRASH_RESET X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=7b2d32a7d6a782063bed80fa2161305eba627caa;p=u-boot.git sandbox: improve description of CONFIG_SANDBOX_CRASH_RESET Mentions that command line option --signal is needed to make use of this configuration option. Signed-off-by: Heinrich Schuchardt --- diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 0ce77de2fc..1c8353d615 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -58,10 +58,15 @@ config SANDBOX_CRASH_RESET bool "Reset on crash" help If an illegal instruction or an illegal memory access occurs, the - sandbox by default writes a crash dump and exits. If you set this - flag, the sandbox is reset instead. This may be useful when running - test suites like the UEFI self certification test which continue - with the next test after a crash. + sandbox exits with an error by default. + + If the u-boot binary is invoked with --signals (or -S), U-Boot will + handle the signal writing a crash dump before exiting. + + If you additionally set the CONFIG_SANDBOX_CRASH_RESET flag, the + sandbox is reset after writing the crash dump. This may be useful + when running test suites like the UEFI self certification test which + continue with the next test after a crash. config SANDBOX_BITS_PER_LONG int