[opensuse-kernel] [PATCH] config: armv7hl/default: Compile KGDB serial console into kernel
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com> 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@gmail.com> --- 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 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Ping On 20.09.2014 16:03, Matwey V. Kornilov wrote:
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
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@gmail.com> --- 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
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Am 20.09.2014 um 14:03 schrieb Matwey V. Kornilov:
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
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@gmail.com> --- 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
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@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
2014-10-02 20:51 GMT+04:00 Andreas Färber <afaerber@suse.de>:
Am 20.09.2014 um 14:03 schrieb Matwey V. Kornilov:
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
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@gmail.com> --- 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@jabber.ru -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
Andreas Färber
-
Matwey V. Kornilov