diff options
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-x | scripts/poky-qemu-internal | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index a88f52ace8..ab4ee5e616 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal | |||
@@ -50,7 +50,7 @@ if [ ! -f "$ZIMAGE" ]; then | |||
50 | exit 1 | 50 | exit 1 |
51 | fi | 51 | fi |
52 | 52 | ||
53 | if [ "$MACHINE" != "qemuarm" -a "$MACHINE" != "qemux86" ]; then | 53 | if [ "$MACHINE" != "qemuarm" -a "$MACHINE" != "qemux86" -a "$MACHINE" != "akita" ]; then |
54 | echo "Error, unsupported machine type $MACHINE" | 54 | echo "Error, unsupported machine type $MACHINE" |
55 | exit 1 | 55 | exit 1 |
56 | fi | 56 | fi |
@@ -107,14 +107,13 @@ fi | |||
107 | 107 | ||
108 | if [ "$MACHINE" = "akita" ]; then | 108 | if [ "$MACHINE" = "akita" ]; then |
109 | QEMU=`which qemu-system-arm` | 109 | QEMU=`which qemu-system-arm` |
110 | # QEMU=/usr/local/bin/qemu-system-arm | 110 | if [ "$TYPE" = "jffs2" ]; then |
111 | # if [ "$TYPE" = "ext2" ]; then | 111 | if [ ! -e "$HDIMAGE.qemuflash" ]; then |
112 | # if [ "x$HDIMAGE" = "x" ]; then | 112 | echo "Converting raw image into flash image format for use by QEMU, please wait..." |
113 | # HDIMAGE=$BUILDDIR/tmp/deploy/images/oh-image-sdk-akita.jffs2 | 113 | raw2flash.akita < $HDIMAGE > $HDIMAGE.qemuflash |
114 | # HDIMAGE=$BUILDDIR/tmp/deploy/images/akita.test | 114 | fi |
115 | # fi | 115 | QEMUOPTIONS="$QEMU_NETWORK_CMD -M akita -mtdblock $HDIMAGE.qemuflash -vertical" |
116 | # QEMUOPTIONS="$QEMU_NETWORK_CMD -M akita -hdd $HDIMAGE" | 116 | fi |
117 | # fi | ||
118 | fi | 117 | fi |
119 | 118 | ||
120 | if [ "x$QEMUOPTIONS" = "x" ]; then | 119 | if [ "x$QEMUOPTIONS" = "x" ]; then |