[ECOS] Relocating the executable

Christoph Csebits christoph.csebits@frequentis.com
Tue Dec 18 22:44:00 GMT 2001


Hi,

On Wed, Dec 19, 2001 at 11:42:49AM +0530, N.Suresh wrote:
>      I want to generate an elf which can be loaded at some other
> location.
>      I tried to change the origin and size of ram.ldi and ram.h file of
> MBX platform  but it didn't work.

change 0x1cd00 in line
CYG_LABEL_DEFN(__reserved_for_rom) = ALIGN (0x10); . = CYG_LABEL_DEFN(__reserved_for_rom) + 0x1cd00;

e.g. for 0xfcd00 you get an entry point at 0x100000.

Thats how i did it.

christoph



More information about the Ecos-discuss mailing list