From: "Matwey V. Kornilov"
A serial console is the major communication for ARM devices.
Having CONFIG_KGDB_SERIAL_CONSOLE=m makes it impossible to debug the kernel at early boot stages.
Signed-off-by: Matwey V. Kornilov
---
I am not quite familiar with Aarch64, but its default config has KGDB disabled at all.
So I patch only armv6.
config/armv6hl/default | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/armv6hl/default b/config/armv6hl/default
index d7e8304..f14f2d6 100644
--- a/config/armv6hl/default
+++ b/config/armv6hl/default
@@ -5563,7 +5563,7 @@ CONFIG_BUILD_DOCSRC=y
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_KGDB=y
-CONFIG_KGDB_SERIAL_CONSOLE=m
+CONFIG_KGDB_SERIAL_CONSOLE=y
# CONFIG_KGDB_TESTS is not set
CONFIG_KGDB_KDB=y
CONFIG_KDB_KEYBOARD=y
--
2.1.1
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org