[PATCH] kontron-sl-mx8mm: Let CONFIG_SPL_FIT_IMAGE_TINY be selected
Fabio Estevam
festevam at gmail.com
Tue Sep 20 20:48:30 CEST 2022
Hi Stefano and Tom,
On Wed, Aug 24, 2022 at 7:09 AM Frieder Schrempf
<frieder.schrempf at kontron.de> wrote:
>
> Hi Fabio,
>
> Am 24.08.22 um 03:09 schrieb Fabio Estevam:
> > When CONFIG_IMX_HAB is selected the 'hab_status' command reports several
> > error events, indicating that the BootROM failed to authenticate the SPL.
> >
> > After inspecting the content of the memory location that corresponds to
> > the DTB load address, the content did not match with the DTB binary,
> > showing that some kind of memory corruption/overlap occurred.
> >
> > Letting the CONFIG_SPL_FIT_IMAGE_TINY option to be selected causes the
> > DTB to be properly placed into RAM and no more overlap occurs.
> >
> > With this change, the 'hab_status' command returns no more error events,
> > which indicates that the BootROM succeeded to authenticate the SPL.
> >
> > Signed-off-by: Fabio Estevam <festevam at denx.de>
>
> Thanks for debugging!
>
> I remember that enabling CONFIG_SPL_FIT_IMAGE_TINY resulted in aliases
> from the devicetree not being available anymore. This in turn caused the
> indexing of some devices to not be consistent between SPL, U-Boot proper
> and kernel. But I don't remember which exact problems were caused by this.
>
> I tried this on top of my patchset [1] and at first glance I don't see
> any obvious problems, so I hope whatever I have in the back of my mind
> is not an issue anymore.
>
> Reviewed-by: Frieder Schrempf <frieder.schrempf at kontron.de>
Could you please consider applying this one as a fix to 2022.10?
Thanks
More information about the U-Boot
mailing list