
On Thursday 27 March 2008, Bartlomiej Sieka wrote:
It's because we assume that if the image got overwritten, its contents can't be trusted anymore, and abort booting. "Old" U-Boot didn't care about overwrites, which sometimes worked out OK, and sometimes didn't, the latter case resulting in nasty failure modes.
Ah, ok. So I really need to change all default environment variables on the board I maintain. Time to implement a common file for this.
The overwrite issue is particularly acute in case of the new image format. Image is based on FDT and is being accessed via libfdt functions, so if it gets overwritten, there's little point in processing it further. But even with images in old format, this issue has been brought up on this list, and there's been proposals to add safeguards. So since overwrite checking was rather necessary for the new format, and desired for the old one, it got added.
Understood. Thanks.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================