Pārlūkot izejas kodu

[BSP] Update qemu nographic script

Bernard Xiong 7 gadi atpakaļ
vecāks
revīzija
37c6eac27b
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  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
+