Переглянути джерело

[BSP] Update qemu nographic script

Bernard Xiong 7 роки тому
батько
коміт
37c6eac27b
1 змінених файлів з 6 додано та 1 видалено
  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
+