summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-08-19 13:37:26 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 18:23:34 -0700
commit6f5066a3a012ebc2eb82c92b6808582397e304b4 (patch)
tree7e3bfb01e5491258c5625285704276fd1cc0428a /scripts
parent628d09cdff67903f251b349656e11b2ded571fdc (diff)
downloadpoky-6f5066a3a012ebc2eb82c92b6808582397e304b4.tar.gz
scripts/runqemu: add support to pass bootparams to kernel
(From OE-Core rev: 4a2d3cfeeef4de6da1301c65033fa251538cddc9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index ed8c05bcb2..91c3c9e93c 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -135,6 +135,9 @@ while [ $i -le $# ]; do
135 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio" 135 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"
136 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0" 136 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
137 ;; 137 ;;
138 "bootparams="*)
139 SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT ${arg##bootparams=}"
140 ;;
138 "audio") 141 "audio")
139 if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then 142 if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
140 echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest."; 143 echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest.";