This device is used to emulate an ARM Versatile Express for Cortex-A9.
Vexpress (Versatile Express) is the reference architecture from the ARM Foundation. It simulates the armv7 architecture and a lot of other hardware (like graphics hardware).
QEMU supports many other ARM architectures (see qemu-system-arm -machine help
).
-dtb
flag, it doesn't use the embedded dtb$ ./pmbootstrap.py install
$ ./pmbootstrap.py flasher export
$ cp ~/.local/var/pmbootstrap/chroot_rootfs_qemu-vexpress/usr/share/dtb/vexpress-v2p-ca9.dtb .
$ qemu-system-arm \
-kernel vmlinuz-postmarketos \
-initrd initramfs-postmarketos \
-M vexpress-a9 \
-m 1024 \
-sd qemu-vexpress.img \
-append "console=ttyAMA0,38400n8 console=tty1 PMOS_NO_OUTPUT_REDIRECT" \
-dtb vexpress-v2p-ca9.dtb