1 # SPDX-License-Identifier: GPL-2.0 !! 1 menu "Kernel hacking" 2 2 3 config EARLY_PRINTK !! 3 source "lib/Kconfig.debug" 4 bool "Early printk" if EXPERT << 5 depends on SYS_HAS_EARLY_PRINTK << 6 default y << 7 help << 8 This option enables special console << 9 to print messages very early in the << 10 << 11 This is useful for kernel debugging << 12 early before the console code is ini << 13 it is not recommended because it loo << 14 doesn't cooperate with an X server. << 15 unless you want to debug such a cras << 16 4 17 config EARLY_PRINTK_8250 !! 5 config EARLY_PRINTK 18 bool 6 bool 19 depends on EARLY_PRINTK && USE_GENERIC !! 7 depends on ALPHA_GENERIC || ALPHA_SRM 20 default y 8 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 << 26 config USE_GENERIC_EARLY_PRINTK_8250 << 27 bool << 28 << 29 config CMDLINE_BOOL << 30 bool "Built-in kernel command line" << 31 help << 32 For most systems, it is firmware or << 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 << 82 config DEBUG_ZBOOT << 83 bool "Enable compressed kernel support << 84 depends on DEBUG_KERNEL && SYS_SUPPORT << 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 << 107 Specify the UART that should be used << 108 9 109 config SPINLOCK_TEST !! 10 config ALPHA_LEGACY_START_ADDRESS 110 bool "Enable spinlock timing tests in !! 11 bool "Legacy kernel start address" 111 depends on DEBUG_FS !! 12 depends on ALPHA_GENERIC 112 default n 13 default n 113 help !! 14 ---help--- 114 Add several files to the debugfs to !! 15 The 2.4 kernel changed the kernel start address from 0x310000 115 !! 16 to 0x810000 to make room for the Wildfire's larger SRM console. 116 config SCACHE_DEBUGFS !! 17 Recent consoles on Titan and Marvel machines also require the 117 bool "L2 cache debugfs entries" !! 18 extra room. 118 depends on DEBUG_FS !! 19 119 help !! 20 If you're using aboot 0.7 or later, the bootloader will examine the 120 Enable this to allow parts of the L2 !! 21 ELF headers to determine where to transfer control. Unfortunately, 121 whether or not prefetching is enable !! 22 most older bootloaders -- APB or MILO -- hardcoded the kernel start 122 via debugfs. !! 23 address rather than examining the ELF headers, and the result is a 123 !! 24 hard lockup. 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 25 133 if MIPS_CPS_NS16550_BOOL !! 26 Say Y if you have a broken bootloader. Say N if you do not, or if >> 27 you wish to run on Wildfire, Titan, or Marvel. 134 28 135 config MIPS_CPS_NS16550 !! 29 config ALPHA_LEGACY_START_ADDRESS 136 def_bool MIPS_CPS_NS16550_BASE != 0 !! 30 bool 137 !! 31 depends on !ALPHA_GENERIC && !ALPHA_TITAN && !ALPHA_MARVEL && !ALPHA_WILDFIRE 138 config MIPS_CPS_NS16550_BASE !! 32 default y 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 33 148 config MIPS_CPS_NS16550_SHIFT !! 34 config MATHEMU 149 int "UART Register Shift" !! 35 tristate "Kernel FP software completion" if DEBUG_KERNEL && !SMP 150 default 0 !! 36 default y if !DEBUG_KERNEL || SMP 151 help !! 37 help 152 The number of bits to shift ns16550 !! 38 This option is required for IEEE compliant floating point arithmetic 153 form their addresses. That is, log b !! 39 on the Alpha. The only time you would ever not say Y is to say M in 154 adjacent ns16550 registers in the sy !! 40 order to debug the code. Say Y unless you know what you are doing. 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 41 166 endif # MIPS_CPS_NS16550_BOOL !! 42 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.