[U-Boot] [PATCH] spl: implement CRC check on U-Boot uImage
Simon Goldschmidt
simon.k.r.goldschmidt at gmail.com
Wed Nov 28 09:59:53 UTC 2018
Am Mi., 28. Nov. 2018, 10:44 hat Wolfgang Denk <wd at denx.de> geschrieben:
> Dear Simon,
>
> In message <54b881d1-39d5-8b3c-8fbf-1c249349dbe9 at gmail.com> you wrote:
> >
> > That still sounds like an interesting feature! Although it might be
> > difficult to implement with all the different unzip algorithms we have
> > to add a CRC check...
> >
> > But I do not see it in the current U-Boot sources. Can you point me to a
> > git commit in the past where I can have a look at how this was done?
>
> Hm... I can't find it either...
>
> I checked v2008.10, v1.3.0 and even LABEL_2002_11_05_0120, but thay
> all have two passes: first verifying the CRC, then
> uncompressing/loading to the target address.
>
> Sorry for the false alarm - I was sure we had this, but apparently
> it was just one of the old ideas I had in mind for boot time
> optimizations...
>
Ok, thanks for checking. Still seems like a good idea especially for SPL
where cache is often not enabled.
Regards,
Simon
More information about the U-Boot
mailing list