imx8mm_uboot_v2018.03_4.14.98_2.0.0_ga - TechNexion/u-boot-tn-imx GitHub Wiki

Compile u-boot

Available defconfig for i.mx8mm:

Platform defconfig
PICO-IMX8MM pico-imx8mm_defconfig
FLEX-IMX8MM flex-imx8mm_defconfig

make pico-imx8mm_defconfig

make

Generate bootloader binary and deploy

Platform DTB in u-boot
PICO-IMX8MM imx8mm-pico-pi
FLEX-IMX8MM imx8mm-flex-pi

For example, if the name of device tree of target platform is 'pico-imx8mm' and we'd like to intstall it into /dev/sdX.

./install_uboot_imx8.sh -b imx8mm-pico-pi -d /dev/sdX

The final bootloader "flash.bin" will be generated under "./imx-mkimage/iMX8M/". It includes SPL, U-Boot, dtb file, ARM trusted firmware(bl31.bin), DDR firmware, and HDMI firmware.