[qemu-vexpress-a9] QEMU运行时显示qemu版本号

This commit is contained in:
Meco Man 2022-09-29 11:51:34 -04:00 committed by Man, Jianting (Meco)
parent b2be7eae3a
commit 0fadf23b8d
2 changed files with 2 additions and 0 deletions

View File

@ -3,4 +3,5 @@ if exist sd.bin goto run
qemu-img create -f raw sd.bin 64M
:run
qemu-system-arm --version
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin

View File

@ -2,4 +2,5 @@ if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-arm --version
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin