diff --git a/bsp/qemu-vexpress-a9/qemu-nographic.sh b/bsp/qemu-vexpress-a9/qemu-nographic.sh old mode 100644 new mode 100755 index bf808dead2..e5cac12517 --- a/bsp/qemu-vexpress-a9/qemu-nographic.sh +++ b/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 +