diff options
author | Fabio Estevam <festevam@denx.de> | 2021-08-23 09:56:42 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-10-20 17:46:09 +0200 |
commit | 028abfd9b1576b45cf756b9a0c978cfe17906314 (patch) | |
tree | 5f5926114557961e7bd65bc9d82e768ada3e5e2c /arch/arm | |
parent | 936bf172638b390c6fc5e49b461ba534a65a21c9 (diff) | |
download | u-boot-028abfd9b1576b45cf756b9a0c978cfe17906314.zip u-boot-028abfd9b1576b45cf756b9a0c978cfe17906314.tar.gz u-boot-028abfd9b1576b45cf756b9a0c978cfe17906314.tar.bz2 |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/imx8mm-evk-u-boot.dtsi | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi index f200afa..3c75415 100644 --- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi @@ -150,7 +150,9 @@ }; - flash { + spl { + filename = "spl.bin"; + mkimage { args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; @@ -217,4 +219,19 @@ }; }; }; + + imx-boot { + filename = "flash.bin"; + pad-byte = <0x00>; + + spl: blob-ext@1 { + offset = <0x0>; + filename = "spl.bin"; + }; + + uboot: blob-ext@2 { + offset = <0x57c00>; + filename = "u-boot.itb"; + }; + }; }; |