[opensuse-kernel] [PATCHv2] config: armv7hl: 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> --- Changes from v1: - rebased onto current master 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 ce06295..e8ba5a5 100644 --- a/config/armv7hl/default +++ b/config/armv7hl/default @@ -7133,7 +7133,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 2bd3be2..d17caa4 100644 --- a/config/armv7hl/lpae +++ b/config/armv7hl/lpae @@ -6681,7 +6681,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
Am 24.10.2014 um 19:09 schrieb matwey.kornilov@gmail.com:
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> --- Changes from v1: - rebased onto current master
config/armv7hl/default | 2 +- config/armv7hl/lpae | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied. Are armv6hl and arm64 unaffected, or can you supply the corresponding patches while at it? Cheers, Andreas -- 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
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> --- 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
Am 24.10.2014 um 19:21 schrieb matwey.kornilov@gmail.com:
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> --- I am not quite familiar with Aarch64, but its default config has KGDB disabled at all. So I patch only armv6.
Thanks, applied. Cheers, Andreas -- 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
participants (2)
-
Andreas Färber
-
matwey.kornilov@gmail.com