[U-Boot] SPL and FIT images

michael at walle.cc michael at walle.cc
Thu May 19 13:46:29 CEST 2016


Hi,

I'm looking into the FIT support in the SPL, because we are planning to 
load bootloader from a filesystem (on a MMC device); the SPL will be 
stored in a write-protected SPI flash. To make sure that a user does not 
accidentally put a wrong bootloader image on the filesystem, we would 
like to do some kind of compatiblity checking. I guess this can be done 
with the FIT image and its compatibility node. Looking into the code I 
found out, that FIT images only seems to be supported when the 
bootloader is loaded from raw MMC.

Simon, since this code is from you, might I ask, why you didn't put it 
into the common spl.c (spl_parse_image_header(), etc) so it could be 
used for all other methods, too? I just want to make sure, there is no 
reason not to do it for our case.

-michael


More information about the U-Boot mailing list