Your .elf file is in standard ELF linker format, which has the absolute locations of each segment stored in the file. From the looks of your output, it would seem that you didn't relocate your code so that it gets loaded in RAM when you generated your .out file.
IIRC, LoLo puts the RAM at 0x80000000 when it sets up the MMU. So, you'll have to pass "-Wl,--section-start .text=0x800d0000,--section-start .data=0x80200000" or something similar to gcc (depending on how big your object code and initial data are) so that it puts the right address in the .out file.
|