summaryrefslogtreecommitdiff
path: root/target/aarch64
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-01-17 18:53:48 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-01-28 09:29:53 (GMT)
commita4463e1a45cc0f87e7c8011b7c4e26e1cea3ed98 (patch)
treed2a21c4b4e98b900d0e5762bfcbef4bb547534b8 /target/aarch64
parente4fee052dce7e612e89dde1fe8549da779a8003e (diff)
qemu-aarch64: set raw mode for disk
Diffstat (limited to 'target/aarch64')
-rw-r--r--target/aarch64/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/aarch64/Makefile b/target/aarch64/Makefile
index 35c5094..58f0167 100644
--- a/target/aarch64/Makefile
+++ b/target/aarch64/Makefile
@@ -13,7 +13,7 @@ ifeq ($(ADK_TARGET_QEMU_WITH_VIRTIO),y)
QEMU_ARGS+=-netdev user,id=eth0 -device virtio-net-device,netdev=eth0
endif
ifeq ($(ADK_TARGET_FS),archive)
-QEMU_ARGS+=-device virtio-blk-device,drive=vda -drive file=qemu-${ADK_TARGET_CPU_ARCH}.img,if=none,id=vda
+QEMU_ARGS+=-device virtio-blk-device,drive=vda -drive file=qemu-${ADK_TARGET_CPU_ARCH}.img,if=none,id=vda,format=raw
endif
# target helper text
@@ -25,7 +25,7 @@ ifeq ($(ADK_TARGET_QEMU),y)
@echo "Use following command to create a QEMU Image:"
@echo "./scripts/create.sh qemu-${ADK_TARGET_CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
@echo "Start qemu with following options:"
- @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${ADK_TARGET_CPU_ARCH}.img'
+ @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)'
endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)