From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Dannenberg Date: Thu, 19 May 2016 13:16:04 -0500 Subject: [U-Boot] [PATCH v2] SPL: FIT: Enable SPL_FIT_LOAD in RAM based boot mode In-Reply-To: <573DEBEC.7070407@xilinx.com> References: <8e3d705c04c22e79959554093678775cdd84b4e3.1463504422.git.michal.simek@xilinx.com> <20160519161507.GA4475@borg.dal.design.ti.com> <573DEBEC.7070407@xilinx.com> Message-ID: <20160519181604.GC4475@borg.dal.design.ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > >> Reviewed-by: Simon Glass > >> --- > > > > Reviewed-by: Andreas Dannenberg > > > > > > 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