This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem building application
- From: "Eric de Jong" <list_ericdejong_10 at gmx dot net>
- To: <aarichar at cisco dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 20 May 2003 08:52:21 +0200
- Subject: Re: [ECOS] problem building application
- References: <200305191535.44916.aarichar@cisco.com>
>> address 0xc4000040 of a.out section .rom_vectors is not within region ram
Well, address 0xc4000040 is indeed not within your RAM region. Check the
target.ld file which is generated by the config tool, and see what is wrong
there. The ram.ldi and ram.h files are nothing more than templates to generate
the target.ldi file. Edit the target.ld file to fiddle around, e.g. to put
.rom_vectors back in ram put the line
.=0x20
before the line with .rom_vectors. (.vectors / .fixed_vectors?)
you can find more information about linker scripts with "info ld"
Eric de Jong
----- Original Message -----
From: "Aaron Richardson"
Sent: Monday, May 19, 2003 10:35 PM
Subject: [ECOS] problem building application
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...
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss