[BSP] Update qemu script

This commit is contained in:
Bernard Xiong 2018-01-23 11:16:59 +08:00
parent 828804e26d
commit f50a5e94b0
2 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,4 @@ if exist sd.bin goto run
qemu-img create -f raw sd.bin 64M
:run
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial vc -serial vc -sd sd.bin
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial stdio -sd sd.bin

View File

@ -1 +1,5 @@
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial vc -serial vc
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 -serial stdio -sd sd.bin