
Dear "Dunda, Matthias",
In message 569685F045B85741820D0265E0D2999D019CFD69@tddhh01.hh.thales-naval.de you wrote:
Then, I calculate the RAM address for the symbols as described in DULG-10.1.2.:
RAM is 512 MB --> 0x2000 0000 Monitor Len according to board specific file is 256k --> 0x0004 0000 This yields address 0x1FFC 0000.
As already explaine din PM this calculation is only valid in the "usual" case - and MPC85xx uses not the usual mappings.
On the other hand, calculating the address the other way yields
(gdb) print/x ((gd_t *)$r2)->reloc_off $4 = 0x1fff0000
adding this to TEXT_BASE which is
./board/freescale/mpc8568mds/config.mk:TEXT_BASE = 0xfff80000
results in something above 32 bit.
...What's the problem? This is a 32 bit system, so addresses just wrap around.
Best regards,
Wolfgang Denk