From: Wolfgang Denk Date: Thu, 22 Nov 2018 15:22:48 +0100 Subject: [U-Boot] [swupdate] Re: SWUpdate - U-Boot environment library dependency In-Reply-To: <97f8b0ec-103b-e9b7-42ed-e1922f6d489a@gmail.com> 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> Message-ID: <20181122142248.B5E8D240403@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 <97f8b0ec-103b-e9b7-42ed-e1922f6d489a@gmail.com> you wrote: > > Oops, I'll have to take that back. I just checked and SPL *does* boot > the uImage U-Boot also if I deliberately corrupt the CRC of the image. > So you're right, it seems to be not protected at all! > > Is that expected behaviour or a bug? 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... 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 The word "fit", as I understand it, means "appropriate to a purpose", and I would say the body of the Dean is supremely appropriate to the purpose of sitting around all day and eating big heavy meals. - Terry Pratchett, _Moving Pictures_