From: Jarkko Lavinen <jarkko.lavinen@nokia.com>
To: jeanwelly <jeanwelly@gmail.com>
Cc: Balloon@balloonboard.org, linux-mtd@lists.infradead.org,
yaffs@stoneboat.aleph1.co.uk
Subject: Re: Real bad blocks of nand flash?
Date: Tue, 17 May 2005 13:38:06 +0300 [thread overview]
Message-ID: <20050517103806.GA14992@angel.research.nokia.com> (raw)
In-Reply-To: <c2bc1f40505161946b00566e@mail.gmail.com>
On Tue, May 17, 2005 at 10:46:52AM +0800, ext jeanwelly wrote:
> Why occured so many bad blocks of nand. Are these blocks real bad? How
> can I take a test in another way?
I have seen few test boards with JFFS2 partitions and more bad blcoks
than there should be. More than the manyfactures suggests the should
be at maximum.
When investigating one board I found something had been write garbage
to OOB. I found for example word "driv" at the end of one OOB and "er"
at the beginning of next. It looked just as if somebody had written
kernel memory at random point to flash. This is not reproducinle but
now I have garbage check in nand_base.c:write_oob() to hopefully catch
this if it ever repeats.
With one boatd with with lots of presumably incorrectly marked bad
blocks board I broke the rules and simply disabled the bad block check
from nand_base.c and from flash_eraseall.c. I ran flash_eraseall and
the flash erased nicely except for few, obviously real bad blocks
which refused ot be erased. I wouldn't recommed the procedure because
one end up with no bad blocks at all but in my case it worked nice and
test board has performed flawlessly since then.
I think we would need a simple test program that would be similar to
badblocks program, writing patterns of 0x00, 0x55, 0xAA etc. to flash
and trying to find if some block fails when erasing, writing or in
verify read.
Jarkko Lavinen
prev parent reply other threads:[~2005-05-17 10:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-17 2:46 Real bad blocks of nand flash? jeanwelly
2005-05-17 3:57 ` [Yaffs] " Charles Manning
2005-05-17 10:38 ` Jarkko Lavinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050517103806.GA14992@angel.research.nokia.com \
--to=jarkko.lavinen@nokia.com \
--cc=Balloon@balloonboard.org \
--cc=jeanwelly@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=yaffs@stoneboat.aleph1.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox