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: Linking problem when building redboot for cme555


I guess that: It seems you are not getting enough RAM, probably the linker
script file is not well defined. (normally these would be in
/hal/platform/include/pkgconf/xxx.mlt -- win GUI tool). If you have enough
ram then you probably can enlarge the ram region setting in the ***.mlt file
(this if for win GUI) or revise the *.ldi, *.h file.
hope this help

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Andre Lachance
Sent: 10 February 2003 06:43
To: ecos-discuss
Subject: [ECOS] Linking problem when building redboot for cme555


  Hi there,

I am desperately trying to build redboot for cme 555 platform.
I'm using the redboot_ROM.ecm file. (I've also implemented the patch
from Bob Koninckx "MPC 555 port enhancements. I am getting this linking
problem but don't know how to fix it since I do not see any map file to
indicate which part of code
is trying to go in eram instead or iram.

This is the error :
/home/andrela/myeCos_555/impred1_install/bin/redboot.elf
/home/andrela/myeCos_555/impred1_install/lib/version.o
make[1]: Leaving directory
`/home/andrela/myeCos_555/impred1_build/redboot/current'
/tools/H-i686-pc-linux-gnu/powerpc-eabi/bin/ld: address 0x4030e4 of
/home/andrela/myeCos_555/impred1_install/bin/redboot.elf section .bss is
not within region iram
make: Leaving directory `/home/andrela/myeCos_555/impred1_build'
/tools/H-i686-pc-linux-gnu/powerpc-eabi/bin/ld: address 0x4030e4 of
/home/andrela/myeCos_555/impred1_install/bin/redboot.elf section .bss is
not within region iram
collect2: ld returned 1 exit status
make[1]: *** [/home/andrela/myeCos_555/impred1_install/bin/redboot.elf]
Error 1
make: *** [build] Error 2

Thanks in advance.
Andre


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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