From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Boot from NAND FLASH
Date: Fri, 16 May 2008 14:17:47 -0500 [thread overview]
Message-ID: <20080516191747.GA2777@loki.buserror.net> (raw)
In-Reply-To: <200805161454272032219@gmail.com>
On Fri, May 16, 2008 at 02:54:34PM +0800, jiale.Yin wrote:
> Our board is reference with the mpc8313erdb,and its design is to link CS0
> to the NAND FLASH, so I have to boot from NAND other than NOR.In
> /board/mpc8313erdb I can find some files, such as nand_boot.c, nand.c and
> nand_ecc.c,
I assume you're talking about the Freescale BSP, as those files are not in
mainline u-boot.
> which I think are related with booting from NAND.What I want
> to know is if booting from NAND,is there any need to modify the start.s
No, beyond what's already been changed in the BSP to support it. Make sure
you use a NAND configuration when building u-boot.
> and what is needed to ba added. What's the difference between NOR-BOOT and
> NAND-BOOT. Thank you!
NOR can be mapped in its entirety, while with NAND only the first 4KiB gets
mapped, and that code has to fetch the rest of u-boot from NAND and copy it
to RAM before continuing.
-Scott
next prev parent reply other threads:[~2008-05-16 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-16 6:54 [U-Boot-Users] Boot from NAND FLASH jiale.Yin
2008-05-16 19:17 ` Scott Wood [this message]
2008-05-19 12:13 ` jiale.Yin
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=20080516191747.GA2777@loki.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.