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


Andre,

The internal RAM is indeed pretty small to serve all of RedBoot's RAM
needs. I nevertheless wanted it to fit completely into the internal
resources of the mpc555. This makes the complete external ram and flash
available for your eCos based application.

It might be the interrupt stack which it is causing your problem. If I
remember well, I have been using an interrupt stack as small as 4k
without problems, and my redboot fits into IRAM without any problems.

Since you aplied my patch, you can also rebuild the docs and get some
info on how to set the jumpers on the cme555. Might be an opportunity to
check if everything I wrote there is still valid, I use one of the first
cme555 boards axiom manufactured. They redesigned the board since.

Hope this helps,

Bob



On Mon, 2003-02-10 at 07:43, Andre Lachance wrote:
>   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
-- 
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven       
Division Production Engineering,                   tel.  +32 16 322535
Machine Design and Automation                      fax.  +32 16 322987
Celestijnenlaan 300B                  bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium               http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------


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