提交 0fadf23b 编写于 作者: mysterywolf's avatar mysterywolf 提交者: mysterywolf

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

上级 b2be7eae
...@@ -3,4 +3,5 @@ if exist sd.bin goto run ...@@ -3,4 +3,5 @@ if exist sd.bin goto run
qemu-img create -f raw sd.bin 64M qemu-img create -f raw sd.bin 64M
:run :run
qemu-system-arm --version
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin
...@@ -2,4 +2,5 @@ if [ ! -f "sd.bin" ]; then ...@@ -2,4 +2,5 @@ if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536 dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi fi
qemu-system-arm --version
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册