1 # SPDX-License-Identifier: GPL-2.0 !! 1 menu "Kernel hacking" >> 2 >> 3 source "lib/Kconfig.debug" >> 4 >> 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 2 12 3 config EARLY_PRINTK 13 config EARLY_PRINTK 4 bool "Early printk" if EXPERT !! 14 bool "Early printk" if EMBEDDED 5 depends on SYS_HAS_EARLY_PRINTK !! 15 depends on MVME16x || MAC 6 default y 16 default y 7 help 17 help 8 This option enables special console !! 18 Write kernel log output directly to a serial port. 9 to print messages very early in the << 10 19 11 This is useful for kernel debugging !! 20 This is useful for kernel debugging when your machine crashes very 12 early before the console code is ini !! 21 early before the console code is initialized. 13 it is not recommended because it loo !! 22 You should normally say N here, unless you want to debug such a crash. 14 doesn't cooperate with an X server. << 15 unless you want to debug such a cras << 16 << 17 config EARLY_PRINTK_8250 << 18 bool << 19 depends on EARLY_PRINTK && USE_GENERIC << 20 default y << 21 help << 22 "8250/16550 and compatible serial ea << 23 If you say Y here, it will be possib << 24 port as the boot console. << 25 23 26 config USE_GENERIC_EARLY_PRINTK_8250 !! 24 if !MMU 27 bool << 28 25 29 config CMDLINE_BOOL !! 26 config FULLDEBUG 30 bool "Built-in kernel command line" !! 27 bool "Full Symbolic/Source Debugging support" 31 help 28 help 32 For most systems, it is firmware or !! 29 Enable debugging symbols on kernel build. 33 by default specifies the kernel comm << 34 it might be necessary or advantageou << 35 default kernel command line or add a << 36 For such cases, this option allows y << 37 command line options directly into t << 38 should choose 'Y' here, and fill in << 39 in CONFIG_CMDLINE. << 40 << 41 The built-in options will be concate << 42 line if CMDLINE_OVERRIDE is set to ' << 43 command line will be ignored and rep << 44 << 45 Most MIPS systems will normally expe << 46 the command line from the firmware o << 47 << 48 config CMDLINE << 49 string "Default kernel command string" << 50 depends on CMDLINE_BOOL << 51 help << 52 On some platforms, there is currentl << 53 pass arguments to the kernel. For t << 54 when you want to add some extra opti << 55 the default command line, you can su << 56 build time by entering them here. I << 57 kernel args so that you don't have t << 58 initialization routines. << 59 << 60 For more information, see the CMDLIN << 61 options. << 62 << 63 config CMDLINE_OVERRIDE << 64 bool "Built-in command line overrides << 65 depends on CMDLINE_BOOL << 66 help << 67 By setting this option to 'Y' you wi << 68 command line arguments from firmware << 69 Instead, the built-in command line w << 70 << 71 Normally, you will choose 'N' here. << 72 << 73 config SB1XXX_CORELIS << 74 bool "Corelis Debugger" << 75 depends on SIBYTE_SB1xxx_SOC << 76 select DEBUG_KERNEL if !COMPILE_TEST << 77 select DEBUG_INFO if !COMPILE_TEST << 78 help << 79 Select compile flags that produce co << 80 Corelis mksym utility and UDB Emulat << 81 30 82 config DEBUG_ZBOOT !! 31 config HIGHPROFILE 83 bool "Enable compressed kernel support !! 32 bool "Use fast second timer for profiling" 84 depends on DEBUG_KERNEL && SYS_SUPPORT !! 33 depends on COLDFIRE 85 default n << 86 help << 87 If you want to add compressed kernel << 88 board supports uart16550 compatible << 89 SYS_SUPPORTS_ZBOOT_UART16550 for you << 90 debug it. << 91 << 92 If your board doesn't support uart16 << 93 can try to select SYS_SUPPORTS_ZBOOT << 94 debug it. for example, add a new ser << 95 arch/mips/boot/compressed/uart-16550 << 96 << 97 After the compressed kernel support << 98 to reduce the kernel image size and << 99 little. << 100 << 101 config ZBOOT_INGENIC_UART << 102 int "UART to use for compressed kernel << 103 depends on DEBUG_ZBOOT && MACH_INGENIC << 104 default 0 << 105 range 0 4 << 106 help 34 help 107 Specify the UART that should be used !! 35 Use a fast secondary clock to produce profiling information. 108 36 109 config SPINLOCK_TEST !! 37 config NO_KERNEL_MSG 110 bool "Enable spinlock timing tests in !! 38 bool "Suppress Kernel BUG Messages" 111 depends on DEBUG_FS << 112 default n << 113 help 39 help 114 Add several files to the debugfs to !! 40 Do not output any debug BUG messages within the kernel. 115 41 116 config SCACHE_DEBUGFS !! 42 config BDM_DISABLE 117 bool "L2 cache debugfs entries" !! 43 bool "Disable BDM signals" 118 depends on DEBUG_FS !! 44 depends on COLDFIRE 119 help 45 help 120 Enable this to allow parts of the L2 !! 46 Disable the ColdFire CPU's BDM signals. 121 whether or not prefetching is enable << 122 via debugfs. << 123 << 124 If unsure, say N. << 125 << 126 menuconfig MIPS_CPS_NS16550_BOOL << 127 bool "CPS SMP NS16550 UART output" << 128 depends on MIPS_CPS << 129 help << 130 Output debug information via an ns16 << 131 occur early in the boot process of a << 132 << 133 if MIPS_CPS_NS16550_BOOL << 134 << 135 config MIPS_CPS_NS16550 << 136 def_bool MIPS_CPS_NS16550_BASE != 0 << 137 << 138 config MIPS_CPS_NS16550_BASE << 139 hex "UART Base Address" << 140 default 0x1b0003f8 if MIPS_MALTA << 141 default 0 << 142 help << 143 The base address of the ns16550 comp << 144 debug information from the early sta << 145 << 146 This is only used if non-zero. << 147 47 148 config MIPS_CPS_NS16550_SHIFT !! 48 endif 149 int "UART Register Shift" << 150 default 0 << 151 help << 152 The number of bits to shift ns16550 << 153 form their addresses. That is, log b << 154 adjacent ns16550 registers in the sy << 155 << 156 config MIPS_CPS_NS16550_WIDTH << 157 int "UART Register Width" << 158 default 1 << 159 help << 160 ns16550 registers width. UART regist << 161 selected in accordance with this par << 162 4 UART registers will be accessed by << 163 instructions respectively. Any value << 164 lb/sb instructions. << 165 49 166 endif # MIPS_CPS_NS16550_BOOL !! 50 endmenu
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.