public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] how to make mkimage command work?
@ 2012-05-17 23:12 apple pie
  2012-05-18 10:26 ` Andreas Bießmann
  2012-05-18 11:43 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: apple pie @ 2012-05-17 23:12 UTC (permalink / raw)
  To: u-boot



Hi,
 
Please correct me if I am wrong. From what I understand, u-boot itself is relocated to RAM by calling 
the procedure: relocate_code at the end of the procedure: board_init_f . 
 
There is a need for me to load an executable to a static address (say, 0x82xx_xxxx) in RAM such that 
control could be passed to this executable from U-boot. How could this be accomplished, with the
limitation that:
 
the executeable is to be downloaded together with u-boot.bin, zImage, ramdisk and other images
that are to be be executed before u-boot etc, as a blob onto the eMMC?
 
 
Could u-boot be used to relocate the said executable to the address: 0x82xx_xxxx? u-boot does not
have the knowledge where this executable resides in eMMC. This also means that it would not be possible
to use u-boot command: cp (memory copy) to do the relocation, as the command itself requires knowledge
of the source address.
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-18 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-17 23:12 [U-Boot] how to make mkimage command work? apple pie
2012-05-18 10:26 ` Andreas Bießmann
2012-05-18 11:43 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox