This is the mail archive of the ecos-discuss@sourceware.org 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]

sam7s64 support and general eCos questions


Hello all,

After quite a bit of research I started flailing my arms so I decided to post my questions here. 

I'm working with an Olimex development board provisioned with a sam7s64 processor ( http://www.olimex.com/dev/sam7-p64.html). I'm using their ARM-USB-OCD with their GCCFD distrubtion of GCC (v 4.0.2)

First with some general questions:



- What is the typical memory overhead required by the eCos kernel? elsewhere I've seen that it may be around 60K. 

- Can I launch my eCos application without redboot? i.e. can I simply
burn my eCos application to flash and expect it to boostrap and launch from flash?


And second, some problems I encountered attempting to compile an eCos application:

I've downloaded the latest from CVS, and configured the kernel in a fairly standard way that should be easily reproduced:

- For the Atmel AT91SAM7S-EK evaluation board
- default package configuration
- Selected the at91sam7s64 variant under the Atmel AT91SAM7 HAL
- Selected (or rather, kept) ROM startup and address in flash the image should live (0x00100000)
- For the conflicts that were presented I accepted the default suggestions.

The build executes fine- however, when I attempt to compile a simple 'do nothing' void main() app I receive the following error:

I've configued a simple 'do nothing' void main() app- when I compile I receive the following:

bash-3.2$ arm-elf-gcc -g -I/ecos-c/projects/cfi/cfi_install/include hello.c -L/ecos-c/projects/cfi/cfi_install/lib -Ttarget.ld -nostdlib/ecos-c/gccfd/gnuarm/bin/../lib/gcc/arm-elf/4.0.2/../../../../arm-elf/bin/ld: address 0x2048bc of a.out section .bss is not within region ram

Correspondingly, when I run the 'make test' against my configured eCos kernel I receive:

make -r -C hal/common/current tests
make[1]: Entering directory `/ecos-c/projects/cfi/cfi_build/hal/common/current'
arm-elf-gcc -L/ecos-c/projects/cfi/cfi_install/lib -Ttarget.ld -o /ecos-c/projects/cfi/cfi_install/tests/hal/common/current/tests/context tests/context.o -mcpu=arm7tdmi -Wl,--gc-sections -Wl,-static -g -nostdlib/ecos-c/gccfd/gnuarm/bin/../lib/gcc/arm-elf/4.0.2/../../../../arm-elf/bin/ld: address 0x2067dc of /ecos-c/projects/cfi/cfi_install/tests/hal/common/current/tests/context section .bss is not within region ram
collect2: ld returned 1 exit status
make[1]: *** [/ecos-c/projects/cfi/cfi_install/tests/hal/common/current/tests/context] Error 1
make[1]: Leaving directory `/ecos-c/projects/cfi/cfi_build/hal/common/current'
make: *** [tests] Error 2

Thank you for any help!

Brent Picasso





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

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


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