1
0

qemu.bat 272 B

1234567
  1. @echo off
  2. if exist sd.bin goto run
  3. qemu-img create -f raw sd.bin 64M
  4. :run
  5. qemu-system-aarch64 -M virt -cpu cortex-a53 -smp 4 -kernel rtthread.elf -nographic ^
  6. -drive if=none,file=sd.bin,format=raw,id=blk0 -device virtio-blk-device,drive=blk0,bus=virtio-mmio-bus.0