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

Compile u-boot

For PICO-IMX8M

make pico-imx8mq_defconfig

make

For EDM-IMX8M

make edm-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.

For PICO-IMX8M

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

For EDM-IMX8M

./install_uboot_imx8.sh -b imx8mq-edm-wizard -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.