[RFC] imx8mm-evk: Generate a bootable flash.bin again
Fabio Estevam
festevam at denx.de
Mon Aug 16 17:21:32 CEST 2021
After the convesion 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 image because the extra u-boot.itb is now required.
Generate a final flash.bin image that can be used again as a single
bootable image to keep the original behavior.
Suggested-by: Heiko Schocher <hs at denx.de>
Signed-off-by: Fabio Estevam <festevam at denx.de>
---
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
index f200afac9f..ad3056c7c8 100644
--- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi
@@ -217,4 +217,19 @@
};
};
};
+
+ imx-boot {
+ filename = "flash.bin";
+ pad-byte = <0x00>;
+
+ spl: blob-ext at 1 {
+ offset = <0x0>;
+ filename = "flash.bin";
+ };
+
+ uboot: blob-ext at 2 {
+ offset = <0x57c00>;
+ filename = "u-boot.itb";
+ };
+ };
};
--
2.25.1
More information about the U-Boot
mailing list