[U-Boot] [PATCH v2] SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode

Andreas Dannenberg
2016-05-19T18:16:04Z

Hi Michal,

On Thu, May 19, 2016 at 06:38:04PM +0200, Michal Simek wrote:
> On 19.5.2016 18:15, Andreas Dannenberg wrote:
> > On Tue, May 17, 2016 at 07:00:24PM +0200, Michal Simek wrote:
> >> Support loading FIT in SPL for RAM bootmode.
> >> CONFIG_SPL_LOAD_FIT_ADRESS points to address where FIT image is stored
> >> in memory.
> >>
> >> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> >> Reviewed-by: Simon Glass <sjg@chromium.org>
> >> ---
> >
> > Reviewed-by: Andreas Dannenberg <dannenberg@ti.com>
> >
> >
> > That's a very useful addition to the SPL FIT toolbox! I have a use case
> > where I may need to decrypt/authenticate an SPL FIT image in its entirety
> > before processing it so this can be used for this as well.
>
> Do you have also use case where you need to load more files from FIT?
> There is loadable entry in FIT config entry.

Not yet but I may get there. I'm experimenting with using U-Boot to load
and install a secure monitor mode application (specifically, OP-TEE OS),
so that will need to come from somewhere eventually and FIT would be a
natural place for that binary to reside since we can easily authenticate
it.

Thanks and Regards,
Andreas