linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* mtdchar : writing image with oob and NOP=1
@ 2010-08-02  8:21 Matthieu CASTET
  2010-08-04 15:07 ` Matthieu CASTET
  2010-08-24  8:02 ` Artem Bityutskiy
  0 siblings, 2 replies; 3+ messages in thread
From: Matthieu CASTET @ 2010-08-02  8:21 UTC (permalink / raw)
  To: Linux mtd

Hi,

We need to write our bootloader with a special ecc (use by cpu rom).

For that we use MTD_MODE_RAW, write and MEMWRITEOOB. This work fine, but 
from my understanding this will do a first page program with oob set to 
0xff and then program again oob.

But some recent nand support only 1 program per page (NOP=1).
How can we program nand with NOP=1 with a custom ecc ?

 From what I see in mtdchar either datbuf is set (and oobbuf is null) or 
oobbuf is set (and datbuf is null).

So this mean we need to add an ioctl to do that ?

Matthieu

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

end of thread, other threads:[~2010-08-24  8:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  8:21 mtdchar : writing image with oob and NOP=1 Matthieu CASTET
2010-08-04 15:07 ` Matthieu CASTET
2010-08-24  8:02 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).