From 2e7a68301991a5ce6b5bfb78330c45361adc5ec8 Mon Sep 17 00:00:00 2001 From: mb Date: Wed, 15 Sep 2010 16:27:02 +0000 Subject: [PATCH] Add support for enabling early printk. Currently only for ARM, because I don't know what EARLY_PRINTK depends on on other architectures. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23071 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- Config.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Config.in b/Config.in index c750a2533..651cbdef5 100644 --- a/Config.in +++ b/Config.in @@ -199,6 +199,25 @@ menu "Global build settings" help This will compile your kernel and modules with debug information. + config KERNEL_DEBUG_LL + bool + default n + depends on arm + help + ARM low level debugging + + config KERNEL_EARLY_PRINTK + bool "Compile the kernel with early printk" + default n + depends on arm + select KERNEL_DEBUG_KERNEL + select KERNEL_DEBUG_LL if arm + help + Compile the kernel with early printk support. + This is only useful for debugging purposes to send messages + over the serial console in early boot. + Enable this to debug early boot problems. + comment "Package build options" config DEBUG -- 2.20.1