소스 검색

[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
+