[U-Boot-Users] Re: GOT pointer in U-boot
calvin
mailofpooja at yahoo.com
Sat Nov 6 13:10:33 CET 2004
Wolfgang Denk wrote:
> In message <cmfvr3$61o$1 at sea.gmane.org> you wrote:
>
> You will need to dig into the GCC / ld documentation if you really
> want to understand what's going on there. [On the other hand it's
> usually safe to ignore this; the relevant problems have already been
> solved for MIPS and the other supported architectures.]
>
Thanks for your time Wolfgang.
But Even if I ignore GOT pointer my problem still persists. The problem
of bootloader trying to jump to an address which does not exist.
I compile for ROM version(config.mk) the code downloads in flash but
when it relocates itself to SDRAM, the address it tries to jump is a
"valid" SDRAM address but I don't see that address anywhere in
u-boot.dis. All the addresses in u-boot.dis are relative to the
TEXT_BASE I have given in ROM version.
Do I need to make some changes in linker file ? For the same board and
YAMON bootloader the disassembled file has initial flash addresses and
then SDRAM addresses for opcodes after the code is relocated. I am not
expecting the same from u-boot but I am unable to understand u-boot
policy regarding this.
Thanks and regards,
Pooja
> Best regards,
>
> Wolfgang Denk
>
More information about the U-Boot
mailing list