Browse Source

[BSP] Update qemu nographic script

Bernard Xiong 7 years ago
parent
commit
37c6eac27b
1 changed files with 6 additions and 1 deletions
  1. 6 1
      bsp/qemu-vexpress-a9/qemu-nographic.sh

+ 6 - 1
bsp/qemu-vexpress-a9/qemu-nographic.sh

@@ -1 +1,6 @@
-qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -nographic
+if [ ! -f "sd.bin" ]; then
+dd if=/dev/zero of=sd.bin bs=64M count=1
+fi
+
+qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -nographic -sd sd.bin
+