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: problem building application


I have the startup type set to RAM.  But it still seems to be reading in the 
romram configuration.  Also my a.out file is ~1.2M, which seems very high.  I 
am using the default configutation for ecos, and redboot for the redboot 
image.

Changing that number made my errors go away, but that means it must be using 
romram instead of ram.

thanks,
Aaron


On Monday 19 May 2003 03:58 pm, Gary D. Thomas wrote:
> On Mon, 2003-05-19 at 14:48, Aaron Richardson wrote:
> > Doesnt  LENGTH = 0x01000000 mean that the flash is 16M?  Aside from this
> > the ecos build is set to use the RAM startup, so it shouldnt be looking
> > at the romram stuff... right???
> >
> > thanks,
> > Aaron
> >
> > On Monday 19 May 2003 03:43 pm, Gary D. Thomas wrote:
> > > On Mon, 2003-05-19 at 14:35, Aaron Richardson wrote:
> > > > So I got redboot mostly working on the ixp2400.  But now I am running
> > > > into a problem trying to build the hello world application.  I get
> > > > errors like this from the linker (for all the sections):
> > > >
> > > > address 0xc4000040 of a.out section .rom_vectors is not within region
> > > > ram
>
> Another thing I just noticed - this implies that you're trying to build
> your "hello" application to run from ROM.  You probably want one that
> runs from RAM *and* you'll want to start from a configuration that
> includes the basic eCos kernel.  Note: this is *not* the same kernel
> configuration that you used to build RedBoot.
>
> Check the documentation or look at my examples at:
> http://www.mlbassoc.com/examples/
>
> > > > I had to create the ram.ldi and ram.h files.  All I had was the
> > > > romram files to work from.
> > > >
> > > > Any idea on why I would get this?  I have attached the mlt files...
> > >
> > > This shows only 64KB of ROM at 0xC4000000.  Surely that's not all
> > > that's there?  In any case, you'll be hard pressed to make a RedBoot
> > > that fits in that space that does much.
>
> --
> Gary D. Thomas <gary.thomas@mind.be>

-- 


Aaron Richardson
aarichar@cisco.com
512-378-1286


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


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