[oe-commits] Scott Garman : runqemu: set console= ttyS0 when running with nographic option
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 29 21:22:56 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 28f05bf6e5da9cd8f01cff50c317233e3064e3cb
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=28f05bf6e5da9cd8f01cff50c317233e3064e3cb
Author: Scott Garman <scott.a.garman at intel.com>
Date: Thu Mar 29 08:57:37 2012 -0700
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]
Signed-off-by: Scott Garman <scott.a.garman at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
scripts/runqemu | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index c349de0..caabf61 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -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"
More information about the Openembedded-commits
mailing list