summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2012-03-29 08:57:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-29 22:57:29 +0100
commit3af7e95d69d29f1a5f79e60adfd4db7bd3c4570d (patch)
tree04e3f01d045cecbf5423cd3a45af06f1b31da14e
parentdb4c8303284b0d9a2582b7aa1b0b185afa92facb (diff)
downloadpoky-3af7e95d69d29f1a5f79e60adfd4db7bd3c4570d.tar.gz
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] (From OE-Core rev: 28f05bf6e5da9cd8f01cff50c317233e3064e3cb) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index c349de081f..caabf61fe0 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -135,6 +135,7 @@ while [ $i -le $# ]; do
135 ;; 135 ;;
136 "nographic") 136 "nographic")
137 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic" 137 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic"
138 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
138 ;; 139 ;;
139 "serial") 140 "serial")
140 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" 141 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"