[U-Boot-Users] Need clarification !!
Amit Kumar
Amit_Kumar91 at infosys.com
Tue Jun 17 10:33:25 CEST 2008
Hello Guys,
I have one clarification related to PXA255 code in U-boot.
If in board/pxa255_idp/config.mk TEXT_BASE = 0xa3080000 (this is RAM address in my board)
then because of -Ttext option (in u-boot/config.mk file), in U-boot.map file .text section starts from 0xa3080000 address.
So all the symbols like _start, _armboot_start get addresses with respect to 0xa3080000 address only.
I am using JFLASH to download the code in FLASH and running the code from FLASH. I am disabling that part of code which relocates the binary from FLASH to RAM.
What I don't understand is when in MAP file all the symbols have addresses of RAM then after downloading in FLASH, how code is executing?
Regards
Amit Kumar
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080617/53b82209/attachment.htm
More information about the U-Boot
mailing list