
On Mon, 21 Dec 2020 at 09:50, Siew Chin Lim elly.siew.chin.lim@intel.com wrote:
Add binman node to device tree to generate the FIT image for u-boot (u-boot.itb) and OS kernel (kernel.itb).
u-boot.itb contains arm trusted firmware (ATF), u-boot proper and u-boot device tree for ATF u-boot flow.
kernel.itb contains Linux Image and Linux device tree.
Signed-off-by: Siew Chin Lim elly.siew.chin.lim@intel.com
v5
Change 'blob' to 'blob-ext' entry in binman dts node for all input files. The input files (u-boot proper, Linux image files) that required to build FIT images may not yet ready during u-boot compilation. By using 'blob-ext', binman will report warning instead of error during u-boot compilation when the input files doesn't exist. It wouldn't fail the u-boot compilation. Then, user can prepare the input files later, and use binman command to generate the FIT images.
arch/arm/dts/socfpga_agilex-u-boot.dtsi | 4 +- arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi | 120 +++++++++++++++++++++++ arch/arm/dts/socfpga_stratix10-u-boot.dtsi | 8 ++ arch/arm/dts/socfpga_stratix10_socdk-u-boot.dtsi | 4 +- 4 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/socfpga_soc64_fit-u-boot.dtsi create mode 100644 arch/arm/dts/socfpga_stratix10-u-boot.dtsi
Reviewed-by: Simon Glass sjg@chromium.org