Kconfig.debug

CONFIG_ARM_PTDUMP_CORE

Unknown
Default
  • n

CONFIG_ARM_PTDUMP_DEBUGFS Export kernel pagetable layout to userspace via debugfs

Unknown

Say Y here if you want to show the kernel pagetable layout in a debugfs file. This information is only useful for kernel developers who are working in architecture specific areas of the kernel. It is probably not a good idea to enable this feature in a production kernel. If in doubt, say "N"

CONFIG_ARM_CHECK_WX Warn on W+X mappings at boot

Unknown

Generate a warning if any W+X mappings are found at boot.

This is useful for discovering cases where the kernel is leaving W+X mappings after applying NX, as such mappings are a security risk.

Look for a message in dmesg output like this:

        arm/mm: Checked W+X mappings: passed, no W+X pages found.

or like this, if the check failed:

        arm/mm: Checked W+X mappings: FAILED, <N> W+X pages found.

Note that even if the check fails, your kernel is possibly still fine, as W+X mappings are not a security hole in themselves, what they do is that they make the exploitation of other unfixed kernel bugs easier.

There is no runtime or memory usage effect of this option once the kernel has booted up - it's a one time check.

If in doubt, say "Y".

Choose kernel unwinder

This determines which method will be used for unwinding kernel stack traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack, livepatch, lockdep, and more.

CONFIG_UNWINDER_ARM ARM EABI stack unwinder

Unknown

This option enables stack unwinding support in the kernel using the information automatically generated by the compiler. The resulting kernel image is slightly bigger but the performance is not affected. Currently, this feature only works with EABI compilers.

End of Choose kernel unwinder

CONFIG_ARM_UNWIND

Unknown

CONFIG_BACKTRACE_VERBOSE Verbose backtrace

Unknown

When the kernel produces a warning or oops, the kernel prints a trace of the call chain. This option controls whether we include the numeric addresses or only include the symbolic information.

In most cases, say N here, unless you are intending to debug the kernel and have access to the kernel binary image.

CONFIG_DEBUG_USER Verbose user fault messages

Unknown

When a user program crashes due to an exception, the kernel can print a brief message explaining what the problem was. This is sometimes helpful for debugging but serves no purpose on a production system. Most people should say N here.

In addition, you need to pass user_debug=N on the kernel command line to enable this feature. N consists of the sum of:

    1 - undefined instruction events
    2 - system calls
    4 - invalid data aborts
    8 - SIGSEGV faults
   16 - SIGBUS faults

CONFIG_DEBUG_LL Kernel low-level debugging functions (read help!)

Unknown

Say Y here to include definitions of printascii, printch, printhex in the kernel. This is helpful if you are debugging code that executes before the console is initialized.

Note that selecting this option will limit the kernel to a single 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.

Kernel low-level debugging port

CONFIG_DEBUG_ALPINE_UART0 Kernel low-level debugging messages via Alpine UART0

Unknown

Say Y here if you want kernel low-level debugging support on Alpine based platforms.

CONFIG_DEBUG_ASM9260_UART Kernel low-level debugging via asm9260 UART

Unknown

Say Y here if you want the debug print routines to direct their output to an UART or USART port on asm9260 based machines.

  DEBUG_UART_PHYS | DEBUG_UART_VIRT
  0x80000000      | 0xf0000000     | UART0
  0x80004000      | 0xf0004000     | UART1
  0x80008000      | 0xf0008000     | UART2
  0x8000c000      | 0xf000c000     | UART3
  0x80010000      | 0xf0010000     | UART4
  0x80014000      | 0xf0014000     | UART5
  0x80018000      | 0xf0018000     | UART6
  0x8001c000      | 0xf001c000     | UART7
  0x80020000      | 0xf0020000     | UART8
  0x80024000      | 0xf0024000     | UART9

CONFIG_DEBUG_AT91_RM9200_DBGU Kernel low-level debugging on AT91RM9200, AT91SAM9, SAM9X60 DBGU

Unknown
Say Y here if you want kernel low-level debugging support
on the DBGU port of:
  at91rm9200, at91sam9260, at91sam9g20, at91sam9261,
  at91sam9g10, at91sam9n12, at91sam9rl64, at91sam9x5, sam9x60

CONFIG_DEBUG_AT91_SAM9263_DBGU Kernel low-level debugging on AT91SAM{9263,9G45,A5D3} DBGU

Unknown
Say Y here if you want kernel low-level debugging support
on the DBGU port of:
  at91sam9263, at91sam9g45, at91sam9m10,
  sama5d3

CONFIG_DEBUG_AT91_SAMA5D2_UART1 Kernel low-level debugging on SAMA5D2 UART1

Unknown

Say Y here if you want kernel low-level debugging support on the UART1 port of sama5d2.

CONFIG_DEBUG_AT91_SAMA5D4_USART3 Kernel low-level debugging on SAMA5D4 USART3

Unknown

Say Y here if you want kernel low-level debugging support on the USART3 port of sama5d4.

CONFIG_DEBUG_AT91_SAMV7_USART1 Kernel low-level debugging via SAMV7 USART1

Unknown

Say Y here if you want the debug print routines to direct their output to the USART1 port on SAMV7 based machines.

CONFIG_DEBUG_AT91_SAMA7G5_FLEXCOM3 Kernel low-level debugging on SAMA7G5 FLEXCOM3

Unknown

Say Y here if you want kernel low-level debugging support on the FLEXCOM3 port of SAMA7G5.

CONFIG_DEBUG_AT91_LAN966_FLEXCOM Kernel low-level debugging on LAN966 FLEXCOM USART

Unknown
Kconfig details
Say Y here if you want kernel low-level debugging support
on the FLEXCOM port of LAN966.
DEBUG_UART_PHYS | DEBUG_UART_VIRT
0xe0040200      | 0xfd040200     | FLEXCOM0
0xe0044200      | 0xfd044200     | FLEXCOM1
0xe0060200      | 0xfd060200     | FLEXCOM2
0xe0064200      | 0xfd064200     | FLEXCOM3
0xe0070200      | 0xfd070200     | FLEXCOM4
By default, enabling FLEXCOM3 port. Based on requirement, use
DEBUG_UART_PHYS and DEBUG_UART_VIRT configurations from above
table.

CONFIG_DEBUG_BCMBCA Kernel low-level debugging on BCMBCA UART0

Unknown
  • Depends on

CONFIG_DEBUG_BCM_IPROC_UART3 Kernel low-level debugging on BCM IPROC UART3

Unknown

Say Y here if you want the debug print routines to direct their output to the third serial port on these devices.

CONFIG_DEBUG_BCM_KONA_UART Kernel low-level debugging messages via BCM KONA UART

Unknown

Say Y here if you want kernel low-level debugging support on Broadcom SoC platforms. This low level debug works for Broadcom mobile SoCs in the Kona family of chips (e.g. bcm28155, bcm11351, etc...)

CONFIG_DEBUG_BCM63XX_UART Kernel low-level debugging on BCM63XX UART

Unknown
  • Depends on

CONFIG_DEBUG_BERLIN_UART Marvell Berlin SoC Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on Marvell Berlin SoC based platforms.

CONFIG_DEBUG_BRCMSTB_UART Use BRCMSTB UART for low-level debug

Unknown

Say Y here if you want the debug print routines to direct their output to the first serial port on these devices. The UART physical and virtual address is automatically provided based on the chip identification register value.

If you have a Broadcom STB chip and would like early print messages to appear over the UART, select this option.

  • Depends on

CONFIG_DEBUG_CLPS711X_UART1 Kernel low-level debugging messages via UART1

Unknown

Say Y here if you want the debug print routines to direct their output to the first serial port on these devices.

CONFIG_DEBUG_CLPS711X_UART2 Kernel low-level debugging messages via UART2

Unknown

Say Y here if you want the debug print routines to direct their output to the second serial port on these devices.

CONFIG_DEBUG_DAVINCI_DA8XX_UART1 Kernel low-level debugging on DaVinci DA8XX using UART1

Unknown

Say Y here if you want the debug print routines to direct their output to UART1 serial port on DaVinci DA8XX devices.

CONFIG_DEBUG_DAVINCI_DA8XX_UART2 Kernel low-level debugging on DaVinci DA8XX using UART2

Unknown

Say Y here if you want the debug print routines to direct their output to UART2 serial port on DaVinci DA8XX devices.

CONFIG_DEBUG_DC21285_PORT Kernel low-level debugging messages via footbridge serial port

Unknown

Say Y here if you want the debug print routines to direct their output to the serial port in the DC21285 (Footbridge).

CONFIG_DEBUG_DIGICOLOR_UA0 Kernel low-level debugging messages via Digicolor UA0

Unknown

Say Y here if you want the debug print routines to direct their output to the UA0 serial port in the CX92755.

CONFIG_DEBUG_EP93XX Kernel low-level debugging messages via ep93xx UART

Unknown

Say Y here if you want kernel low-level debugging support on Cirrus Logic EP93xx based platforms.

CONFIG_DEBUG_FOOTBRIDGE_COM1 Kernel low-level debugging messages via footbridge 8250 at PCI COM1

Unknown

Say Y here if you want the debug print routines to direct their output to the 8250 at PCI COM1.

CONFIG_DEBUG_GEMINI Kernel low-level debugging messages via Cortina Systems Gemini UART

Unknown

Say Y here if you want kernel low-level debugging support on Cortina Gemini based platforms.

CONFIG_DEBUG_HI3620_UART Hisilicon HI3620 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on HI3620 UART.

CONFIG_DEBUG_HIGHBANK_UART Kernel low-level debugging messages via Highbank UART

Unknown

Say Y here if you want the debug print routines to direct their output to the UART on Highbank based devices.

CONFIG_DEBUG_HIP01_UART Hisilicon Hip01 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on HIP01 UART.

CONFIG_DEBUG_HIP04_UART Hisilicon HiP04 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on HIP04 UART.

CONFIG_DEBUG_HIX5HD2_UART Hisilicon Hix5hd2 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on Hix5hd2 UART.

CONFIG_DEBUG_IMX1_UART i.MX1 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX1.

CONFIG_DEBUG_IMX23_UART i.MX23 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX23.

CONFIG_DEBUG_IMX25_UART i.MX25 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX25.

CONFIG_DEBUG_IMX27_UART i.MX27 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX27.

CONFIG_DEBUG_IMX28_UART i.MX28 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX28.

CONFIG_DEBUG_IMX31_UART i.MX31 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX31.

CONFIG_DEBUG_IMX35_UART i.MX35 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX35.

CONFIG_DEBUG_IMX50_UART i.MX50 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX50.

CONFIG_DEBUG_IMX51_UART i.MX51 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX51.

CONFIG_DEBUG_IMX53_UART i.MX53 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX53.

CONFIG_DEBUG_IMX6Q_UART i.MX6Q/DL Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX6Q/DL.

CONFIG_DEBUG_IMX6SL_UART i.MX6SL Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX6SL.

CONFIG_DEBUG_IMX6SX_UART i.MX6SX Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX6SX.

CONFIG_DEBUG_IMX6UL_UART i.MX6UL Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX6UL.

CONFIG_DEBUG_IMX7D_UART i.MX7D Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on i.MX7D.

CONFIG_DEBUG_INTEGRATOR Kernel low-level debugging messages via ARM Integrator UART

Unknown

Say Y here if you want kernel low-level debugging support on ARM Integrator platforms.

CONFIG_DEBUG_KEYSTONE_UART0 Kernel low-level debugging on KEYSTONE2 using UART0

Unknown

Say Y here if you want the debug print routines to direct their output to UART0 serial port on KEYSTONE2 devices.

CONFIG_DEBUG_KEYSTONE_UART1 Kernel low-level debugging on KEYSTONE2 using UART1

Unknown

Say Y here if you want the debug print routines to direct their output to UART1 serial port on KEYSTONE2 devices.

CONFIG_DEBUG_LPC18XX_UART0 Kernel low-level debugging via LPC18xx/43xx UART0

Unknown

Say Y here if you want kernel low-level debugging support on NXP LPC18xx/43xx UART0.

CONFIG_DEBUG_LPC32XX Kernel low-level debugging messages via NXP LPC32xx UART

Unknown

Say Y here if you want kernel low-level debugging support on NXP LPC32xx based platforms.

CONFIG_DEBUG_MESON_UARTAO Kernel low-level debugging via Meson6 UARTAO

Unknown

Say Y here if you want kernel low-lever debugging support on Amlogic Meson6 based platforms on the UARTAO.

  • Depends on

CONFIG_DEBUG_MMP_UART2 Kernel low-level debugging message via MMP UART2

Unknown

Say Y here if you want kernel low-level debugging support on MMP UART2.

CONFIG_DEBUG_MMP_UART3 Kernel low-level debugging message via MMP UART3

Unknown

Say Y here if you want kernel low-level debugging support on MMP UART3.

CONFIG_DEBUG_MVEBU_UART0 Kernel low-level debugging messages via MVEBU UART0 (old bootloaders)

Unknown

Say Y here if you want kernel low-level debugging support on MVEBU based platforms on UART0.

This option should be used with the old bootloaders that left the internal registers mapped at 0xd0000000. As of today, this is the case on platforms such as the Globalscale Mirabox or the Plathome OpenBlocks AX3, when using the original bootloader.

This option will not work on older Marvell platforms (Kirkwood, Dove, MV78xx0, Orion5x), which should pick the "new bootloader" variant.

If the wrong DEBUG_MVEBU_UART* option is selected, when u-boot hands over to the kernel, the system silently crashes, with no serial output at all.

CONFIG_DEBUG_MVEBU_UART0_ALTERNATE Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)

Unknown

Say Y here if you want kernel low-level debugging support on MVEBU based platforms on UART0. (Armada XP, Armada 3xx, Kirkwood, Dove, MV78xx0, Orion5x).

This option should be used with the new bootloaders that remap the internal registers at 0xf1000000.

If the wrong DEBUG_MVEBU_UART* option is selected, when u-boot hands over to the kernel, the system silently crashes, with no serial output at all.

CONFIG_DEBUG_MVEBU_UART1_ALTERNATE Kernel low-level debugging messages via MVEBU UART1 (new bootloaders)

Unknown

Say Y here if you want kernel low-level debugging support on MVEBU based platforms on UART1. (Armada XP, Armada 3xx, Kirkwood, Dove, MV78xx0, Orion5x).

This option should be used with the new bootloaders that remap the internal registers at 0xf1000000. All of the older (pre Armada XP/370) platforms also use this address, regardless of the boot loader version.

If the wrong DEBUG_MVEBU_UART* option is selected, when u-boot hands over to the kernel, the system silently crashes, with no serial output at all.

CONFIG_DEBUG_MSTARV7_PMUART Kernel low-level debugging messages via MSTARV7 PM UART

Unknown

Say Y here if you want kernel low-level debugging support for MSTAR ARMv7-based platforms on PM UART.

CONFIG_DEBUG_MT6589_UART0 Mediatek mt6589 UART0

Unknown

Say Y here if you want kernel low-level debugging support for Mediatek mt6589 based platforms on UART0.

CONFIG_DEBUG_MT8127_UART0 Mediatek mt8127/mt6592 UART0

Unknown

Say Y here if you want kernel low-level debugging support for Mediatek mt8127 based platforms on UART0.

CONFIG_DEBUG_MT8135_UART3 Mediatek mt8135 UART3

Unknown

Say Y here if you want kernel low-level debugging support for Mediatek mt8135 based platforms on UART3.

CONFIG_DEBUG_NOMADIK_UART Kernel low-level debugging messages via NOMADIK UART

Unknown

Say Y here if you want kernel low-level debugging support on NOMADIK based platforms.

CONFIG_DEBUG_NSPIRE_CLASSIC_UART Kernel low-level debugging via TI-NSPIRE 8250 UART

Unknown

Say Y here if you want kernel low-level debugging support on TI-NSPIRE classic models.

CONFIG_DEBUG_NSPIRE_CX_UART Kernel low-level debugging via TI-NSPIRE PL011 UART

Unknown

Say Y here if you want kernel low-level debugging support on TI-NSPIRE CX models.

CONFIG_DEBUG_OMAP1UART1 Kernel low-level debugging via OMAP1 UART1

Unknown

Say Y here if you want kernel low-level debugging support on OMAP1 based platforms (except OMAP730) on the UART1.

CONFIG_DEBUG_OMAP1UART2 Kernel low-level debugging via OMAP1 UART2

Unknown

Say Y here if you want kernel low-level debugging support on OMAP1 based platforms (except OMAP730) on the UART2.

CONFIG_DEBUG_OMAP1UART3 Kernel low-level debugging via OMAP1 UART3

Unknown

Say Y here if you want kernel low-level debugging support on OMAP1 based platforms (except OMAP730) on the UART3.

CONFIG_DEBUG_OMAP2UART1 OMAP2/3/4 UART1 (omap2/3 sdp boards and some omap3 boards)

Unknown

This covers at least h4, 2430sdp, 3430sdp, 3630sdp, omap3 torpedo and 3530 lv som.

CONFIG_DEBUG_OMAP3UART3 Kernel low-level debugging messages via OMAP3 UART3 (most omap3 boards)

Unknown

This covers at least cm_t3x, beagle, crane, devkit8000, igep00x0, ldp, n900, n9(50), pandora, overo, touchbook, and 3517evm.

CONFIG_DEBUG_OMAP4UART3 Kernel low-level debugging messages via OMAP4/5 UART3 (omap4 blaze, panda, omap5 sevm)

Unknown

CONFIG_DEBUG_PXA_UART1 Use PXA UART1 for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on PXA UART1.

CONFIG_DEBUG_QCOM_UARTDM Kernel low-level debugging messages via QCOM UARTDM

Unknown

Say Y here if you want the debug print routines to direct their output to the serial port on Qualcomm devices.

ARCH DEBUG_UART_PHYS DEBUG_UART_VIRT APQ8064 0x16640000 0xf0040000 APQ8084 0xf995e000 0xfa75e000 IPQ4019 0x078af000 0xf78af000 MSM8X60 0x19c40000 0xf0040000 MSM8960 0x16440000 0xf0040000 MSM8974 0xf991e000 0xfa71e000

Please adjust DEBUG_UART_PHYS and DEBUG_UART_BASE configuration options based on your needs.

  • Depends on

CONFIG_DEBUG_REALVIEW_STD_PORT RealView Default UART

Unknown

Say Y here if you want the debug print routines to direct their output to the serial port on RealView EB, PB11MP, PBA8 and PBX platforms.

CONFIG_DEBUG_REALVIEW_PB1176_PORT RealView PB1176 UART

Unknown

Say Y here if you want the debug print routines to direct their output to the standard serial port on the RealView PB1176 platform.

CONFIG_DEBUG_RV1108_UART0 Kernel low-level debugging messages via Rockchip RV1108 UART0

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip RV1108 based platforms.

CONFIG_DEBUG_RV1108_UART1 Kernel low-level debugging messages via Rockchip RV1108 UART1

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip RV1108 based platforms.

CONFIG_DEBUG_RV1108_UART2 Kernel low-level debugging messages via Rockchip RV1108 UART2

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip RV1108 based platforms.

CONFIG_DEBUG_RK29_UART0 Kernel low-level debugging messages via Rockchip RK29 UART0

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK29_UART1 Kernel low-level debugging messages via Rockchip RK29 UART1

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK29_UART2 Kernel low-level debugging messages via Rockchip RK29 UART2

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK3X_UART0 Kernel low-level debugging messages via Rockchip RK30/RK31 UART0

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK3X_UART1 Kernel low-level debugging messages via Rockchip RK30/RK31 UART1

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK3X_UART2 Kernel low-level debugging messages via Rockchip RK30/RK31 UART2

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK3X_UART3 Kernel low-level debugging messages via Rockchip RK30/RK31 UART3

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip based platforms.

CONFIG_DEBUG_RK32_UART2 Kernel low-level debugging messages via Rockchip RK32 UART2

Unknown

Say Y here if you want kernel low-level debugging support on Rockchip RK32xx based platforms.

CONFIG_DEBUG_R7S72100_SCIF2 Kernel low-level debugging messages via SCIF2 on R7S72100

Unknown

Say Y here if you want kernel low-level debugging support via SCIF2 on Renesas RZ/A1H (R7S72100).

CONFIG_DEBUG_R7S9210_SCIF2 Kernel low-level debugging messages via SCIF2 on R7S9210

Unknown

Say Y here if you want kernel low-level debugging support via SCIF2 on Renesas RZ/A2M (R7S9210).

CONFIG_DEBUG_R7S9210_SCIF4 Kernel low-level debugging messages via SCIF4 on R7S9210

Unknown

Say Y here if you want kernel low-level debugging support via SCIF4 on Renesas RZ/A2M (R7S9210).

CONFIG_DEBUG_RCAR_GEN1_SCIF0 Kernel low-level debugging messages via SCIF0 on R8A7778

Unknown

Say Y here if you want kernel low-level debugging support via SCIF0 on Renesas R-Car M1A (R8A7778).

CONFIG_DEBUG_RCAR_GEN1_SCIF2 Kernel low-level debugging messages via SCIF2 on R8A7779

Unknown

Say Y here if you want kernel low-level debugging support via SCIF2 on Renesas R-Car H1 (R8A7779).

CONFIG_DEBUG_RCAR_GEN2_SCIF0 Kernel low-level debugging messages via SCIF0 on R-Car Gen2 and RZ/G1

Unknown

Say Y here if you want kernel low-level debugging support via SCIF0 on Renesas RZ/G1M (R8A7743), RZ/G1N (R8A7744), R-Car H2 (R8A7790), M2-W (R8A7791), V2H (R8A7792), or M2-N (R8A7793).

CONFIG_DEBUG_RCAR_GEN2_SCIF1 Kernel low-level debugging messages via SCIF1 on R8A77470

Unknown

Say Y here if you want kernel low-level debugging support via SCIF1 on Renesas RZ/G1C (R8A77470).

CONFIG_DEBUG_RCAR_GEN2_SCIF2 Kernel low-level debugging messages via SCIF2 on R8A7794

Unknown

Say Y here if you want kernel low-level debugging support via SCIF2 on Renesas R-Car E2 (R8A7794).

CONFIG_DEBUG_RCAR_GEN2_SCIF4 Kernel low-level debugging messages via SCIF4 on R8A7745

Unknown

Say Y here if you want kernel low-level debugging support via SCIF4 on Renesas RZ/G1E (R8A7745).

CONFIG_DEBUG_RCAR_GEN2_SCIFA2 Kernel low-level debugging messages via SCIFA2 on R8A7742

Unknown

Say Y here if you want kernel low-level debugging support via SCIFA2 on Renesas RZ/G1H (R8A7742).

CONFIG_DEBUG_RMOBILE_SCIFA0 Kernel low-level debugging messages via SCIFA0 on R8A73A4

Unknown

Say Y here if you want kernel low-level debugging support via SCIFA0 on Renesas R-Mobile APE6 (R8A73A4).

CONFIG_DEBUG_RMOBILE_SCIFA1 Kernel low-level debugging messages via SCIFA1 on R8A7740

Unknown

Say Y here if you want kernel low-level debugging support via SCIFA1 on Renesas R-Mobile A1 (R8A7740).

CONFIG_DEBUG_RMOBILE_SCIFA4 Kernel low-level debugging messages via SCIFA4 on SH73A0

Unknown

Say Y here if you want kernel low-level debugging support via SCIFA4 on Renesas SH-Mobile AG5 (SH73A0).

CONFIG_DEBUG_SA1100 Use SA1100 UARTs for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on SA-11x0 UART ports. The kernel will check for the first enabled UART in a sequence 3-1-2.

CONFIG_DEBUG_SD5203_UART Hisilicon SD5203 Debug UART

Unknown

Say Y here if you want kernel low-level debugging support on SD5203 UART.

CONFIG_DEBUG_SOCFPGA_UART0 Use SOCFPGA UART0 for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on SOCFPGA(Cyclone 5 and Arria 5) based platforms.

CONFIG_DEBUG_SOCFPGA_ARRIA10_UART1 Use SOCFPGA Arria10 UART1 for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on SOCFPGA(Arria 10) based platforms.

CONFIG_DEBUG_SOCFPGA_CYCLONE5_UART1 Use SOCFPGA Cyclone 5 UART1 for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on SOCFPGA(Cyclone 5 and Arria 5) based platforms.

CONFIG_DEBUG_SUN9I_UART0 Kernel low-level debugging messages via sun9i UART0

Unknown

Say Y here if you want kernel low-level debugging support on Allwinner A80 based platforms on the UART0.

CONFIG_DEBUG_SUNXI_UART0 Kernel low-level debugging messages via sunXi UART0

Unknown

Say Y here if you want kernel low-level debugging support on Allwinner A1X based platforms on the UART0.

CONFIG_DEBUG_SUNXI_UART1 Kernel low-level debugging messages via sunXi UART1

Unknown

Say Y here if you want kernel low-level debugging support on Allwinner A1X based platforms on the UART1.

CONFIG_DEBUG_SUNXI_R_UART Kernel low-level debugging messages via sunXi R_UART

Unknown

Say Y here if you want kernel low-level debugging support on Allwinner A31/A23 based platforms on the R_UART.

CONFIG_DEBUG_SPEAR3XX Kernel low-level debugging messages via ST SPEAr 3xx/6xx UART

Unknown

Say Y here if you want kernel low-level debugging support on ST SPEAr based platforms.

CONFIG_DEBUG_SPEAR13XX Kernel low-level debugging messages via ST SPEAr 13xx UART

Unknown

Say Y here if you want kernel low-level debugging support on ST SPEAr13xx based platforms.

CONFIG_DEBUG_STIH41X_ASC2 Use StiH415/416 ASC2 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STiH415/416 based platforms like b2000, which has default UART wired up to ASC2.

If unsure, say N.

CONFIG_DEBUG_STIH41X_SBC_ASC1 Use StiH415/416 SBC ASC1 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STiH415/416 based platforms like b2020. which has default UART wired up to SBC ASC1.

If unsure, say N.

CONFIG_DEBUG_STIH418_SBC_ASC0 Use StiH418 SBC ASC0 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STiH418 based platforms which has default UART wired up to SBC ASC0.

If unsure, say N.

CONFIG_STM32F4_DEBUG_UART Use STM32F4 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STM32F4 based platforms, which default UART is wired on USART1, but another UART instance can be selected by modifying CONFIG_DEBUG_UART_PHYS.

If unsure, say N.

CONFIG_STM32F7_DEBUG_UART Use STM32F7 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STM32F7 based platforms, which default UART is wired on USART1, but another UART instance can be selected by modifying CONFIG_DEBUG_UART_PHYS.

If unsure, say N.

CONFIG_STM32H7_DEBUG_UART Use STM32H7 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STM32H7 based platforms, which default UART is wired on USART1, but another UART instance can be selected by modifying CONFIG_DEBUG_UART_PHYS.

If unsure, say N.

CONFIG_STM32MP1_DEBUG_UART Use STM32MP1 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on STM32MP1-based platforms, where the default UART is wired to UART4, but another UART instance can be selected by modifying CONFIG_DEBUG_UART_PHYS and CONFIG_DEBUG_UART_VIRT.

If unsure, say N.

CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA Kernel low-level debugging messages via Tegra UART via ODMDATA

Unknown

Automatically determines which UART to use for low-level debug based on the ODMDATA value. This value is part of the BCT, and is written to the boot memory device using nvflash, or other flashing tool. When bits 19:18 are 3, then bits 17:15 indicate which UART to use; 0/1/2/3/4 are UART A/B/C/D/E.

CONFIG_TEGRA_DEBUG_UARTA Kernel low-level debugging messages via Tegra UART A

Unknown

Say Y here if you want kernel low-level debugging support on Tegra based platforms.

CONFIG_TEGRA_DEBUG_UARTB Kernel low-level debugging messages via Tegra UART B

Unknown

Say Y here if you want kernel low-level debugging support on Tegra based platforms.

CONFIG_TEGRA_DEBUG_UARTC Kernel low-level debugging messages via Tegra UART C

Unknown

Say Y here if you want kernel low-level debugging support on Tegra based platforms.

CONFIG_TEGRA_DEBUG_UARTD Kernel low-level debugging messages via Tegra UART D

Unknown

Say Y here if you want kernel low-level debugging support on Tegra based platforms.

CONFIG_TEGRA_DEBUG_UARTE Kernel low-level debugging messages via Tegra UART E

Unknown

Say Y here if you want kernel low-level debugging support on Tegra based platforms.

CONFIG_DEBUG_UX500_UART Use Ux500 UART for low-level debug

Unknown

Say Y here if you want kernel low-level debugging support on Ux500 based platforms.

CONFIG_DEBUG_VERSATILE Kernel low-level debugging messages via ARM Versatile UART

Unknown

Say Y here if you want kernel low-level debugging support on ARM Versatile platforms.

CONFIG_DEBUG_VEXPRESS_UART0_DETECT Autodetect UART0 on Versatile Express Cortex-A core tiles

Unknown

This option enables a simple heuristic which tries to determine the motherboard's memory map variant (original or RS1) and then choose the relevant UART0 base address.

Note that this will only work with standard A-class core tiles, and may fail with non-standard SMM or custom software models.

CONFIG_DEBUG_VEXPRESS_UART0_CA9 Use PL011 UART0 at 0x10009000 (V2P-CA9 core tile)

Unknown

This option selects UART0 at 0x10009000. Except for custom models, this applies only to the V2P-CA9 tile.

CONFIG_DEBUG_VEXPRESS_UART0_RS1 Use PL011 UART0 at 0x1c090000 (RS1 complaint tiles)

Unknown

This option selects UART0 at 0x1c090000. This applies to most of the tiles using the RS1 memory map, including all new A-class core tiles, FPGA-based SMMs and software models.

CONFIG_DEBUG_VEXPRESS_UART0_CRX Use PL011 UART0 at 0xb0090000 (Cortex-R compliant tiles)

Unknown

This option selects UART0 at 0xb0090000. This is appropriate for Cortex-R series tiles and SMMs, such as Cortex-R5 and Cortex-R7

CONFIG_DEBUG_VF_UART Vybrid UART

Unknown

Say Y here if you want kernel low-level debugging support on Vybrid based platforms.

CONFIG_DEBUG_VT8500_UART0 Use UART0 on VIA/Wondermedia SoCs

Unknown

This option selects UART0 on VIA/Wondermedia System-on-a-chip devices, including VT8500, WM8505, WM8650 and WM8850.

CONFIG_DEBUG_ZYNQ_UART0 Kernel low-level debugging on Xilinx Zynq using UART0

Unknown

Say Y here if you want the debug print routines to direct their output to UART0 on the Zynq platform.

CONFIG_DEBUG_ZYNQ_UART1 Kernel low-level debugging on Xilinx Zynq using UART1

Unknown

Say Y here if you want the debug print routines to direct their output to UART1 on the Zynq platform.

If you have a ZC702 board and want early boot messages to appear on the USB serial adaptor, select this option.

CONFIG_DEBUG_ICEDCC Kernel low-level debugging via EmbeddedICE DCC channel

Unknown

Say Y here if you want the debug print routines to direct their output to the EmbeddedICE macrocell's DCC channel using co-processor 14. This is known to work on the ARM9 style ICE channel and on the XScale with the PEEDI.

Note that the system will appear to hang during boot if there is nothing connected to read from the DCC.

CONFIG_DEBUG_SEMIHOSTING Kernel low-level debug output via semihosting I/O

Unknown

Semihosting enables code running on an ARM target to use the I/O facilities on a host debugger/emulator through a simple SVC call. The host debugger or emulator must have semihosting enabled for the special svc call to be trapped otherwise the kernel will crash.

This is known to work with OpenOCD, as well as ARM's Fast Models, or any other controlling environment that implements semihosting.

For more details about semihosting, please see chapter 8 of DUI0203I_rvct_developer_guide.pdf from ARM Ltd.

CONFIG_DEBUG_LL_UART_8250 Kernel low-level debugging via 8250 UART

Unknown

Say Y here if you wish the debug print routes to direct their output to an 8250 UART. You can use this option to provide the parameters for the 8250 UART rather than selecting one of the platform specific options above if you know the parameters for the port.

This option is preferred over the platform specific options; the platform specific options are deprecated and will be soon removed.

CONFIG_DEBUG_LL_UART_PL01X Kernel low-level debugging via ARM Ltd PL01x Primecell UART

Unknown

Say Y here if you wish the debug print routes to direct their output to a PL01x Primecell UART. You can use this option to provide the parameters for the UART rather than selecting one of the platform specific options above if you know the parameters for the port.

This option is preferred over the platform specific options; the platform specific options are deprecated and will be soon removed.

End of Kernel low-level debugging port

CONFIG_DEBUG_AT91_UART

Unknown

CONFIG_DEBUG_EXYNOS_UART

Unknown

CONFIG_DEBUG_S3C64XX_UART

Unknown

CONFIG_DEBUG_S5PV210_UART

Unknown

CONFIG_DEBUG_VF_UART_PORT Vybrid Debug UART Port Selection

Unknown

Choose UART port on which kernel low-level debug messages should be output.

Default
  • 1

CONFIG_DEBUG_TEGRA_UART

Unknown
  • Depends on

CONFIG_DEBUG_STM32_UART

Unknown
  • Depends on

CONFIG_DEBUG_UART_FLOW_CONTROL Enable flow control (CTS) for the debug UART

Unknown

Some UART ports are connected to terminals that will use modem control signals to indicate whether they are ready to receive text. In practice this means that the terminal is asserting the special control signal CTS (Clear To Send). If your debug UART supports this and your debug terminal will require it, enable this option.

CONFIG_DEBUG_LL_INCLUDE

Unknown

CONFIG_DEBUG_UART_PL01X

Unknown

CONFIG_DEBUG_UART_PHYS Physical base address of debug UART

Unknown

CONFIG_DEBUG_UART_VIRT Virtual base address of debug UART

Unknown

CONFIG_DEBUG_UART_8250_PALMCHIP 8250 UART is Palmchip BK-310x

Unknown

Palmchip provides a UART implementation compatible with 16550 except for having a different register layout. Say Y here if the debug UART is of this type.

CONFIG_EARLY_PRINTK Early printk

On

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_ARM_KPROBES_TEST Kprobes test module

  • Off
  • Module
  • Built in
Unknown

Perform tests of kprobes API and instruction set simulation.

CONFIG_PID_IN_CONTEXTIDR Write the current PID to the CONTEXTIDR register

Unknown

Enabling this option causes the kernel to write the current PID to the PROCID field of the CONTEXTIDR register, at the expense of some additional instructions during context switch. Say Y here only if you are planning to use hardware trace tools with this kernel.

Includedrivers/hwtracing/coresight/Kconfig Open file
CONFIG_UNWINDER_FRAME_POINTER declarations