* [ECOS] ECOS porting on leon
@ 2009-07-21 17:48 mishrad
2009-07-21 18:42 ` Jiri Gaisler
2009-07-21 21:36 ` [ECOS] " John Dallaway
0 siblings, 2 replies; 3+ messages in thread
From: mishrad @ 2009-07-21 17:48 UTC (permalink / raw)
To: ecos-discuss
Hi all,
While compiling and linking hello world program on ecos ported on leon, I get
the following-
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
There are some old threads dedicated to it. My problem is exactly the same
as in the below mentioned thread.
http://www.sourceware.org/ml/ecos-discuss/2006-05/msg00220.html
Anybody knows how to fix it?
Deepak
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] ECOS porting on leon
2009-07-21 17:48 [ECOS] ECOS porting on leon mishrad
@ 2009-07-21 18:42 ` Jiri Gaisler
2009-07-21 21:36 ` [ECOS] " John Dallaway
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Gaisler @ 2009-07-21 18:42 UTC (permalink / raw)
To: mishrad; +Cc: ecos-discuss
Which version of eCos do you use?
You could try the patched version from our ftp site:
ftp://gaisler.com/gaisler.com/ecos/src/ecos-rep-1.0.8.tar.gz
Jiri.
mishrad@uci.edu wrote:
> Hi all,
>
>
> While compiling and linking hello world program on ecos ported on leon, I get
> the following-
>
> 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
>
> There are some old threads dedicated to it. My problem is exactly the same
> as in the below mentioned thread.
>
> http://www.sourceware.org/ml/ecos-discuss/2006-05/msg00220.html
>
> Anybody knows how to fix it?
>
> Deepak
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ECOS] Re: ECOS porting on leon
2009-07-21 17:48 [ECOS] ECOS porting on leon mishrad
2009-07-21 18:42 ` Jiri Gaisler
@ 2009-07-21 21:36 ` John Dallaway
1 sibling, 0 replies; 3+ messages in thread
From: John Dallaway @ 2009-07-21 21:36 UTC (permalink / raw)
To: mishrad; +Cc: ecos-discuss
Hi Deepak
mishrad@uci.edu wrote:
> While compiling and linking hello world program on ecos ported on leon, I get
> the following-
>
> 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
>
> There are some old threads dedicated to it. My problem is exactly the same
> as in the below mentioned thread.
>
> http://www.sourceware.org/ml/ecos-discuss/2006-05/msg00220.html
>
> Anybody knows how to fix it?
The leon port has not been touched in a long time. It looks like you
will need to add a call to SECTION_ram_vectors() in the leon linker
script file:
hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi
Compare this with the equivalent linker script file for the sleb target:
sparclite/sleb/current/include/pkgconf/mlt_sparclite_sleb_ram.ldi
Please submit a patch when you get this working.
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-21 21:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21 17:48 [ECOS] ECOS porting on leon mishrad
2009-07-21 18:42 ` Jiri Gaisler
2009-07-21 21:36 ` [ECOS] " John Dallaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).