* [meta-oe][PATCH] mkefidisk.sh: add boot log on console
@ 2015-11-28 14:29 Trevor Woerner
2015-12-31 22:07 ` Trevor Woerner
0 siblings, 1 reply; 4+ messages in thread
From: Trevor Woerner @ 2015-11-28 14:29 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Eggleton
Hooking up a serial console is a "developer mode", the chances are pretty good
developers are interested in watching the kernel boot log on the console so
they can spot any problems or diagnose any failed boots (e.g. can't find root
fs).
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
scripts/contrib/mkefidisk.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
index cd4de05..23c18cb 100755
--- a/scripts/contrib/mkefidisk.sh
+++ b/scripts/contrib/mkefidisk.sh
@@ -402,7 +402,7 @@ if [ -e "$GRUB_CFG" ]; then
sed -i "s/ LABEL=[^ ]*/ /" $GRUB_CFG
sed -i "s@ root=[^ ]*@ @" $GRUB_CFG
- sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUB_CFG
+ sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GRUB_CFG
fi
# Look for a gummiboot installation
@@ -419,7 +419,7 @@ if [ -d "$GUMMI_ENTRIES" ]; then
sed -i "/initrd /d" $GUMMI_CFG
sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG
- sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG
+ sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GUMMI_CFG
fi
# Ensure we have at least one EFI bootloader configured
--
2.6.3.368.gf34be46
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] mkefidisk.sh: add boot log on console
2015-11-28 14:29 [meta-oe][PATCH] mkefidisk.sh: add boot log on console Trevor Woerner
@ 2015-12-31 22:07 ` Trevor Woerner
2016-01-04 16:20 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: Trevor Woerner @ 2015-12-31 22:07 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Eggleton
ping?
On 11/28/15 09:29, Trevor Woerner wrote:
> Hooking up a serial console is a "developer mode", the chances are pretty good
> developers are interested in watching the kernel boot log on the console so
> they can spot any problems or diagnose any failed boots (e.g. can't find root
> fs).
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> scripts/contrib/mkefidisk.sh | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh
> index cd4de05..23c18cb 100755
> --- a/scripts/contrib/mkefidisk.sh
> +++ b/scripts/contrib/mkefidisk.sh
> @@ -402,7 +402,7 @@ if [ -e "$GRUB_CFG" ]; then
> sed -i "s/ LABEL=[^ ]*/ /" $GRUB_CFG
>
> sed -i "s@ root=[^ ]*@ @" $GRUB_CFG
> - sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait quiet @" $GRUB_CFG
> + sed -i "s@vmlinuz @vmlinuz root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GRUB_CFG
> fi
>
> # Look for a gummiboot installation
> @@ -419,7 +419,7 @@ if [ -d "$GUMMI_ENTRIES" ]; then
>
> sed -i "/initrd /d" $GUMMI_CFG
> sed -i "s@ root=[^ ]*@ @" $GUMMI_CFG
> - sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait quiet @" $GUMMI_CFG
> + sed -i "s@options *LABEL=boot @options LABEL=Boot root=$TARGET_ROOTFS ro rootwait console=ttyS0 console=tty0 @" $GUMMI_CFG
> fi
>
> # Ensure we have at least one EFI bootloader configured
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] mkefidisk.sh: add boot log on console
2015-12-31 22:07 ` Trevor Woerner
@ 2016-01-04 16:20 ` Burton, Ross
2016-01-04 19:55 ` Trevor Woerner
0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2016-01-04 16:20 UTC (permalink / raw)
To: Trevor Woerner; +Cc: Paul Eggleton, OE-core
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
On 31 December 2015 at 22:07, Trevor Woerner <twoerner@gmail.com> wrote:
> ping?
>
Sorry, slipped through. These are staged in ross/mut as of now.
Ross
[-- Attachment #2: Type: text/html, Size: 641 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-oe][PATCH] mkefidisk.sh: add boot log on console
2016-01-04 16:20 ` Burton, Ross
@ 2016-01-04 19:55 ` Trevor Woerner
0 siblings, 0 replies; 4+ messages in thread
From: Trevor Woerner @ 2016-01-04 19:55 UTC (permalink / raw)
To: Burton, Ross; +Cc: Paul Eggleton, OE-core
On 01/04/16 11:20, Burton, Ross wrote:
>
> On 31 December 2015 at 22:07, Trevor Woerner <twoerner@gmail.com
> <mailto:twoerner@gmail.com>> wrote:
>
> ping?
>
>
> Sorry, slipped through. These are staged in ross/mut as of now.
Thanks Ross
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-04 19:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-28 14:29 [meta-oe][PATCH] mkefidisk.sh: add boot log on console Trevor Woerner
2015-12-31 22:07 ` Trevor Woerner
2016-01-04 16:20 ` Burton, Ross
2016-01-04 19:55 ` Trevor Woerner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox