public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Why data corrected by ecc are not rewrite to the flash?
@ 2010-06-15 10:42 Ivan Nardi
  2010-06-15 11:01 ` Albert ARIBAUD
  2010-06-15 11:40 ` [U-Boot] Why data corrected by ecc are not rewrite to the flash? " Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Ivan Nardi @ 2010-06-15 10:42 UTC (permalink / raw)
  To: u-boot

Hello!

I'am having a look at the ecc algorithms in nand code and I observe (both in
kernel and in u-boot) that when ecc corrects some data, corrected data are
given to the user, but the data storage in the nand do not change. In other
words, I expected the flash would be written with the new (corrected) data.

Why data corrected by ecc are not rewrite to the flash?

I think that it should be easy achieve this goal. In the read function, if
ecc corrects some data on a page, I read the entire block, erase it and
write back (correct) data to the flash.

Nobody is interested in this feature? Or is it more difficult than I think?

Thanks a lot!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-15 12:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 10:42 [U-Boot] Why data corrected by ecc are not rewrite to the flash? Ivan Nardi
2010-06-15 11:01 ` Albert ARIBAUD
2010-06-15 12:52   ` Ivan Nardi
2010-06-15 11:40 ` [U-Boot] Why data corrected by ecc are not rewrite to the flash? " Wolfgang Denk
2010-06-15 12:56   ` Ivan Nardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox