menu "Kernel hacking"
config [31mCONFIG_TRACE_IRQFLAGS_SUPPORT[0m
bool
default y
source "lib/Kconfig.debug"
config [31mCONFIG_EARLY_PRINTK[0m
bool "Early printk" if [31mCONFIG_EXPERT[0m
depends on [31mCONFIG_SYS_HAS_EARLY_PRINTK[0m
default y
help
This option enables special console drivers which allow the kernel
to print messages very early in the bootup process.
This is useful for kernel debugging when your machine crashes very
early before the console code is initialized. For normal operation,
it is not recommended because it looks ugly on some machines and
doesn't cooperate with an X server. You should normally say N here,
unless you want to debug such a crash.
config [31mCONFIG_EARLY_PRINTK_8250[0m
bool
depends on [31mCONFIG_EARLY_PRINTK[0m && [31mCONFIG_USE_GENERIC_EARLY_PRINTK_8250[0m
default y
help
"8250/16550 and compatible serial early printk driver"
If you say Y here, it will be possible to use a 8250/16550 serial
port as the boot console.
config [31mCONFIG_USE_GENERIC_EARLY_PRINTK_8250[0m
bool
config [31mCONFIG_CMDLINE_BOOL[0m
bool "Built-in kernel command line"
default n
help
For most systems, it is firmware or second stage bootloader that
by default specifies the kernel command line options. However,
it might be necessary or advantageous to either override the
default kernel command line or add a few extra options to it.
For such cases, this option allows you to hardcode your own
command line options directly into the kernel. For that, you
should choose 'Y' here, and fill in the extra boot arguments
in CONFIG_CMDLINE.
The built-in options will be concatenated to the default command
line if [31mCONFIG_CMDLINE_OVERRIDE[0m is set to 'N'. Otherwise, the default
command line will be ignored and replaced by the built-in string.
Most [31mCONFIG_MIPS[0m systems will normally expect 'N' here and rely upon
the command line from the firmware or the second-stage bootloader.
config [31mCONFIG_CMDLINE[0m
string "Default kernel command string"
depends on [31mCONFIG_CMDLINE_BOOL[0m
default ""
help
On some platforms, there is currently no way for the boot loader to
pass arguments to the kernel. For these platforms, and for the cases
when you want to add some extra options to the command line or ignore
the default command line, you can supply some command-line options at
build time by entering them here. In other cases you can specify
kernel args so that you don't have to set them up in board prom
initialization routines.
For more information, see the [31mCONFIG_CMDLINE_BOOL[0m and [31mCONFIG_CMDLINE_OVERRIDE[0m
options.
config [31mCONFIG_CMDLINE_OVERRIDE[0m
bool "Built-in command line overrides firmware arguments"
default n
depends on [31mCONFIG_CMDLINE_BOOL[0m
help
By setting this option to 'Y' you will have your kernel ignore
command line arguments from firmware or second stage bootloader.
Instead, the built-in command line will be used exclusively.
Normally, you will choose 'N' here.
config [31mCONFIG_SB1XXX_CORELIS[0m
bool "Corelis Debugger"
depends on [31mCONFIG_SIBYTE_SB1xxx_SOC[0m
select [31mCONFIG_DEBUG_INFO[0m
help
Select compile flags that produce code that can be processed by the
Corelis mksym utility and UDB Emulator.
config [31mCONFIG_DEBUG_ZBOOT[0m
bool "Enable compressed kernel support debugging"
depends on [31mCONFIG_DEBUG_KERNEL[0m && [31mCONFIG_SYS_SUPPORTS_ZBOOT[0m
default n
help
If you want to add compressed kernel support to a new board, and the
board supports uart16550 compatible serial port, please select
[31mCONFIG_SYS_SUPPORTS_ZBOOT_UART16550[0m for your board and enable this option to
debug it.
If your board doesn't support uart16550 compatible serial port, you
can try to select [31mCONFIG_SYS_SUPPORTS_ZBOOT[0m and use the other methods to
debug it. for example, add a new serial port support just as
arch/mips/boot/compressed/uart-16550.c does.
After the compressed kernel support works, please disable this option
to reduce the kernel image size and speed up the booting procedure a
little.
config [31mCONFIG_SPINLOCK_TEST[0m
bool "Enable spinlock timing tests in debugfs"
depends on [31mCONFIG_DEBUG_FS[0m
default n
help
Add several files to the debugfs to test spinlock speed.
config [31mCONFIG_SCACHE_DEBUGFS[0m
bool "L2 cache debugfs entries"
depends on [31mCONFIG_DEBUG_FS[0m
help
Enable this to allow parts of the L2 cache configuration, such as
whether or not prefetching is enabled, to be exposed to userland
via debugfs.
If unsure, say N.
menuconfig [31mCONFIG_MIPS_CPS_NS16550[0m
bool "CPS SMP NS16550 UART output"
depends on [31mCONFIG_MIPS_CPS[0m
help
Output debug information via an ns16550 compatible UART if exceptions
occur early in the boot process of a secondary core.
if [31mCONFIG_MIPS_CPS_NS16550[0m
config [31mCONFIG_MIPS_CPS_NS16550_BASE[0m
hex "UART Base Address"
default 0x1b0003f8 if [31mCONFIG_MIPS_MALTA[0m
help
The base address of the ns16550 compatible UART on which to output
debug information from the early stages of core startup.
config [31mCONFIG_MIPS_CPS_NS16550_SHIFT[0m
int "UART Register Shift"
default 0 if [31mCONFIG_MIPS_MALTA[0m
help
The number of bits to shift ns16550 register indices by in order to
form their addresses. That is, log base 2 of the span between
adjacent ns16550 registers in the system.
endif # [31mCONFIG_MIPS_CPS_NS16550[0m
endmenu