提交 2b228e8c 编写于 作者: A Arnd Bergmann

Merge branch 'depends/rmk/debug' into highbank/soc

...@@ -65,57 +65,86 @@ config DEBUG_USER ...@@ -65,57 +65,86 @@ config DEBUG_USER
# These options are only for real kernel hackers who want to get their hands dirty. # These options are only for real kernel hackers who want to get their hands dirty.
config DEBUG_LL config DEBUG_LL
bool "Kernel low-level debugging functions" bool "Kernel low-level debugging functions (read help!)"
depends on DEBUG_KERNEL depends on DEBUG_KERNEL
help help
Say Y here to include definitions of printascii, printch, printhex Say Y here to include definitions of printascii, printch, printhex
in the kernel. This is helpful if you are debugging code that in the kernel. This is helpful if you are debugging code that
executes before the console is initialized. executes before the console is initialized.
config EARLY_PRINTK Note that selecting this option will limit the kernel to a single
bool "Early printk" UART definition, as specified below. Attempting to boot the kernel
image on a different platform *will not work*, so this option should
not be enabled for kernels that are intended to be portable.
choice
prompt "Kernel low-level debugging port"
depends on DEBUG_LL depends on DEBUG_LL
config DEBUG_LL_UART_NONE
bool "No low-level debugging UART"
help help
Say Y here if you want to have an early console using the Say Y here if your platform doesn't provide a UART option
kernel low-level debugging functions. Add earlyprintk to your below. This relies on your platform choosing the right UART
kernel parameters to enable this console. definition internally in order for low-level debugging to
work.
config DEBUG_ICEDCC config DEBUG_ICEDCC
bool "Kernel low-level debugging via EmbeddedICE DCC channel" bool "Kernel low-level debugging via EmbeddedICE DCC channel"
depends on DEBUG_LL
help help
Say Y here if you want the debug print routines to direct their Say Y here if you want the debug print routines to direct
output to the EmbeddedICE macrocell's DCC channel using their output to the EmbeddedICE macrocell's DCC channel using
co-processor 14. This is known to work on the ARM9 style ICE co-processor 14. This is known to work on the ARM9 style ICE
channel and on the XScale with the PEEDI. channel and on the XScale with the PEEDI.
It does include a timeout to ensure that the system does not Note that the system will appear to hang during boot if there
totally freeze when there is nothing connected to read. is nothing connected to read from the DCC.
config OC_ETM config DEBUG_FOOTBRIDGE_COM1
bool "On-chip ETM and ETB" bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1"
select ARM_AMBA depends on FOOTBRIDGE
help help
Enables the on-chip embedded trace macrocell and embedded trace Say Y here if you want the debug print routines to direct
buffer driver that will allow you to collect traces of the their output to the 8250 at PCI COM1.
kernel code.
config DEBUG_DC21285_PORT config DEBUG_DC21285_PORT
bool "Kernel low-level debugging messages via footbridge serial port" bool "Kernel low-level debugging messages via footbridge serial port"
depends on DEBUG_LL && FOOTBRIDGE depends on FOOTBRIDGE
help
Say Y here if you want the debug print routines to direct
their output to the serial port in the DC21285 (Footbridge).
config DEBUG_CLPS711X_UART1
bool "Kernel low-level debugging messages via UART1"
depends on ARCH_CLPS711X
help help
Say Y here if you want the debug print routines to direct their Say Y here if you want the debug print routines to direct
output to the serial port in the DC21285 (Footbridge). Saying N their output to the first serial port on these devices.
will cause the debug messages to appear on the first 16550
serial port.
config DEBUG_CLPS711X_UART2 config DEBUG_CLPS711X_UART2
bool "Kernel low-level debugging messages via UART2" bool "Kernel low-level debugging messages via UART2"
depends on DEBUG_LL && ARCH_CLPS711X depends on ARCH_CLPS711X
help help
Say Y here if you want the debug print routines to direct their Say Y here if you want the debug print routines to direct
output to the second serial port on these devices. Saying N will their output to the second serial port on these devices.
cause the debug messages to appear on the first serial port.
endchoice
config EARLY_PRINTK
bool "Early printk"
depends on DEBUG_LL
help
Say Y here if you want to have an early console using the
kernel low-level debugging functions. Add earlyprintk to your
kernel parameters to enable this console.
config OC_ETM
bool "On-chip ETM and ETB"
select ARM_AMBA
help
Enables the on-chip embedded trace macrocell and embedded trace
buffer driver that will allow you to collect traces of the
kernel code.
config DEBUG_S3C_UART config DEBUG_S3C_UART
depends on PLAT_SAMSUNG depends on PLAT_SAMSUNG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册