From: Trevor Woerner <twoerner@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>
Subject: Re: [meta-oe][PATCH] mkefidisk.sh: add boot log on console
Date: Thu, 31 Dec 2015 17:07:45 -0500 [thread overview]
Message-ID: <5685A731.1070109@gmail.com> (raw)
In-Reply-To: <1448720991-29707-1-git-send-email-twoerner@gmail.com>
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
next prev parent reply other threads:[~2015-12-31 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-28 14:29 [meta-oe][PATCH] mkefidisk.sh: add boot log on console Trevor Woerner
2015-12-31 22:07 ` Trevor Woerner [this message]
2016-01-04 16:20 ` Burton, Ross
2016-01-04 19:55 ` Trevor Woerner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5685A731.1070109@gmail.com \
--to=twoerner@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.