From: Wolfgang Denk Date: Thu, 22 Nov 2018 17:00:25 +0100 Subject: [U-Boot] [swupdate] Re: SWUpdate - U-Boot environment library dependency In-Reply-To: References: <20180904102959.GA1766@iiotirae> <90014ca9-64d8-8e38-a6c0-4c06e991c92c@gmail.com> <20181121083121.629FC240403@gemini.denx.de> <6b07725e-51ba-7309-1506-e7211487b947@denx.de> <9efc8990-118c-d5b9-802d-8190db2326d3@denx.de> <20181121114520.0DAF9240403@gemini.denx.de> <7089ef62-ed0f-87f4-e979-8c18a6ae4b62@denx.de> <20181121142749.E7986240403@gemini.denx.de> <20181121154139.A7197240403@gemini.denx.de> <97f8b0ec-103b-e9b7-42ed-e1922f6d489a@gmail.com> <20181122142248.B5E8D240403@gemini.denx.de> Message-ID: <20181122160025.B3E0D240403@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 you wrote: > > > I don't know your board. > > > > It may be intentional, for example if there are size restrictions > > for the SPL wich don't allow to include the CRC32 code... > > > > I don't think this is intentional. I discussed this in another thread with > Marek by now. There is no reference to the CRC code in the files in > common/spl or the funtions called by it. Depending on hardware capabilities, this may be indeed intentional, for example to keep the size of the SPL below a certain limit or to allow for other, more critical features instead. > Searching the whole code, I cannot see anything that checks the uImage CRC > from standard SPL. And I don't see board specific controls to do this > check, did I miss something? This may well be possible. But then, this is usually stage two already - the ROM bootloader did not check any SPL checksum either... 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 Perl itself is usually pretty good about telling you what you shouldn't do. :-) - Larry Wall in <11091@jpl-devvax.JPL.NASA.GOV>