From: Wolfgang Denk Date: Wed, 28 Nov 2018 10:44:11 +0100 Subject: [U-Boot] [PATCH] spl: implement CRC check on U-Boot uImage In-Reply-To: <54b881d1-39d5-8b3c-8fbf-1c249349dbe9@gmail.com> References: <20181124124641.6605-1-simon.k.r.goldschmidt@gmail.com> <20181127145745.807542400DF@gemini.denx.de> <1707f08a-4844-979c-716f-9ee8da29ccfd@gmail.com> <20181128090851.831702400DF@gemini.denx.de> <54b881d1-39d5-8b3c-8fbf-1c249349dbe9@gmail.com> Message-ID: <20181128094412.0FA832400DF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon, In message <54b881d1-39d5-8b3c-8fbf-1c249349dbe9@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