* [meta-handheld][PATCH] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact
@ 2011-09-08 22:00 Andrea Adami
2011-09-14 23:57 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Andrea Adami @ 2011-09-08 22:00 UTC (permalink / raw)
To: openembedded-devel
* debug must be enabled explicitely as it is necessary to add
* more arguments e.g. earlyprintk and even enable PRINTK and debug
* in Zaurus defconfigs
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
recipes-kernel/linux/linux-kexecboot.inc | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/recipes-kernel/linux/linux-kexecboot.inc b/recipes-kernel/linux/linux-kexecboot.inc
index fb9760a..ea0bbd6 100644
--- a/recipes-kernel/linux/linux-kexecboot.inc
+++ b/recipes-kernel/linux/linux-kexecboot.inc
@@ -1,5 +1,5 @@
# We set INC_PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
-INC_PR = "r43"
+INC_PR = "r44"
inherit kernel siteinfo
@@ -19,16 +19,13 @@ DEPENDS += "xz-native"
LOGO_SIZE ?= "."
SRC_URI = "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
-# Set the verbosity of kernel messages during runtime
-CMDLINE_DEBUG ?= '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "loglevel=3", d)}'
-
-# Note how we set master console on serial to protect bootlogo.
-CMDLINE_c7x0 = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
-CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
-CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
-CMDLINE_akita = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
-CMDLINE_collie = "console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M ${CMDLINE_DEBUG}"
-CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
+# Note how we set loglevel=3 and master console on serial to protect bootlogo.
+CMDLINE_c7x0 = "console=tty1 console=ttyS0,115200n8 loglevel=3"
+CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 loglevel=3"
+CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CMDLINE_akita = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CMDLINE_collie = "console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M loglevel=3"
+CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
PACKAGES = ""
PROVIDES = ""
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-handheld][PATCH] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact
2011-09-08 22:00 [meta-handheld][PATCH] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact Andrea Adami
@ 2011-09-14 23:57 ` Paul Eggleton
2011-09-15 20:43 ` [meta-handheld][PATCH v2] " Andrea Adami
0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggleton @ 2011-09-14 23:57 UTC (permalink / raw)
To: Andrea Adami; +Cc: openembedded-devel
On Thursday 08 September 2011 23:00:41 Andrea Adami wrote:
> * debug must be enabled explicitely as it is necessary to add
> * more arguments e.g. earlyprintk and even enable PRINTK and debug
> * in Zaurus defconfigs
This message is a little confusing, is the patch about keeping loglevel=3 for
the bootlogo or the fact that loglevel=3 is insufficient for debugging, or both?
Would you mind expanding the commit message?
Thanks,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
* [meta-handheld][PATCH v2] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact
2011-09-14 23:57 ` Paul Eggleton
@ 2011-09-15 20:43 ` Andrea Adami
2011-09-17 13:56 ` Paul Eggleton
0 siblings, 1 reply; 4+ messages in thread
From: Andrea Adami @ 2011-09-15 20:43 UTC (permalink / raw)
To: openembedded-devel
* Being a second-stage bootloader we don't expect any output on screen.
* Adding 'debug' as commandline arg is pointless because
* linux-kexecboot is compiled without debug and printk in order
* to minimize the size.
* Full debug implies not only editing the commandline (e.g. earlyprintk)
* but re-enabling full debug options in the defconfigs.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
recipes-kernel/linux/linux-kexecboot.inc | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/recipes-kernel/linux/linux-kexecboot.inc b/recipes-kernel/linux/linux-kexecboot.inc
index fb9760a..ea0bbd6 100644
--- a/recipes-kernel/linux/linux-kexecboot.inc
+++ b/recipes-kernel/linux/linux-kexecboot.inc
@@ -1,5 +1,5 @@
# We set INC_PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
-INC_PR = "r43"
+INC_PR = "r44"
inherit kernel siteinfo
@@ -19,16 +19,13 @@ DEPENDS += "xz-native"
LOGO_SIZE ?= "."
SRC_URI = "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
-# Set the verbosity of kernel messages during runtime
-CMDLINE_DEBUG ?= '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "loglevel=3", d)}'
-
-# Note how we set master console on serial to protect bootlogo.
-CMDLINE_c7x0 = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
-CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
-CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
-CMDLINE_akita = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
-CMDLINE_collie = "console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M ${CMDLINE_DEBUG}"
-CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 ${CMDLINE_DEBUG}"
+# Note how we set loglevel=3 and master console on serial to protect bootlogo.
+CMDLINE_c7x0 = "console=tty1 console=ttyS0,115200n8 loglevel=3"
+CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 loglevel=3"
+CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CMDLINE_akita = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CMDLINE_collie = "console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M loglevel=3"
+CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
PACKAGES = ""
PROVIDES = ""
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-handheld][PATCH v2] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact
2011-09-15 20:43 ` [meta-handheld][PATCH v2] " Andrea Adami
@ 2011-09-17 13:56 ` Paul Eggleton
0 siblings, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2011-09-17 13:56 UTC (permalink / raw)
To: openembedded-devel
On Thursday 15 September 2011 21:43:32 Andrea Adami wrote:
> * Being a second-stage bootloader we don't expect any output on screen.
> * Adding 'debug' as commandline arg is pointless because
> * linux-kexecboot is compiled without debug and printk in order
> * to minimize the size.
> * Full debug implies not only editing the commandline (e.g. earlyprintk)
> * but re-enabling full debug options in the defconfigs.
>
> Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
> ---
> recipes-kernel/linux/linux-kexecboot.inc | 19 ++++++++-----------
> 1 files changed, 8 insertions(+), 11 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-kexecboot.inc
> b/recipes-kernel/linux/linux-kexecboot.inc index fb9760a..ea0bbd6 100644
> --- a/recipes-kernel/linux/linux-kexecboot.inc
> +++ b/recipes-kernel/linux/linux-kexecboot.inc
> @@ -1,5 +1,5 @@
> # We set INC_PR here, since a change in the kexecboot recipe will need to
> get picked up by *all* the kernels: -INC_PR = "r43"
> +INC_PR = "r44"
>
> inherit kernel siteinfo
>
> @@ -19,16 +19,13 @@ DEPENDS += "xz-native"
> LOGO_SIZE ?= "."
> SRC_URI = "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
>
> -# Set the verbosity of kernel messages during runtime
> -CMDLINE_DEBUG ?= '${@base_contains("IMAGE_FEATURES", "debug-tweaks",
> "debug", "loglevel=3", d)}' -
> -# Note how we set master console on serial to protect bootlogo.
> -CMDLINE_c7x0 = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
> -CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 ${CMDLINE_DEBUG}"
> -CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1
> ${CMDLINE_DEBUG}" -CMDLINE_akita = "console=tty1 console=ttyS0,115200n8
> fbcon=rotate:1 ${CMDLINE_DEBUG}" -CMDLINE_collie = "console=tty1
> console=ttySA0,115200n8 fbcon=rotate:1 mem=64M ${CMDLINE_DEBUG}"
> -CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1
> ${CMDLINE_DEBUG}" +# Note how we set loglevel=3 and master console on
> serial to protect bootlogo. +CMDLINE_c7x0 = "console=tty1
> console=ttyS0,115200n8 loglevel=3"
> +CMDLINE_tosa = "console=tty1 console=ttyS0,115200n8 loglevel=3"
> +CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1
> loglevel=3" +CMDLINE_akita = "console=tty1 console=ttyS0,115200n8
> fbcon=rotate:1 loglevel=3" +CMDLINE_collie = "console=tty1
> console=ttySA0,115200n8 fbcon=rotate:1 mem=64M loglevel=3" +CMDLINE_spitz
> = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
>
> PACKAGES = ""
> PROVIDES = ""
Merged to meta-handheld master, thanks.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-17 14:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-08 22:00 [meta-handheld][PATCH] linux-kexecboot.inc: hardcode loglevel=3 to keep bootlogo intact Andrea Adami
2011-09-14 23:57 ` Paul Eggleton
2011-09-15 20:43 ` [meta-handheld][PATCH v2] " Andrea Adami
2011-09-17 13:56 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.