Hi, I am working in a project where the boot up time is a critical issue. The project is built around IMX6DL and we are using HAB. The boot sequence is SPL->u-boot->FIT-image, u-boot version is fslc-2018.11. We experience that the image verification of the u-boot image from the SPL is very slow. Around 800ms only for the function call to imx_hab_authenticate_image(). The verification of the FIT image from u-boot is much faster, almost 500ms faster.
According to the reference manual the MMU and caches are enabled i ROM for faster image verification but then disabled again after the authentication of the SPL image. The MMU and caches seems to be enabled again in the u-boot code which meas these will be disable when the SPL is running.
Can this be the cause of the slow u-boot verification in SPL? Do any one knows how to enable the MMU and caches in SPL code or can point me to a available patch?
Best regards,
Per Örbäck