qemu.sh 266 B

12345
  1. if [ ! -f "sd.bin" ]; then
  2. dd if=/dev/zero of=sd.bin bs=1024 count=65536
  3. fi
  4. qemu-system-aarch64 -M virt -cpu cortex-a53 -smp 4 -kernel rtthread.elf -nographic \
  5. -drive if=none,file=sd.bin,format=raw,id=blk0 -device virtio-blk-device,drive=blk0,bus=virtio-mmio-bus.0