[ECOS] Re: RAM vs. ROMRAM question

Lars Poeschel larsi@wh2.tu-dresden.de
Mon Oct 30 00:08:00 GMT 2006


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



More information about the Ecos-discuss mailing list