[U-Boot] [PATCH] spl: implement CRC check on U-Boot uImage

Wolfgang Denk wd at denx.de
Wed Nov 28 09:44:11 UTC 2018


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...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
There's no sense in being precise  when  you  don't  even  know  what
you're talking about.                             -- John von Neumann


More information about the U-Boot mailing list