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

Marek Vasut marek.vasut at gmail.com
Wed Feb 1 11:58:29 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.

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


More information about the U-Boot mailing list