[BSP] Update qemu script

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

No files matched your search

+1 -1
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
+5 -1
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