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

Tolunay Orkun listmember at orkun.us
Thu May 10 05:40:14 CEST 2007


Wolfgang Denk wrote:
> 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...

Yes, in that case we need to fix this! Detlev, do you have a patch 
suggestion?

Tolunay





More information about the U-Boot mailing list