From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Booting from NAND on MX51
Date: Wed, 10 Feb 2010 12:43:48 +0100 [thread overview]
Message-ID: <4B729BF4.6010106@denx.de> (raw)
In-Reply-To: <4B3F8896E1733D4787DDB0EA1C7FF91F010D8BD3@ukmail.uk.wirelessworld.airvananet.com>
Andreas Orfanos wrote:
> Hi,
>
Hi Andreas,
> I am using mx51 3stack Freescale dev board, and I would like to make it
> boot u-boot from NAND.
I sent patches for the mx51evk (babbage board), but NAND is not (yet)
supported. This is the first MX51 board that should go into mainline.
The mx51_3stack is not supported in u-boot. How do you derive your
u-boot ? From my patches or from another source ?
> Does anyone have any local changes that enable that feature?
>
> The u-boot works when is downloaded into RAM from Jtag, but can't get it
> boot from NAND when I write it there.
> Do I have to develop nand_spl, early stage0 loader?
Well, I think the MX51 can boot without an early loader. The processor
can boot directly from NAND, if the correct boot pins are set and no
internal fuses are blown to avoid it, as stated in the user manual. The
processor reads an image in the IMX format - you see documentation in
doc/README.imximage. At the beginning of the image there must be a
suitable for your board DCD table, that enables the IOMUX for the NAND
controller and does the required setup. The image length is part of the
IMX header and the processor copies automatically from NAND to the RAM
address you set in the header and then jumps to the starting address.
As I said, I have not tried (the mx51evk has no NAND). However, booting
from other sources (SD card, SPI Flash) works in this way.
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2010-02-10 11:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 11:08 [U-Boot] Booting from NAND on MX51 Andreas Orfanos
2010-02-10 11:43 ` Stefano Babic [this message]
2010-02-10 12:23 ` Andreas Orfanos
2010-02-10 13:54 ` Eric Bénard
2010-02-10 14:55 ` Andreas Orfanos
2010-02-10 15:16 ` Eric Bénard
2010-02-11 10:25 ` Andreas Orfanos
2010-02-11 11:45 ` Detlev Zundel
2010-02-11 12:20 ` Stefano Babic
2010-02-15 18:15 ` Andreas Orfanos
2010-02-15 21:49 ` John Rigby
2010-02-16 16:03 ` Detlev Zundel
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=4B729BF4.6010106@denx.de \
--to=sbabic@denx.de \
--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