pico_imx8mq_uboot_v2018.03_4.14.98_2.0.0_ga - TechNexion/u-boot-edm GitHub Wiki
Compile u-boot
make pico-imx8mq_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_imx8.sh -b imx8mq-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.