imx8mm-evk: Generate a single bootable flash.bin again
authorFabio Estevam <festevam@denx.de>
Mon, 23 Aug 2021 12:56:42 +0000 (09:56 -0300)
committerStefano Babic <sbabic@denx.de>
Wed, 20 Oct 2021 15:46:09 +0000 (17:46 +0200)
commit028abfd9b1576b45cf756b9a0c978cfe17906314
tree5f5926114557961e7bd65bc9d82e768ada3e5e2c
parent936bf172638b390c6fc5e49b461ba534a65a21c9
imx8mm-evk: Generate a single bootable flash.bin again

After the conversion to binman in commit 8996e6b7c6a1 ("imx8mm_evk: switch
to use binman to pack images"), it is necessary to flash both flash.bin and
u-boot.itb to get a bootable system. Prior to this commit, 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 imx8mm_evk.rst to remove the u-boot.itb copy step.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
arch/arm/dts/imx8mm-evk-u-boot.dtsi
board/freescale/imx8mm_evk/imximage-8mm-lpddr4.cfg
doc/board/nxp/imx8mm_evk.rst