This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regarding Size of ROMRAM applications


On Thu, 2004-08-12 at 09:49, Giri Raja wrote:
> My bad, I didn't use the arm-elf-size. I actually
> clicked on the properties button on the windows
> machine and it showed me the file size as 600K. But
> this is what arm-elf-size gives me:
> 
> text    data     bss     dec     hex  filename
> 23308   936     23932   48176    bc30
> standalone_serial
> 
> I tried both ROM and ROMRAM options. It doesn't seem
> to load from the flash at all. Is there anything that
> I need to modify on the memory map files. I'm using
> EB40A board.
> 

Did you start from a fresh (i.e. clean tree) build?  It's been
my experience that once I build for one startup type, if I change
the configuration to another, things don't go right.  So, I always
start afresh if I'm going to try a different startup mode.

> Thanks.
> 
> Giri.
> 
> --- Andrew Lunn <andrew@lunn.ch> wrote:
> 
> > On Wed, Aug 11, 2004 at 05:55:41PM -0700, Giri Raja
> > wrote:
> > > this is a continuation of my earlier mail in the
> > day,
> > > but a slightly different question I have now.
> > > my ROMRAM application is about 600K. Is that
> > really
> > > bif, I'm confused by this number. if it is ROMRAM
> > > startup type, I guess the program will never run
> > as my
> > > RAM is only 256K. does this make any sense or am I
> > > wrong.
> > 
> > What is telling you it is 600K? arm-elf-size? Or is
> > that the size of
> > the binary produced by objcopy?
> > 
> > Sometimes the binary has big holes in it because
> > objcopy or the linker
> > script is confused.
> > 
> >         Andrew
> > 
> > -- 
> > Before posting, please read the FAQ:
> > http://ecos.sourceware.org/fom/ecos
> > and search the list archive:
> > http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> 
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Y! Messenger - Communicate in real time. Download now. 
> http://messenger.yahoo.com
-- 
Gary Thomas <gary@chez-thomas.org>


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]