[U-Boot] [U-Boot, v2, 21/27] mkimage: Support placing data outside the FIT

Tom Rini trini at konsulko.com
Tue Mar 15 12:54:56 CET 2016


On Mon, Feb 22, 2016 at 10:55:53PM -0700, Simon Glass wrote:

> One limitation of FIT is that all the data is 'inline' within it, using a
> 'data' property in each image node. This means that to find out what is in
> the FIT it is necessary to scan the entire file. Once loaded it can be
> scanned and then the images can be copied to the correct place in memory.
> 
> In SPL it can take a significant amount of time to copy images around in
> memory. Also loading data that does not end up being used is wasteful. It
> would be useful if the FIT were small, acting as a directory, with the
> actual data stored elsewhere.
> 
> This allows SPL to load the entire FIT, without the images, then load the
> images it wants later.
> 
> Add a -E option to mkimage to request that it output an 'external' FIT.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/1b60b0a1/attachment.sig>


More information about the U-Boot mailing list