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