]> git.baikalelectronics.ru Git - uboot.git/commit
imx: Fix imx8m FIT script issue
authorYe Li <ye.li@nxp.com>
Thu, 9 Apr 2020 08:44:43 +0000 (01:44 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Apr 2020 17:07:32 +0000 (13:07 -0400)
commitb7375b3afbd534468a028087b5de60c6711a705e
treeb7673096ba30b08a7a063f577189474ef9df0e56
parente1c6bc4a029889c6d2b4efd252c8cbf410c8fc1a
imx: Fix imx8m FIT script issue

The FIT config node has reversed ATF and u-boot: ATF is set to 'firmware' but
u-boot is set to 'loadables'.
This script can work previously because spl fit driver wrongly appends fdt to
all loadable images. With the issue fixed in commit 7fa19823ae0f ("Revert
"common: spl_fit: Default to IH_OS_U_BOOT if FIT_IMAGE_TINY enabled"") the
u-boot in 'loadables' does not have fdt appended and fails to work.  So correct
the script by moving u-boot to 'firmware' and ATF to 'loadables'.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reported-by: Matt Porter <mporter@konsulko.com>
Tested-by: Matt Porter <mporter@konsulko.com>
arch/arm/mach-imx/mkimage_fit_atf.sh