rt-thread/bsp/qemu-virt64-aarch64/qemu.bat

8 lines
272 B
Batchfile
Raw Normal View History

@echo off
if exist sd.bin goto run
qemu-img create -f raw sd.bin 64M
:run
2022-01-07 13:49:06 +08:00
qemu-system-aarch64 -M virt -cpu cortex-a53 -smp 4 -kernel rtthread.elf -nographic ^
-drive if=none,file=sd.bin,format=raw,id=blk0 -device virtio-blk-device,drive=blk0,bus=virtio-mmio-bus.0