rt-thread/bsp/qemu-vexpress-a9/qemu.sh

6 lines
154 B
Bash
Raw Normal View History

2018-01-23 11:16:59 +08:00
if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
2018-01-23 11:16:59 +08:00
fi
qemu-system-arm -M vexpress-a9 -kernel rtthread.elf -serial stdio -sd sd.bin