[U-Boot] (patch) segfault when calling fit_check_format() on corrupt FIT images

Wolfgang Denk wd at denx.de
Mon Mar 8 22:14:40 CET 2010


Dear Jon Nalley,

In message <d83696341003081006v1b6c1714ubec35ea8ff718acb at mail.gmail.com> you wrote:
>
> My goal is to be able to determine (while in Linux) if one of the two
> firmware images in flash is corrupt or not.  Although our platform
> supports a hardware watchdog, I am unclear how it could solve this
> particular problem?  Granted, this is a fairly obscure case and it is
> not likely that users will be powering off hardware during firmware
> upgrades, but I wanted to at least describe the scenario to see what
> others might think.  I would appreciate any suggestions for other
> methods of determining if a FIT image in flash is valid or not.

Corruption should be detected by the checksum tests we're doing.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
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
It seems intuitively obvious to me, which  means  that  it  might  be
wrong.                                                 -- Chris Torek


More information about the U-Boot mailing list