From: dedekind1@gmail.com (Artem Bityutskiy)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Add 'config IMX_NFC_V1_BISWAP' to swap the Bad block Indicator, and use for imx27pdk nand support.
Date: Wed, 06 Jul 2011 14:56:36 +0300 [thread overview]
Message-ID: <1309953401.3149.87.camel@sauron> (raw)
In-Reply-To: <19988.19315.787284.113228@ipc1.ka-ro>
On Wed, 2011-07-06 at 13:48 +0200, Lothar Wa?mann wrote:
> You are mixing up two different things. The Bad block markers in
> certain locations in the OOB area mark 'Factory bad blocks'
> i.e. blocks that are already bad when you apply power to the flash for
> the first time. The manufacturer guarantees that initial bad blocks
> can be detected by checking those locations for a non-FF value.
> There is no guarantee that you may be able to write any specific value
> to a certain byte in a block that has turned bad due to wearout or
> whatever at any later time. Thus bad blocks that appear due to wearout
> should be kept track of in the BBT, not by writing any 'bad block
> markers' to the defective blocks themselves.
That's a good point. In practice, though, many systems do not have a
separate BBT and they write a bad block marker to the OOB area of the
first page, or the second if the first page cannot be written. This
works. But yes, in theory, if an eraseblock became bad, there is a
possibility that you cannot write to the OOB areas anymore. However, as
I said, in practice, one of the OOBs is still writable. Hmm... Any
comments or practical observations?
--
Best Regards,
Artem Bityutskiy
next prev parent reply other threads:[~2011-07-06 11:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 13:33 [PATCH] Add 'config IMX_NFC_V1_BISWAP' to swap the Bad block Indicator, and use for imx27pdk nand support Jürgen Lambrecht
2011-07-05 15:52 ` Baruch Siach
2011-07-06 7:06 ` Artem Bityutskiy
2011-07-06 8:09 ` Sascha Hauer
2011-07-06 9:06 ` Lambrecht Jürgen
2011-07-06 9:30 ` Lambrecht Jürgen
2011-07-06 11:48 ` Lothar Waßmann
2011-07-06 11:56 ` Artem Bityutskiy [this message]
2011-07-06 12:39 ` Lambrecht Jürgen
2011-07-06 13:53 ` Lothar Waßmann
2011-07-06 16:29 ` Sascha Hauer
2011-07-06 16:48 ` Lothar Waßmann
2011-07-06 12:05 ` Sascha Hauer
2011-07-06 12:25 ` Lothar Waßmann
2012-08-08 16:11 ` Gaëtan Carlier
2011-07-06 9:06 ` Wolfram Sang
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=1309953401.3149.87.camel@sauron \
--to=dedekind1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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;
as well as URLs for NNTP newsgroup(s).