firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-arch_arm_Kconfig.debu...

54 lines
1.8 KiB
Diff

diff -drupN a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
--- a/arch/arm/Kconfig.debug 2018-08-06 17:23:04.000000000 +0300
+++ b/arch/arm/Kconfig.debug 2022-06-12 05:28:14.000000000 +0300
@@ -1020,6 +1020,14 @@ choice
Say Y here if you want kernel low-level debugging support
on Allwinner A1X based platforms on the UART1.
+ config DEBUG_SUNXI_UART2
+ bool "Kernel low-level debugging messages via sunXi UART2"
+ depends on ARCH_SUNXI
+ select DEBUG_UART_8250
+ help
+ Say Y here if you want kernel low-level debugging support
+ on Allwinner A1X based platforms on the UART2.
+
config DEBUG_SUNXI_R_UART
bool "Kernel low-level debugging messages via sunXi R_UART"
depends on MACH_SUN6I || MACH_SUN8I
@@ -1450,6 +1458,7 @@ config DEBUG_UART_PHYS
default 0x01c20000 if DEBUG_DAVINCI_DMx_UART0
default 0x01c28000 if DEBUG_SUNXI_UART0
default 0x01c28400 if DEBUG_SUNXI_UART1
+ default 0x01c28800 if DEBUG_SUNXI_UART2
default 0x01d0c000 if DEBUG_DAVINCI_DA8XX_UART1
default 0x01d0d000 if DEBUG_DAVINCI_DA8XX_UART2
default 0x01f02800 if DEBUG_SUNXI_R_UART
@@ -1723,6 +1732,14 @@ config EARLY_PRINTK
kernel low-level debugging functions. Add earlyprintk to your
kernel parameters to enable this console.
+config EARLY_PRINTK_DIRECT
+ bool "Early printk direct"
+ depends on DEBUG_LL
+ help
+ Say Y here if you want to have an early console using the
+ kernel low-level debugging functions and EARLY_PRINTK is
+ not early enough.
+
config ARM_KPROBES_TEST
tristate "Kprobes test module"
depends on KPROBES && MODULES
@@ -1749,6 +1766,11 @@ config DEBUG_SET_MODULE_RONX
against certain classes of kernel exploits.
If in doubt, say "N".
+config SUNXI_DUMP
+ bool "sunxi_dump help to dump all dram area for crash tool"
+ depends on ARCH_SUN8I
+
+
source "drivers/hwtracing/coresight/Kconfig"
endmenu