]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sandbox: improve description of CONFIG_SANDBOX_CRASH_RESET
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 12 Feb 2024 08:37:30 +0000 (09:37 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2024 14:53:31 +0000 (08:53 -0600)
Mentions that command line option --signal is needed to make use of this
configuration option.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
arch/sandbox/Kconfig

index 0ce77de2fcb438a81f47e2b237fc1e0a994b4649..1c8353d6156d744cc8d4c54f6bcb5434cbcca591 100644 (file)
@@ -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