Skip to contentSkip to conversation

runqemu change to show early boot messages

PATCH Applied Scott Garman 2 participants 3 messages Mar 29, 2012

lore
Share & tools
lore
#0 lore raw

cover runqemu change to show early boot messages

Hello,

This pull request sets console=ttyS0 in the kernel options when booting images with the nographic option to runqemu. It is a bugfix for [YOCTO #1475].

I have runtime tested it on all 5 of our QEMU architectures using core-image-minimal, both for standard boot cases as well as booting via NFS.

Scott

The following changes since commit 8fe53bdc807184bc41469d8587368b31192e6252:

ghostscript: Fix remaining CP_ prallel make races (2012-03-29 09:44:36 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib sgarman/runqemu-fix-oe
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/runqemu-fix-oe

Scott Garman (1):
runqemu: set console=ttyS0 when running with nographic option

 scripts/runqemu |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 runqemu: set console=ttyS0 when running with nographic option

When passing the nograhic option to the runqemu script, set console=ttyS0 in the kernel options so the user can view the kernel boot messages.

This fixes [YOCTO #1475]

---
 scripts/runqemu |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
scripts/runqemu +1 -0
index c349de0..caabf61 100755
@@ -135,6 +135,7 @@ while [ $i -le $# ]; do
             ;;
         "nographic")
             SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic"
+            SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
             ;;
         "serial")
             SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"
Signature · 1 line
1.7.5.4
#2 lore raw

Re: [PATCH 1/1] runqemu: set console=ttyS0 when running with nographic option

Quoted 10 lines · Scott Garman

When passing the nograhic option to the runqemu script, set console=ttyS0 in the kernel options so the user can view the kernel boot messages.

This fixes [YOCTO #1475]

---
 scripts/runqemu |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard