public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Spare area access information from JFFS2
@ 2007-05-05 16:18 Sudeep K N
  2007-05-06  6:01 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: Sudeep K N @ 2007-05-05 16:18 UTC (permalink / raw)
  To: dwmw2, rpurdie; +Cc: linux-mtd

Hi,

       We are working on Nand Flash Controller which does not support
       ECC protection during Spare_Only Operation, rather it supports
       ECC protection for both Main_and_Spare area. In this regard,
       before to implement any workaround in my nand driver we want to
       know "Spare Area and Spare + Main area access sequence" from
       JFFS2 filesystem perspective during any JFFS2 operation.

       Proceeding further to observe JFFS2 Spare area access we found the
       the following:

       1. During Mount: scans the block, [erases], and writes "0x20031985"
               into the spare area on start of every block followed by another
               18 bytes which spans across multiple pages because free bytes in
               spare area is only 4
       2. Later during main page program operation our nand controller
               updates spare area ECC bytes, during this sequence we are not
               clear whether JFFS2 perform any spare operation to updates it
               meta data.
       3. Also, we want know, later the above sequence, does JFFS2 performs
               any spare only program operations.


Regards,
Sudeep

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

end of thread, other threads:[~2007-05-06  5:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-05 16:18 Spare area access information from JFFS2 Sudeep K N
2007-05-06  6:01 ` Thomas Gleixner

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