public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Build u-Boot for NAND boot on i.MX53x platform
Date: Thu, 9 Feb 2012 14:41:46 -0600	[thread overview]
Message-ID: <4F342F8A.20704@freescale.com> (raw)
In-Reply-To: <201202100904.20333.manningc2@actrix.gen.nz>

On 02/09/2012 02:04 PM, Charles Manning wrote:
> On Wednesday 08 February 2012 17:16:10 Bud Miljkovic wrote:
>> Can someone clue me in how one goes about a NAND bootable u-Boot?
>>
> 
> Bud
> 
> You can't actually run uboot from NAND per se. The rom boot loader reads the 
> image into ram where it runs.
> 
> Based on my experience with omap - which uses a very similar sequence - you 
> need to configure the uboot to run from the desired location in RAM. The 
> resulting uboot.bin must then be mashed in whatever way is appropriate for 
> loading with the rom boot loader and programmed to flash.

On some hardware, the boot rom/logic will only load a small piece from
RAM (e.g. 4K).  U-Boot can be built with a prepended miniloader (SPL) to
fetch the main U-Boot image.  The details (and whether this is supported
at all) depend on what board you're talking about.  There is SPL support
for some i.MX chips -- not sure about i.MX53x.

-Scott

  reply	other threads:[~2012-02-09 20:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-08  4:16 [U-Boot] Build u-Boot for NAND boot on i.MX53x platform Bud Miljkovic
2012-02-09 20:04 ` Charles Manning
2012-02-09 20:41   ` Scott Wood [this message]
2012-02-10 13:30 ` Stefano Babic
2012-02-10 15:05   ` Fabio Estevam
2012-02-10 15:14     ` Stefano Babic

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=4F342F8A.20704@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