]> code.ossystems Code Review - openembedded-core.git/commitdiff
runqemu: set console=ttyS0 when running with nographic option
authorScott Garman <scott.a.garman@intel.com>
Thu, 29 Mar 2012 15:57:37 +0000 (08:57 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Mar 2012 21:18:11 +0000 (22:18 +0100)
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu

index c349de081f4dc7dba8e60a64f96e54168975680e..caabf61fe0d371f89aa09839778171887fa3e46b 100755 (executable)
@@ -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"