public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] implications of placing vectors section after the text section.
@ 2005-09-15  5:18 keshava
  2005-09-15  6:26 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: keshava @ 2005-09-15  5:18 UTC (permalink / raw)
  To: ecos-discuss

Hello,
 
I currently have this RAM_STARTUP type memory map on a
leon cyclone platfrom ....
 
    SECTION_vectors (ram,0x01000000, LMA_EQ_VMA)
    SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (ram, ALIGN (0x4),
LMA_EQ_VMA)
    SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
    SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
 
I want to know what are the potential implications  if
i move the vectors section after the text
section.. if anybody has experiemented with this
configuration.. please let me know if there
are any potential side effects.
    This is the configuration i want use...
    SECTION_text (ram,0x01000000, LMA_EQ_VMA)
    SECTION_vectors (ram, ALIGN (0x4), LMA_EQ_VMA)    
    SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (ram, ALIGN (0x4),
LMA_EQ_VMA)
    SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
    SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
 
regards,
keshav


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] implications of placing vectors section after the text section.
  2005-09-15  5:18 [ECOS] implications of placing vectors section after the text section keshava
@ 2005-09-15  6:26 ` Gary Thomas
  2005-09-15  7:41   ` keshava
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2005-09-15  6:26 UTC (permalink / raw)
  To: keshava; +Cc: eCos Discussion

On Wed, 2005-09-14 at 08:44 -0700, keshava wrote:
> Hello,
>  
> I currently have this RAM_STARTUP type memory map on a
> leon cyclone platfrom ....
>  
>     SECTION_vectors (ram,0x01000000, LMA_EQ_VMA)
>     SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_gcc_except_table (ram, ALIGN (0x4),
> LMA_EQ_VMA)
>     SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
>     SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
>  
> I want to know what are the potential implications  if
> i move the vectors section after the text
> section.. if anybody has experiemented with this
> configuration.. please let me know if there
> are any potential side effects.
>     This is the configuration i want use...
>     SECTION_text (ram,0x01000000, LMA_EQ_VMA)
>     SECTION_vectors (ram, ALIGN (0x4), LMA_EQ_VMA)    
>     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
>     SECTION_gcc_except_table (ram, ALIGN (0x4),
> LMA_EQ_VMA)
>     SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
>     SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)

What architecture/platform is this for?  Why do you want
to do this?

n.b. the potential side effects are [most probably] your
eCos application will not work :-(

-- 
------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] implications of placing vectors section after the text section.
  2005-09-15  6:26 ` Gary Thomas
@ 2005-09-15  7:41   ` keshava
  0 siblings, 0 replies; 3+ messages in thread
From: keshava @ 2005-09-15  7:41 UTC (permalink / raw)
  To: eCos Discussion



--- Gary Thomas <gary@mlbassoc.com> wrote:

> On Wed, 2005-09-14 at 08:44 -0700, keshava wrote:
> > Hello,
> >  
> > I currently have this RAM_STARTUP type memory map
> on a
> > leon cyclone platfrom ....
> >  
> >     SECTION_vectors (ram,0x01000000, LMA_EQ_VMA)
> >     SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_gcc_except_table (ram, ALIGN (0x4),
> > LMA_EQ_VMA)
> >     SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
> >     SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
> >  
> > I want to know what are the potential implications
>  if
> > i move the vectors section after the text
> > section.. if anybody has experiemented with this
> > configuration.. please let me know if there
> > are any potential side effects.
> >     This is the configuration i want use...
> >     SECTION_text (ram,0x01000000, LMA_EQ_VMA)
> >     SECTION_vectors (ram, ALIGN (0x4), LMA_EQ_VMA)
>    
> >     SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
> >     SECTION_gcc_except_table (ram, ALIGN (0x4),
> > LMA_EQ_VMA)
> >     SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
> >     SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
> 
> What architecture/platform is this for?  Why do you
> want
> to do this?
> 
> n.b. the potential side effects are [most probably]
> your
> eCos application will not work :-(
> 

Hi Gary,

This is for a sprac V8 based platform.. i've already
tried it out and it works fine :-).. i want to run the
image from RAM using DSUMon (similar to rom monitor)..
reason for doing this is, i want the entry_ponint to 
be aligned with start of RAM.. 

-keshav 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-15  6:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-15  5:18 [ECOS] implications of placing vectors section after the text section keshava
2005-09-15  6:26 ` Gary Thomas
2005-09-15  7:41   ` keshava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).