mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 01:29:24 +08:00
6 lines
267 B
Batchfile
6 lines
267 B
Batchfile
@echo off
|
|
if exist sd.bin goto run
|
|
qemu-img create -f raw sd.bin 64M
|
|
|
|
:run
|
|
qemu-system-aarch64 -M virt -cpu cortex-a53 -smp 4 -kernel rtthread.elf -drive if=none,file=sd.bin,format=raw,id=blk0 -device virtio-blk-device,drive=blk0,bus=virtio-mmio-bus.0 -nographic |