[U-Boot-Users] Execute in place

Wolfgang Denk wd at denx.de
Thu Sep 9 17:28:02 CEST 2004


In message <0885FE4E-026A-11D9-AB76-00039390D626 at 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




More information about the U-Boot mailing list