From: Wolfgang Denk Date: Thu, 09 Sep 2004 17:28:02 +0200 Subject: [U-Boot-Users] Execute in place In-Reply-To: Your message of "Thu, 09 Sep 2004 10:10:41 EDT." <0885FE4E-026A-11D9-AB76-00039390D626@pepper.com> Message-ID: <20040909152807.5A9D9C1430@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <0885FE4E-026A-11D9-AB76-00039390D626@pepper.com> you wrote: > > Instead of using bootm to boot the kernel you just need to jump to the > address where the XIP image is located in flash. This will usually fail to work. "bootm" perfectly understands about XIP images, and allows you to pass the usual bd_info structure and boot commandline paramaters. All of this will be missing with "go". > > This will jump to the XIP image and start executing. The only problem > with this is the bootargs do not get passed to a XIP image so they must > be compiled into the kernel. This is NOT the only problem. It also misses to set up the reqired registers needed for the kernel, and ther eis no passing of any bd_info ot ATAGS or similar data. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de What kind of love is that? Not to be loved; never to have shown love. -- Commissioner Nancy Hedford, "Metamorphosis", stardate 3219.8