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

6 lines
169 B
Bash
Raw Normal View History

if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -nographic -sd sd.bin -S -s