1 .. SPDX-License-Identifier: GPL-2.0+
6 The Kontron pitx-imx8m is an embedded board with an i.MX8MQ in the pITX
9 The board has two Ethernet ports, USB, HDMI/LVDS, m.2 slot, SD card, CAN,
15 - Get and build the ARM Trusted firmware binary
16 - Get DDR and HDMI firmware
21 Get and build the ARM Trusted firmware binary
22 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 Note: builddir is U-Boot build directory (source directory for in-tree builds)
28 $ git clone https://github.com/ARM-software/arm-trusted-firmware.git
30 $ make PLAT=imx8mq ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu- bl31
31 $ cp build/imx8mq/release/bl31.bin $(builddir)
33 Get DDR and HDMI firmware
34 ^^^^^^^^^^^^^^^^^^^^^^^^^
36 Note: builddir is U-Boot build directory (source directory for in-tree builds)
40 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.11.bin
41 $ chmod +x firmware-imx-8.11.bin
43 $ cp firmware-imx-8.11/firmware/ddr/synopsys/lpddr4*.bin $(builddir)
44 $ cp firmware-imx-8.11/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir)
51 $ make kontron_pitx_imx8m_defconfig
52 $ make CROSS_COMPILE=aarch64-linux-gnu-
58 Burn the flash.bin to SD card at an offset of 33 KiB:
62 $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33
67 Set the boot source selection to SD card boot and power on the board.