public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Please explain bbt_create (problems)
@ 2005-07-15 14:18 Andriy Korud
  2005-07-15 14:40 ` Thomas Gleixner
  0 siblings, 1 reply; 2+ messages in thread
From: Andriy Korud @ 2005-07-15 14:18 UTC (permalink / raw)
  To: linux-mtd

Hi, 
I'm trying to understand how initial bbt_ceate works? 
I have NAND chip erased for jffs2 (flash_erasall -j) with some data in OOB (jffs2 clean masrkers). And bbt_create() calls check_pattern() which compare each byte with 0xff, in my case comparision fails (jffs2 cleanmarker != 0xff) and I have every block marked as bad.
Should not check_pattern() checks only byte at 0x05 in OOB (according to http://www.linux-mtd.infradead.org/tech/mtdnand/x255.html )? 
Also is it possible to scan chip for bbt starting from certain block (not 0) without dirty changes in mtd code?

Thanks in advance,
Andriy Korud

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

end of thread, other threads:[~2005-07-16 10:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15 14:18 Please explain bbt_create (problems) Andriy Korud
2005-07-15 14:40 ` Thomas Gleixner

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