[ECOS] problem building application
Gary D. Thomas
Mon May 19 20:58:00 GMT 2003
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???
> 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 <firstname.lastname@example.org>
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss