diff --git a/reform2-imx8mq/emulate.sh b/reform2-imx8mq/emulate.sh new file mode 100755 index 0000000000000000000000000000000000000000..6e2bd71ffb3c88355bf145af30a3b7637288d2df --- /dev/null +++ b/reform2-imx8mq/emulate.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +qemu-system-aarch64 \ + -machine virt \ + -cpu cortex-a53 \ + -smp 4 \ + -kernel ./linux/arch/arm64/boot/Image \ + -device virtio-gpu-pci,virgl=on \ + -append "console=ttyAMA0 root=/dev/vda rw" \ + -m 4096 \ + -nic user,model=virtio-net-pci \ + -display gtk,gl=on \ + -device usb-ehci -device usb-kbd -device usb-tablet -usb \ + -serial stdio + +# optional: rootfs mounted from .img +#-drive if=none,file=/dev/loop0p1,id=rfs -device virtio-blk-device,drive=rfs \ +