docs/system/arm/imx8mp-evk.rst
imx8mp-evk)The imx8mp-evk machine models the i.MX 8M Plus Evaluation Kit, based on an
i.MX 8M Plus SoC.
The imx8mp-evk machine implements the following devices:
The imx8mp-evk machine can start a Linux kernel directly using the standard
-kernel functionality.
Direct Linux Kernel Boot ''''''''''''''''''''''''
Probably the easiest way to get started with a whole Linux system on the machine is to generate an image with Buildroot. Version 2024.11.1 is tested at the time of writing and involves two steps. First run the following commands in the toplevel directory of the Buildroot source tree:
.. code-block:: bash
$ make freescale_imx8mpevk_defconfig $ make
Once finished successfully there is an output/image subfolder. Navigate into
it and resize the SD card image to a power of two:
.. code-block:: bash
$ qemu-img resize sdcard.img 256M
Now that everything is prepared the machine can be started as follows:
.. code-block:: bash
$ qemu-system-aarch64 -M imx8mp-evk
-display none -serial null -serial stdio
-kernel Image
-dtb imx8mp-evk.dtb
-append "root=/dev/mmcblk2p2"
-drive file=sdcard.img,if=sd,bus=2,format=raw,id=mmcblk2
To enable hardware-assisted acceleration via KVM, append
-accel kvm to the command line. While this speeds up performance
significantly, be aware of the following limitations:
imx8mp-evk machine is not included under the "virtualization use case"
of :doc:QEMU's security policy . This means that you
should not trust that it can contain malicious guests, whether it is run
using TCG or KVM. If you don't trust your guests and you're relying on QEMU to
be the security boundary, you want to choose another machine such as virt.