Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
Greg Ungerer | d1db912 | 2011-10-19 11:46:03 +1000 | [diff] [blame] | 5 | config BOOTPARAM |
| 6 | bool 'Compiled-in Kernel Boot Parameter' |
| 7 | |
| 8 | config BOOTPARAM_STRING |
| 9 | string 'Kernel Boot Parameter' |
| 10 | default 'console=ttyS0,19200' |
| 11 | depends on BOOTPARAM |
| 12 | |
Kars de Jong | f999489 | 2008-11-20 13:47:18 +0100 | [diff] [blame] | 13 | config EARLY_PRINTK |
Finn Thain | 220921a | 2013-05-29 16:53:32 +1000 | [diff] [blame] | 14 | bool "Early printk" |
Finn Thain | 7913ad1 | 2014-04-12 23:48:56 +1000 | [diff] [blame] | 15 | depends on !(SUN3 || M68360 || M68000 || COLDFIRE) |
Kars de Jong | f999489 | 2008-11-20 13:47:18 +0100 | [diff] [blame] | 16 | help |
| 17 | Write kernel log output directly to a serial port. |
Finn Thain | 7913ad1 | 2014-04-12 23:48:56 +1000 | [diff] [blame] | 18 | Where implemented, output goes to the framebuffer as well. |
| 19 | PROM console functionality on Sun 3x is not affected by this option. |
| 20 | |
| 21 | Pass "earlyprintk" on the kernel command line to get a |
| 22 | boot console. |
Kars de Jong | f999489 | 2008-11-20 13:47:18 +0100 | [diff] [blame] | 23 | |
| 24 | This is useful for kernel debugging when your machine crashes very |
Finn Thain | 7913ad1 | 2014-04-12 23:48:56 +1000 | [diff] [blame] | 25 | early, i.e. before the normal console driver is loaded. |
Kars de Jong | f999489 | 2008-11-20 13:47:18 +0100 | [diff] [blame] | 26 | You should normally say N here, unless you want to debug such a crash. |
| 27 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 28 | if !MMU |
| 29 | |
| 30 | config FULLDEBUG |
| 31 | bool "Full Symbolic/Source Debugging support" |
| 32 | help |
| 33 | Enable debugging symbols on kernel build. |
| 34 | |
| 35 | config HIGHPROFILE |
| 36 | bool "Use fast second timer for profiling" |
| 37 | depends on COLDFIRE |
| 38 | help |
| 39 | Use a fast secondary clock to produce profiling information. |
| 40 | |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 41 | config NO_KERNEL_MSG |
| 42 | bool "Suppress Kernel BUG Messages" |
| 43 | help |
| 44 | Do not output any debug BUG messages within the kernel. |
| 45 | |
| 46 | config BDM_DISABLE |
| 47 | bool "Disable BDM signals" |
Kees Cook | 112f8b1 | 2012-10-23 13:01:27 -0700 | [diff] [blame] | 48 | depends on COLDFIRE |
Greg Ungerer | 66d857b | 2011-03-22 13:39:27 +1000 | [diff] [blame] | 49 | help |
| 50 | Disable the ColdFire CPU's BDM signals. |
| 51 | |
| 52 | endif |
| 53 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | endmenu |