public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Can u-Boot Ran from RAM?
Date: Wed, 1 Feb 2012 11:58:29 +0100	[thread overview]
Message-ID: <201202011158.29722.marek.vasut@gmail.com> (raw)
In-Reply-To: <20120201102631.C345925E9F5@gemini.denx.de>

> Dear Marek Vasut,
> 
> In message <201202011111.09465.marek.vasut@gmail.com> you wrote:
> > > On Monday 30 January 2012 23:07:05 Bud Miljkovic wrote:
> > > > While getting acquainted with possible u-Boot development issues, I
> > > > read FAQ "14.2.1.  Can U-Boot be configured such that it can be
> > > > started in RAM?" and was puzzled to learn that u-Boot cannot run
> > > > from RAM.
> > > 
> > > you misread it.  the question is for people who have loaded u-boot, and
> > > then want to load another copy of u-boot into ram and then execute that
> > > directly.
> > > 
> > > so the question is "can u-boot be *started in ram*" and the answer is
> > > "no".
> > 
> > The answer is "yes if you know how to do it" ;-)
> 
> The answer is "NO".  You cannot load the _normal_ U-Boot image to RAM
> and start it.  You must prepare a _special_ image which omits all the
> initializations that are normally included.

You can on PXA ;-)
> 
> This FAQ addresses the situation where people want to load and run
> their _normal_ images before burning these to flash.  And this CANNOT
> be done like that.

You're certainly right this is true for general case, but there are special 
cases where you can load u-boot from u-boot without any harm (PXA is the 
example).

> 
> Best regards,
> 
> Wolfgang Denk

  reply	other threads:[~2012-02-01 10:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31  4:07 [U-Boot] Can u-Boot Ran from RAM? Bud Miljkovic
2012-01-31 14:12 ` Eric Nelson
2012-02-01 10:12   ` Marek Vasut
2012-02-01 10:27     ` Wolfgang Denk
2012-01-31 15:15 ` Mike Frysinger
2012-02-01 10:11   ` Marek Vasut
2012-02-01 10:26     ` Wolfgang Denk
2012-02-01 10:58       ` Marek Vasut [this message]
2012-02-02 21:40         ` [U-Boot] Porting YAFFS2 to U-boot Bud Miljkovic
2012-02-02 22:14           ` Mike Frysinger
2012-02-02 22:19           ` Charles Manning
2012-02-03  3:34             ` Peter Barada
2012-02-03  5:26             ` Wolfgang Denk
2012-02-06 22:37         ` [U-Boot] Can u-Boot Ran from RAM? Bud Miljkovic
2012-02-01  2:11 ` Charles Manning

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=201202011158.29722.marek.vasut@gmail.com \
    --to=marek.vasut@gmail.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