From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 1 Feb 2012 11:58:29 +0100 Subject: [U-Boot] Can u-Boot Ran from RAM? In-Reply-To: <20120201102631.C345925E9F5@gemini.denx.de> References: <201202011111.09465.marek.vasut@gmail.com> <20120201102631.C345925E9F5@gemini.denx.de> Message-ID: <201202011158.29722.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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