Discussion:
[PATCH] config: armv7hl/default: Compile KGDB serial console into kernel
Matwey V. Kornilov
2014-09-20 12:03:38 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 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--
1.8.1.4
Matwey V. Kornilov
2014-10-01 08:05:19 UTC
Permalink
Ping
Post by 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.
---
config/armv7hl/default | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
Andreas Färber
2014-10-02 16:51:02 UTC
Permalink
Post by 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.
---
config/armv7hl/default | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
What about lpae config? Commit message does not mention it - does it
need fixing, too?

Regards,
Andreas
Post by Matwey V. Kornilov
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
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe-***@public.gmane.org
To contact the owner, e-mail: opensuse-kernel+owner-***@public.gmane.org
Matwey V. Kornilov
2014-10-02 16:52:41 UTC
Permalink
Post by Andreas Färber
Post by 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.
---
config/armv7hl/default | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
What about lpae config? Commit message does not mention it - does it
need fixing, too?
Argh, I again forget about it, sorry. Yes it does, I'll redo.
--
With best regards,
Matwey V. Kornilov
http://blog.matwey.name
xmpp://0x2207-962d5TIgE1qHXe+***@public.gmane.org
Loading...