[U-Boot-Users] CFI driver does not verify writes in buffered mode - feature?

Wolfgang Denk wd at denx.de
Thu May 10 00:33:19 CEST 2007


In message <46422E3E.40703 at orkun.us> you wrote:
>
> > when using the CFI flash driver with CFG_FLASH_USE_BUFFER_WRITE the
> > "usual" verification whether the write did indeed happen correctly is
> > not done:
...
> In the above example you are overwriting the same data. Which is OK to 
> write without erasing first. You can turn 1 bits to 0 or re-write the 
> same data without erasing which is OK. The redundant environment 
> implementation takes advantage of this in U-Boot. This is not an error.
> 
> Am I missing something?

Yes, you do. Detlev wrote different data, and it was not discovered by
the CFI driver. Using one of the propriatary flash drivers like on the
TQM8xxL will complain...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,    CEO: 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
We are Microsoft. Unix is irrelevant. Openness is futile.  Prepare to
be assimilated.




More information about the U-Boot mailing list