From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Nand dump and nand bad block disagree
Date: Wed, 29 Feb 2012 17:14:56 -0600 [thread overview]
Message-ID: <4F4EB170.2000803@freescale.com> (raw)
In-Reply-To: <201202291754.38168.vapier@gentoo.org>
On 02/29/2012 04:54 PM, Mike Frysinger wrote:
> On Wednesday 29 February 2012 17:37:32 Scott Wood wrote:
>> Do you migrate the bad block markers to the new location prior to using
>> a chip?
>
> we leave that as an "exercise for the user" ;)
>
> this OOB layout is only used when the processor is booting directly from NAND,
> so the layout already has to be adjusted in order for it to boot at all. if
> you aren't booting from NAND, we recommend to customers to stick with the
> standard OOB layout. so there isn't really a point in time where we could add
> code to automatically migrate layouts.
OK. I guess it depends how you prepare the bootable image -- if you
prepare a NAND boot by first booting U-Boot from something else, it
would still be a U-Boot issue. If you write the image from something
that isn't U-Boot, obviously the migration has to happen in that other
entity.
We'll be getting into a similar situation on FSL eLBC with the hack to
support 4K NAND. I plan to have U-Boot do the migration if it doesn't
see a special marker that asserts the migration has already happened.
This will be needed even when not booting from NAND. Booting from NAND
with this hack would be an additional headache, and probably just not
safely possible with a lot of 4K NAND chips that want 4-bit ECC which
eLBC doesn't support.
-Scott
next prev parent reply other threads:[~2012-02-29 23:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-28 14:34 [U-Boot] Nand dump and nand bad block disagree jean-philippe francois
2012-02-28 23:40 ` Scott Wood
2012-02-29 9:02 ` jean-philippe francois
2012-02-29 19:06 ` Mike Frysinger
2012-02-29 19:09 ` Scott Wood
2012-02-29 22:34 ` Mike Frysinger
2012-02-29 22:37 ` Scott Wood
2012-02-29 22:54 ` Mike Frysinger
2012-02-29 23:14 ` Scott Wood [this message]
2012-02-29 19:11 ` Scott Wood
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=4F4EB170.2000803@freescale.com \
--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