From: Wolfgang Denk Date: Mon, 08 Mar 2010 22:14:40 +0100 Subject: [U-Boot] (patch) segfault when calling fit_check_format() on corrupt FIT images In-Reply-To: References: Message-ID: <20100308211440.C4B11E6ACEF@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 Jon Nalley, In message 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