Building U-Boot for i.MX RT10XX Targets
NXP i.MXRT10XX: Installing U-Boot to the NXP i.MX RT10XX EVK Board explains how to install the U-Boot firmware to the board for the first time. Having installed U-Boot, U-Boot is immediately available on the I.MX RT10XX board as a primary firmware monitor.
The default U-Boot configuration is a capable Linux bootloader so typically our customers do not require re-building and re-installing U-Boot. However, certain projects still do require customizations to the U-Boot firmware, which implies making changes to the U-Boot code, rebuilding the U-Boot binary and then updating it on the RT10XX board.
The full U-Boot source for the NXP i.MX RT10XX board is included in the software distribution available from the Emcraft web site. Refer to the u-boot/ sub-directory in the software distribution tree.
The key board specific-configuration files for the NXP i.MX RT1024 EVK board are as follows:
u-boot/configs/imxrt1024-evk-sdcard_defconfig- default U-Boot configuration;u-boot/include/configs/imxrt1024-evk.h- configuration options;u-boot/board/freescale/imxrt1020-evk/imxrt1020-evk.c- board-specific initialization code.
The key board specific-configuration files for the NXP i.MX RT1050 EVKB board are as follows:
u-boot/configs/imxrt1050-evk-sdcard_defconfig- default U-Boot configuration;u-boot/include/configs/imxrt1050-evk.h- configuration options;u-boot/board/freescale/imxrt1050-evk/imxrt1050-evk.c- board-specific initialization code.
The key board specific-configuration files for the NXP i.MX RT1060 EVKB board are as follows:
u-boot/configs/imxrt1060-evk-sdcard_defconfig- default U-Boot configuration;u-boot/include/configs/imxrt1050-evk.h- configuration options;u-boot/board/freescale/imxrt1050-evk/imxrt1050-evk.c- board-specific initialization code.
Step through the following procedure to build U-Boot for the NXP i.MX RT1024 EVK board:
On the Linux development host, activate the cross-build environment as described in Installing and Activating Cross Development Environment :
$ . ./ACTIVATE.shChange to the U-Boot top directory:
$ cd u-bootConfigure U-Boot for the NXP i.MX RT1024 EVK board:
$ make mrproper $ make imxrt1024-evk-sdcard_defconfigRun make to create the U-Boot binaries (SPL and
u-boot.img):make -s
Step through the following procedure to build U-Boot for the NXP i.MX RT1050 EVKB board:
On the Linux development host, activate the cross-build environment as described in Installing and Activating Cross Development Environment :
$ . ./ACTIVATE.shChange to the U-Boot top directory:
$ cd u-bootConfigure U-Boot for the NXP i.MX RT1050 EVKB board:
$ make mrproper $ make imxrt1050-evk-sdcard_defconfigRun make to create the U-Boot binaries (SPL and
u-boot.img):$ make -s
Step through the following procedure to build U-Boot for the NXP i.MX RT1060 EVKB board:
On the Linux development host, activate the cross-build environment as described in Installing and Activating Cross Development Environment :
$ . ./ACTIVATE.shChange to the U-Boot top directory:
$ cd u-bootConfigure U-Boot for the NXP i.MX RT1060 EVKB board:
$ make mrproper $ make imxrt1060-evk-sdcard_defconfigRun make to create the U-Boot binaries (SPL and
u-boot.img):$ make -s