
Hi Fabio,
Yes. It is able to not provide the fip,bin. If you use bl31.bin as bl31.bin then fip.bin can be empty. If you use bl2.bin as bl31.bin then you have to have the fip.
This depends on how TF-A are being built. If you build TF-A without NEED_BL2=yes. Then you don't need the fip.bin. If you build TF-A with NEED_BL2=yes. Then FIP is needed. And you have to use bl2.bin generated by TF-A and rename it to bl31.bin. I think maybe I can fix the README. If you can do that then that's perfect because my English is always not very good. So that means I sometimes need more review on my English sentences.
Yours, Paul
On Thu, 1 Jul 2021 at 05:43, Fabio Estevam festevam@gmail.com wrote:
Hi Paul,
I am trying to build U-Boot 2021.07-rc5 for the imx8mm-cl-iot-gate_defconfig target and I am following the imx8mm-evk readme: doc/board/freescale/imx8mm_evk.rst for the build instructions and this is the output:
make[1]: Nothing to be done for 'SPL'. BINMAN all Image 'main-section' is missing external blobs and is non-functional: blob-ext
Some images are invalid
This happens because I did not provide the fip.bin binary.
Is it OK if I remove the fip.bin entry like this? Would the board still boot?
--- a/arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi @@ -217,18 +217,6 @@ }; };
fip {
description = "Trusted Firmware
FIP";
type = "firmware";
arch = "arm64";
compression = "none";
load = <0x40310000>;
fip_blob: blob-ext{
filename = "fip.bin";
};
};
fdt { description = "NAME"; type = "flat_dt";
Could you please let me know the process for generating fip.bin?
It would be nice to have a doc/board/compulab/imx8mm-iot-gate.rst README file with these details. I can help with that but need your help to clarify the generation of fip.bin.
Also, is it OK if I use the ATF firmware and LPDDR binaries version as specified in doc/board/freescale/imx8mm_evk.rst ?
Thanks,
Fabio Estevam