This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: error: no memory region specified for loadable '.ram_vectors'
- From: Andrew Lunn <andrew at lunn dot ch>
- To: aariffianto at s dot ee dot itb dot ac dot id
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 29 May 2006 11:43:18 +0200
- Subject: Re: [ECOS] error: no memory region specified for loadable '.ram_vectors'
- References: <1148896760.447ac5f80c6e3@gajah.ee.itb.ac.id>
On Mon, May 29, 2006 at 04:59:20PM +0700, Agus Ariffianto wrote:
> Dear ALL,
> I am trying to build hello program to run in LEON. During dong that, I faced
> some problem (and peculiarity)
> eCos configuration setting:
>
> Menu Build repository : /src/ecos
> Menu Build tempaltes : LEON Processor
> Packages :default
> Menu Tools-Paths-Build Tools : /gnutools/sparc-elf-3.2.3/bin
> Menu Tools-Paths-user tools : /bin
> The rest, I leave it by default
>
> -Configuration
> - Global Build options
> - Global command prefix : sparc-rtems <why sparc-rtems, NOT sparc-elf
> ?, in fact I use sparc-elf-3.2.3>
>
> Then I build library....
> Then I got target.ld file (in folder leon_install/lib/)
>
> Next, I compile it:
> [agus]$ sparc-elf-gcc -I leon_install/include/ ../hello.c -o hello.out -L
> leon_install/lib/ -Ttarget.ld -nostdlib
>
> then the error turn up:
> /gnutools/sparc-elf-3.4.4/bin/../lib/gcc/sparc-elf/3.4.4/../../../../sparc-elf/bin/ld:
> error: no memory region for loadable section '.ram_vectors'
> collect2: ld returned 1 exit status
>
> second trial, I change Global command prefix setting: sparc-elf (was
> sparc-rtems) and change the compiler version to sparc-elf-3.2.3 (was 3.4.4). The
> error was same.
>
> Can anybody please help me solving these problem. Thank you very much.
How do you configure eCos?
do
ecosconfig export loan.ecm
and email the leon.ecm file.
My guess is you have the interface to Redboot enabled, but the current
leon port does not support this.
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