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


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

I can only comment on what you sent. My observation came from the *romram.h
file.  Check in the *romram.ldi file to make sure that it says that the "ROM"
segment has 'LENGTH = 0x01000000' (or whatever is correct).  The error that
you are getting says that RedBoot will not fit in the ROM space you've provided.

-- 
Gary D. Thomas <gary.thomas@mind.be>


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