[source] kernel: enable CRASH_DUMP on supported platforms

LEDE Commits lede-commits at lists.infradead.org
Fri May 19 15:27:07 PDT 2017


dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/48d71ab5021e5238623bab2f87b6425b2609c60a

commit 48d71ab5021e5238623bab2f87b6425b2609c60a
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat May 20 00:20:35 2017 +0200

    kernel: enable CRASH_DUMP on supported platforms
    
    While we have CRASHLOG on MIPS it makes sense to support 'classic'
    kexec-based CRASH_DUMP on x86 and arm platforms.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-kernel.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index f65e3da..ebc8e1f 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -231,6 +231,16 @@ config KERNEL_RELAY
 config KERNEL_KEXEC
 	bool "Enable kexec support"
 
+config KERNEL_PROC_VMCORE
+	bool
+
+config KERNEL_CRASH_DUMP
+	depends on i386 || x86_64 || arm || armeb
+	select KERNEL_KEXEC
+	select KERNEL_PROC_VMCORE
+	bool "Enable support for kexec crashdump"
+	default y
+
 config USE_RFKILL
 	bool "Enable rfkill support"
 	default RFKILL_SUPPORT



More information about the lede-commits mailing list