From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] NAND bad block table
Date: Wed, 5 Feb 2014 13:16:02 -0600 [thread overview]
Message-ID: <1391627762.6733.202.camel@snotra.buserror.net> (raw)
In-Reply-To: <52F247DA.2010209@monstr.eu>
On Wed, 2014-02-05 at 15:16 +0100, Michal Simek wrote:
> On 02/04/2014 09:46 PM, Scott Wood wrote:
> > On Tue, 2014-02-04 at 13:43 +0100, Michal Simek wrote:
> >> Hi Scott and others,
> >>
> >> I have a question regarding BBT position and number of blocks allocated
> >> for BBT.
> >>
> >> Did you face the issue with last 4 blocks broken in any NAND flash
> >> device since the default option in Linux/u-boot BBM is last 4 blocks?
> >>
> >> It doesn't mean that if the last 4 blocks are broken than the NAND flash
> >> device is broken too.
> >> Also I haven't seen any common binding for Linux kernel to change it.
> >>
> >> Has someone tried to improve this algorithm or process of storing BBT in a better way.
> >> For example just look for BBT from the end till any limit?
> >
> > I don't recall if I've ever tested it personally, but that sort of
> > scanning is already there. Have you seen a problem with it?
>
> We have met with nand device which has broken last 4 blocks and
> u-boot and linux just scan last 4 blocks by default.
>
> In connection to Linux. Interesting is that there is no binding
> for extending scan blocks and this has to be done through driver
> properties.
Could you be more specific about what sort of "driver property" you're
talking about? AFAICT from glancing at the code, searching is the
default unless the controller driver specifies NAND_BBT_ABSPAGE.
In any case, this code comes straight from Linux, so you'll probably
find people more familiar with this code on linux-mtd.
-Scott
next prev parent reply other threads:[~2014-02-05 19:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 12:43 [U-Boot] NAND bad block table Michal Simek
2014-02-04 20:46 ` Scott Wood
2014-02-05 14:16 ` Michal Simek
2014-02-05 19:16 ` Scott Wood [this message]
[not found] ` <155aac48-cedd-4daa-80b0-577f85080950@CO1EHSMHS005.ehs.local>
2014-02-12 0:06 ` Scott Wood
2014-02-12 0:47 ` Brian Norris
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=1391627762.6733.202.camel@snotra.buserror.net \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/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