4.13.3.40. ZII i.MX8MQ Based Boards

4.13.3.40.1. Building Barebox

To build Barebox of ZII i.MX8MQ based board do the following:

make ARCH=arm CROSS_COMPILE=<AArch64 toolchain prefix> mrproper
make ARCH=arm CROSS_COMPILE=<AArch64 toolchain prefix> imx_v8_defconfig
make ARCH=arm CROSS_COMPILE=<AArch64 toolchain prefix>

4.13.3.40.2. Uploading Barebox via JTAG

Barebox can be bootstrapped via JTAG using OpenOCD (latest master) as follows:

cd barebox
Documentation/boards/imx/zii-imx8mq-dev/bootstrap.sh