Discussion:
[PATCH] config: armv7hl: Compile KGDB serial console into kernel
Matwey V. Kornilov
2014-10-02 17:25:30 UTC
Permalink
From: "Matwey V. Kornilov" <matwey.kornilov-***@public.gmane.org>

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 <matwey.kornilov-***@public.gmane.org>
---
config/armv7hl/default | 2 +-
config/armv7hl/lpae | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/armv7hl/default b/config/armv7hl/default
index 3aa6e82..fffe803 100644
--- a/config/armv7hl/default
+++ b/config/armv7hl/default
@@ -7091,7 +7091,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
diff --git a/config/armv7hl/lpae b/config/armv7hl/lpae
index f73c551..4e871ea 100644
--- a/config/armv7hl/lpae
+++ b/config/armv7hl/lpae
@@ -6661,7 +6661,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.0
Loading...