public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* S3C24xx NFC: Bad oob layout and partial write count violation
@ 2011-03-08 15:58 Juergen Beisert
  0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2011-03-08 15:58 UTC (permalink / raw)
  To: linux-mtd

Hi,

when I tried to get the NAND memory on my S3C2440 based mini2440 to work, I 
noticed the NFC driver uses its own 'nand_ecclayout' for small page NANDs and 
this layout may overwrites the bad block markers.
On the other hand this driver sets up the 'ecc.size' to 256 bytes for large 
page NANDs which ends up with 8 partial writes into one 2048 byte page. This 
violates the spec of at least my NAND device, which only allows 4 partial 
writes per page.
Does anyone know why the setup is done in this way?

For both cases I see no hardware restriction. I think for small page NANDs the 
generic OOB layout can be used, and for large page NANDs the 'ecc.size' 
should be increased at least to 512 (to be compatible with the S3C2410) to 
decrease the partial write count. But a change of these settings would break 
existing installations. How to proceed in this case?

jbe

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-08 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 15:58 S3C24xx NFC: Bad oob layout and partial write count violation Juergen Beisert

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