[U-Boot] [swupdate] Re: SWUpdate - U-Boot environment library dependency

Wolfgang Denk wd at denx.de
Thu Nov 22 16:00:25 UTC 2018


Dear Simon,

In message <CAAh8qswJ-hf_FCvTdOggpS4MO6pThKLefjYxcquaBuhKfdQO2w at mail.gmail.com> 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 at jpl-devvax.JPL.NASA.GOV>


More information about the U-Boot mailing list