11 lines
372 B
Bash
Executable File
11 lines
372 B
Bash
Executable File
#!/bin/sh
|
|
if [ ! -f dummy.qcow2 ]; then
|
|
qemu-img create -f qcow2 dummy.qcow2 32M
|
|
fi
|
|
build/qemu-system-arm -machine mps2-an385 -monitor null -semihosting \
|
|
--semihosting-config enable=on,target=native \
|
|
-kernel $1 \
|
|
-serial stdio -nographic \
|
|
-snapshot -drive if=none,format=qcow2,file=dummy.qcow2 \
|
|
-icount shift=auto,align=off,sleep=off
|