[U-Boot] Can u-Boot Ran from RAM?

Wolfgang Denk wd at denx.de
Wed Feb 1 11:26:31 CET 2012


Dear Marek Vasut,

In message <201202011111.09465.marek.vasut at 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.

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.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Reader, suppose you were an idiot. And suppose you were a  member  of
Congress. But I repeat myself.                           - Mark Twain


More information about the U-Boot mailing list