imx8mq: Generate a single bootable flash.bin again
authorPatrick Wildt <patrick@blueri.se>
Sat, 8 Jan 2022 15:34:17 +0000 (16:34 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 8 Jan 2022 16:16:03 +0000 (11:16 -0500)
commitb05cebb5f244f2891b40397ce2eb0f4596fec659
tree1e0deb990df68e64b620c45ce954ba15e8966f98
parent1b2fb345d755d214728ef7377c06a00dc5d6759b
imx8mq: Generate a single bootable flash.bin again

All i.MX8MQ boards have been converted to binman, which makes it
necessary to flash both flash.bin and u-boot.itb to get a bootable
system. Prior to the conversion, only flash.bin was needed.

Such new requirement breaks existing distro mechanisms to generate the
final binary because the extra u-boot.itb is now required.

Generate a final flash.bin that can be used again as a single bootable
binary to keep the original behavior.

After this change the SPL binary is called spl.bin, which is a more
descriptive name for its purpose, and can still be used standalone (for
example, for secure boot purposes).

Also update imx8mq_evk.rst to remove the u-boot.itb copy step.

This is a cherry-pick of 028abfd9b157 ("imx8mm-evk: Generate a single
bootable flash.bin again") adjusted to apply to i.MX8MQ.

Signed-off-by: Patrick Wildt <patrick@blueri.se>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/dts/imx8mq-u-boot.dtsi
arch/arm/mach-imx/imx8m/imximage.cfg
doc/board/nxp/imx8mq_evk.rst