This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Re: RAM vs. ROMRAM question
Am Montag, 30. Oktober 2006 00:35 schrieb Andrew Lunn:
> > I see. So a hex file generated from a ROMRAM elf won't have the
> > correct load addresses in it unless the user offsets them when
> > generating the hex file?
>
> The HEX file with have the RAM address, not a ROM address i
> think. However i never used HEX files for ROMRAM redboot images. I
Normally this is not exactly true. The srec (hex) file contains the LMA (ROM)
adresses. The code is already linked for VMA (RAM) adresses. Text and Data
are then copied to RAM at ecos startup.
Bye,
Lars
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss