pico_imx8mq_uboot_v2017.03_4.9.88_2.0.0_ga - TechNexion/u-boot-tn-imx GitHub Wiki

Compile u-boot

make pico-8m_defconfig
make

Generate bootloader binary and deploy

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

./install_uboot_imx8mq.sh -b pico-8m -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.