From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Wed, 09 May 2007 22:40:14 -0500 Subject: [U-Boot-Users] CFI driver does not verify writes in buffered mode - feature? In-Reply-To: <20070509223319.4CF4935264E@atlas.denx.de> References: <20070509223319.4CF4935264E@atlas.denx.de> Message-ID: <4642941E.7080007@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message <46422E3E.40703@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