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

6 lines
166 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 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin