aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-01-15 10:17:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 11:54:30 +0000
commitedd629029979dc18905fce23b64216f15eea501f (patch)
tree10dfe6aa502df88d047f767ff6c7998bf83661eb /scripts/runqemu
parent2027fd1bbfc2c136672d5054ba722e9d9d80451d (diff)
downloadopenembedded-core-edd629029979dc18905fce23b64216f15eea501f.tar.gz
runqemu scripts: add support for booting an ISO image
Add support for booting an ISO image for runqemu scripts. [YOCTO #3710] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 188eccf003..c20c8dd3a6 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -27,6 +27,7 @@ usage() {
echo " ROOTFS - the rootfs image file or nfsroot directory to use"
echo " MACHINE - the machine name (optional, autodetected from KERNEL filename if unspecified)"
echo " RAMFS - boot a ramfs-based image"
+ echo " ISO - boot an ISO image"
echo " VM - boot a vmdk image"
echo " Simplified QEMU command-line options can be passed with:"
echo " nographic - disables video console"
@@ -40,6 +41,7 @@ usage() {
echo " $MYNAME qemux86-64 core-image-sato ext3"
echo " $MYNAME path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial"
echo " $MYNAME qemux86 ramfs"
+ echo " $MYNAME qemux86 iso"
echo " $MYNAME qemux86 qemuparams=\"-m 256\""
echo " $MYNAME qemux86 bootparams=\"psplash=false\""
echo " $MYNAME path/to/<image>-<machine>.vmdk"
@@ -132,6 +134,10 @@ while true; do
FSTYPE=cpio.gz
RAMFS=true
;;
+ "iso")
+ FSTYPE=iso
+ ISOFS=true
+ ;;
"nographic")
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -nographic"
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"