Thanks Gary Thomas, In leon code we found only the data section is copied from ROM to RAM in ROM type start-up, which means rest of all the sections including vectors, text will get space in ROM and will not get relocated.
Relocating from ROM to RAM, including vectors, text, and other sections would reduce the execution time required, which is a MUST. Is the approach of relocating sections (all) from ROM to RAM is generic or specific to processor OR board we use? ( other then changes mem-maps). If it's generic could you redirect me to such a piece of code, which is written and implemented for eCos porting, i prefer it to be specific to leon. Harish --- Gary Thomas <[EMAIL PROTECTED]> wrote: > On Mon, 2005-08-15 at 19:55 +0100, Harish Kulkarni > wrote: > > Hello, > > > > Having tuff time with rom based redboot image, > please > > redirect me to mem-map file and section of code > which > > does copy from rom to ram? > > > > Just by coping data section from rom to ram is > > suffient? > > > > PS: Prefer it to be specific to leon. > > In general, you'll need to select ROMRAM startup, > not just ROM. > ROM mode programs execute code directly from ROM > (FLASH) and > are not copied into RAM. > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > > > -- > Before posting, please read the FAQ: > http://ecos.sourceware.org/fom/ecos > and search the list archive: > http://ecos.sourceware.org/ml/ecos-discuss > > Send instant messages to your online friends http://uk.messenger.yahoo.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
