]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts: Update qemu scripts with changes in recent qemu calling conventions and...
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 5 Jan 2009 16:00:31 +0000 (16:00 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Mon, 5 Jan 2009 16:00:31 +0000 (16:00 +0000)
scripts/poky-qemu
scripts/poky-qemu-internal
scripts/runqemu

index 1407c25f3357520e66dbae4aa03353126774a227..be070d7024e86c624fcc43a8e9454e350abf639a 100755 (executable)
@@ -40,7 +40,7 @@ fi
 if [ "x$1" = "x" ]; then
     TYPE="nfs"
 else
-    TYPE="ext2"
+    TYPE="ext3"
     if [ "$MACHINE" = "akita" ]; then
         TYPE="jffs2"
     fi
index b9061ecd8e4dd30f7dc515efaf3237acbc96d0bb..327c0dd3d6a56c0fc6c8bb44dc859099e4652f67 100755 (executable)
@@ -88,7 +88,7 @@ fi
 
 if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarmv7" ]; then
     QEMU=qemu-system-arm
-    if [ "$TYPE" = "ext2" ]; then
+    if [ "$TYPE" = "ext3" ]; then
         KERNCMDLINE="root=/dev/sda console=ttyAMA0 console=tty0 $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
         QEMUOPTIONS="$QEMU_NETWORK_CMD -M versatilepb -hda $HDIMAGE -usb -usbdevice wacom-tablet -no-reboot"
     fi
@@ -113,9 +113,9 @@ fi
 
 if [ "$MACHINE" = "qemux86" ]; then
     QEMU=qemu
-    if [ "$TYPE" = "ext2" ]; then
+    if [ "$TYPE" = "ext3" ]; then
         KERNCMDLINE="root=/dev/hda mem=$QEMU_MEMORY $KERNEL_NETWORK_CMD"
-        QEMUOPTIONS="-std-vga $QEMU_NETWORK_CMD -hda $HDIMAGE -usb -usbdevice wacom-tablet"
+        QEMUOPTIONS="-vga std $QEMU_NETWORK_CMD -hda $HDIMAGE -usb -usbdevice wacom-tablet"
     fi
     if [ "$TYPE" = "nfs" ]; then
         if [ "x$HDIMAGE" = "x" ]; then
@@ -126,7 +126,7 @@ if [ "$MACHINE" = "qemux86" ]; then
             return
         fi
         KERNCMDLINE="root=/dev/nfs nfsroot=192.168.7.1:$HDIMAGE rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
-        QEMUOPTIONS="-std-vga -usb -usbdevice wacom-tablet $QEMU_NETWORK_CMD"
+        QEMUOPTIONS="-vga std -usb -usbdevice wacom-tablet $QEMU_NETWORK_CMD"
     fi
 fi
 
index d69e7a3e2355368ccb187a14f688f0c1fd7ca5b1..d0abe56f579def06d501a28986b70d6fa3496424 100755 (executable)
@@ -43,7 +43,7 @@ if [ "x$1" != "x" ]; then
     TYPE=$1
     shift
 else
-    TYPE="ext2"
+    TYPE="ext3"
     if [ "$MACHINE" = "akita" ]; then
         TYPE="jffs2"
     fi
@@ -73,15 +73,15 @@ if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "spitz" -o "$MACHINE" = "borzoi" -o
 fi
 
 if [ "$MACHINE" = "qemuarm" ]; then
-    if [ "$TYPE" = "ext2" ]; then
+    if [ "$TYPE" = "ext3" ]; then
         if [ "x$HDIMAGE" = "x" ]; then
             T=$BUILDDIR/tmp/deploy/images/poky-image
-            if [ -e "$T-sdk-qemuarm.ext2" ]; then
-                HDIMAGE="$T-sdk-qemuarm.ext2"
-            elif [ -e "$T-sato-qemuarm.ext2" ]; then
-                HDIMAGE="$T-sato-qemuarm.ext2"
-            elif [ -e "$T-minimal-qemuarm.ext2" ]; then
-                HDIMAGE="$T-minimal-qemuarm.ext2"
+            if [ -e "$T-sdk-qemuarm.ext3" ]; then
+                HDIMAGE="$T-sdk-qemuarm.ext3"
+            elif [ -e "$T-sato-qemuarm.ext3" ]; then
+                HDIMAGE="$T-sato-qemuarm.ext3"
+            elif [ -e "$T-minimal-qemuarm.ext3" ]; then
+                HDIMAGE="$T-minimal-qemuarm.ext3"
             fi
         fi
     fi
@@ -116,15 +116,15 @@ if [ "$MACHINE" = "qemux86" ]; then
     if [ "x$ZIMAGE" = "x" ]; then
         ZIMAGE=$BUILDDIR/tmp/deploy/images/bzImage-$MACHINE.bin
     fi
-    if [ "$TYPE" = "ext2" ]; then
+    if [ "$TYPE" = "ext3" ]; then
         if [ "x$HDIMAGE" = "x" ]; then
             T=$BUILDDIR/tmp/deploy/images/poky-image
-            if [ -e "$T-sdk-qemux86.ext2" ]; then
-                HDIMAGE=$T-sdk-qemux86.ext2
-            elif [ -e "$T-sato-qemux86.ext2" ]; then
-                HDIMAGE=$T-sato-qemux86.ext2
-            elif [ -e "$T-minimal-qemux86.ext2" ]; then
-                HDIMAGE=$T-minimal-qemux86.ext2
+            if [ -e "$T-sdk-qemux86.ext3" ]; then
+                HDIMAGE=$T-sdk-qemux86.ext3
+            elif [ -e "$T-sato-qemux86.ext3" ]; then
+                HDIMAGE=$T-sato-qemux86.ext3
+            elif [ -e "$T-minimal-qemux86.ext3" ]; then
+                HDIMAGE=$T-minimal-qemux86.ext3
             fi
         fi
     fi