From a6b1b06dfe86b0204207f13b875e12600e9903df Mon Sep 17 00:00:00 2001 From: Yacine Belkadi Date: Thu, 26 Apr 2012 17:31:40 +0200 Subject: cleo/u-boot: set linux to reboot on panic, closes #3084 Ask the Linux kernel to reboot after 1 second, if a panic occurs. This is set in the boot parameters, instead of in a sysctl.conf file, in order to cover panics occuring during the boot process (from drivers for example). --- cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h index 4b99d6e56f..75d03a8a3c 100644 --- a/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h +++ b/cleopatre/u-boot-1.1.6/include/configs/spc300_arch.h @@ -125,9 +125,9 @@ /* Boot parameters given to Linux */ #ifdef CONFIG_CHIP_FEATURE_LINUX_MEM_WORKAROUND /* Workaround for #2842. */ -# define CONFIG_BOOTARGS "console=ttyS0,115200 mem=28M" +# define CONFIG_BOOTARGS "console=ttyS0,115200 panic=1 mem=28M" #else -# define CONFIG_BOOTARGS "console=ttyS0,115200" +# define CONFIG_BOOTARGS "console=ttyS0,115200 panic=1" #endif /* Allow the following commands */ -- cgit v1.2.3