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]

AT91-EB40 Out of Memory


I'm getting an out of memory error while trying to build the tests for an
AT91-EB40
board. Looking through the archive I saw a mention of the it but not a fix.
I know  have to cut down the test code because the Atmel board is short of
SRAM but am not show exactly how or what to reduce. Any one have an idea?

install/arm-elf/bin/ld: address 0x209664c
of
/ecos-f/redhat/ecos/AT91-EB40_install/tests/hal/common/current/tests/cache.e
xe
section .bss is not within region ram

I installed ecos 1.3.1 with cygwin. Does it on both a cygwin 98se and NT
set ups. Upgraded the Configtool and Ecosconfig to the latest. Grabbed
the source tree as of Jan 14th. Selected Clean, build library, this went
fine.
Building the Tests result in the over allocation of memory as seen above and
below.

I build the GNU tools per Bill Gatliff's instructions using:
gcc 2.95.3
binutils 2.11.2
newlib 1.9.0
insight 5.1

for arm-elf.

Thanks,
Greg Holdren
greghol AT sbcglobal DOT net


Full tail end of error message:

arm-elf-gcc -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections
-Wl,-static -g -nostdlib -L/ecos-f/redhat/ecos/AT91-EB40_install/lib
-Ttarget.ld -o
/ecos-f/redhat/ecos/AT91-EB40_install/tests/hal/common/current/tests/cache
tests/cache.o
/install/arm-elf/bin/ld: address 0x209664c of
/ecos-f/redhat/ecos/AT91-EB40_install/tests/hal/common/current/tests/cache.e
xe
section .bss is not within region ram
collect2: ld returned 1 exit status
make[1]: ***
[/ecos-f/redhat/ecos/AT91-EB40_install/tests/hal/common/current/tests/cache]
Error 1
make[1]: Leaving directory
`/ecos-f/redhat/ecos/AT91-EB40_build/hal/common/current'
make: *** [tests] Error 2
make: Leaving directory `/ecos-f/redhat/ecos/AT91-EB40_build'





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]