public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* 4bit NAND ECC
@ 2009-12-17 20:18 Dennis Millard
  2009-12-18 19:47 ` Nicolas Pitre
  0 siblings, 1 reply; 2+ messages in thread
From: Dennis Millard @ 2009-12-17 20:18 UTC (permalink / raw)
  To: linux-mtd

Anyone who has worked with NAND ECC support, I have a question-

    I have a platform running the 2.6.30 kernel based on the Marvell 
88F6281.  It has 512 MB NAND flash, and is very similar to the Marvell 
Sheevaplug reference design.  My Uboot is using 4bit NAND ECC to write 
the kernel and ramdisk to flash.  However, I recently discovered that 
the 2.6.30 kernel does not support 4bit ECC mode.  When I try to access 
the Uboot environment variables from the running kernel, I can only use 
1bit ECC.  When I switch Uboot to use 1bit ECC, I get lots of errors 
while accessing the Uboot vars in flash.  I've been told that I really 
should be using 4bit ECC in Uboot.

    I noticed that the 2.6.32 kernel supports 4bit ECC, but it appears 
to be only for the TI DaVinci CPU.  Can someone confirm this?  Does this 
mean that 4bit ECC is not available for general use in the 2.6.32 
kernel?  Does anyone know of a patch that would make it available for 
the Marvell 88F6281?

Thanks-
  Dennis Millard

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

end of thread, other threads:[~2009-12-18 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 20:18 4bit NAND ECC Dennis Millard
2009-12-18 19:47 ` Nicolas Pitre

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