Add support for enabling early printk.
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Sep 2010 16:27:02 +0000 (16:27 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 15 Sep 2010 16:27:02 +0000 (16:27 +0000)
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

index c750a25..651cbde 100644 (file)
--- 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
This page took 0.032762 seconds and 4 git commands to generate.