diff options
author | Scott Garman <scott.a.garman@intel.com> | 2010-10-14 11:23:26 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-14 20:12:03 +0100 |
commit | af404b1372ffe683ae1f3c1914fa9fee6800420c (patch) | |
tree | 7cd9919f8caf99bc3740844abc44a18b7ef71f8d /scripts/poky-qemu | |
parent | 65954baaa37d3762f5a312699c1cbae11bd9055e (diff) | |
download | poky-af404b1372ffe683ae1f3c1914fa9fee6800420c.tar.gz |
poky-qemu: add nographic option for disabling video console
This fixes [BUGID #408]
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'scripts/poky-qemu')
-rwxr-xr-x | scripts/poky-qemu | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/poky-qemu b/scripts/poky-qemu index 66e7a298f6..66a6631df5 100755 --- a/scripts/poky-qemu +++ b/scripts/poky-qemu | |||
@@ -27,6 +27,7 @@ usage() { | |||
27 | echo " ROOTFS - the rootfs image file or nfsroot directory to use" | 27 | echo " ROOTFS - the rootfs image file or nfsroot directory to use" |
28 | echo " MACHINE=xyz - the machine name (optional, autodetected from KERNEL filename if unspecified)" | 28 | echo " MACHINE=xyz - the machine name (optional, autodetected from KERNEL filename if unspecified)" |
29 | echo " Additional QEMU command-line options can be passed with:" | 29 | echo " Additional QEMU command-line options can be passed with:" |
30 | echo " nographic - disables video console" | ||
30 | echo " serial - enables a serial console on /dev/ttyS0" | 31 | echo " serial - enables a serial console on /dev/ttyS0" |
31 | echo "" | 32 | echo "" |
32 | echo "Examples:" | 33 | echo "Examples:" |
@@ -85,11 +86,12 @@ while [ $i -le $# ]; do | |||
85 | usage | 86 | usage |
86 | fi | 87 | fi |
87 | ;; | 88 | ;; |
89 | "nographic") | ||
90 | SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic" | ||
91 | ;; | ||
88 | "serial") | 92 | "serial") |
89 | # Will need to append to these variables when we | 93 | SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" |
90 | # accept more values | 94 | SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" |
91 | SCRIPT_QEMU_OPT="-serial stdio" | ||
92 | SCRIPT_KERNEL_OPT="console=ttyS0" | ||
93 | ;; | 95 | ;; |
94 | *) | 96 | *) |
95 | # A directory name is an nfs rootfs | 97 | # A directory name is an nfs rootfs |