aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Julien Olivain <juju@cotds.org>2019-03-06 22:47:21 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-07 23:17:28 +0100
commit332421c683cad932c7cf9a16ed77cef9ac055479 (patch)
tree8aae7b2b2ae01d34d9d0149d328b35ad40a73afb
parente68fdaf4146000c5bf331171c719e353e3385aa9 (diff)
downloadbuildroot-332421c683cad932c7cf9a16ed77cef9ac055479.tar.gz
buildroot-332421c683cad932c7cf9a16ed77cef9ac055479.tar.bz2
board/freescale/common/imx: fix imx8-bootloader-prepare for i.MX8M
The update of imx-mkimage in commit c14d92d439062caa6c94c4a93b20ab18aa20554c broke the imx8-bootloader-prepare.sh script for i.MX8M, used in freescale_imx8mqevk_defconfig The updated mkimage_fit_atf.sh script in imx-mkimage now needs a ATF_LOAD_ADDR variable, which was set to 0x00910000 for i.MX8M. Signed-off-by: Julien Olivain <juju@cotds.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xboard/freescale/common/imx/imx8-bootloader-prepare.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/common/imx/imx8-bootloader-prepare.sh b/board/freescale/common/imx/imx8-bootloader-prepare.sh
index e98e93a857..3b319693ea 100755
--- a/board/freescale/common/imx/imx8-bootloader-prepare.sh
+++ b/board/freescale/common/imx/imx8-bootloader-prepare.sh
@@ -10,7 +10,7 @@ main ()
if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
cat ${BINARIES_DIR}/u-boot-spl.bin ${BINARIES_DIR}/lpddr4_pmu_train_fw.bin > ${BINARIES_DIR}/u-boot-spl-ddr.bin
- BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
+ BL31=${BINARIES_DIR}/bl31.bin BL33=${BINARIES_DIR}/u-boot.bin ATF_LOAD_ADDR=0x00910000 ${HOST_DIR}/bin/mkimage_fit_atf.sh ${UBOOT_DTB} > ${BINARIES_DIR}/u-boot.its
${HOST_DIR}/bin/mkimage -E -p 0x3000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb
rm -f ${BINARIES_DIR}/u-boot.its