This is the mail archive of the
mailing list for the eCos project.
Re: how to configure eCos small enough to run on at91sam7s64
- From: wb ning <helloningwb at gmail dot com>
- To: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 2 Jun 2009 10:02:56 +0800
- Subject: Re: [ECOS] how to configure eCos small enough to run on at91sam7s64
- References: <firstname.lastname@example.org> <20090527065152.GV20046@lunn.ch> <email@example.com> <20090531164108.GA9704@ubuntu.local>
hi, Sergei Gavrikov ,
Thank you very much. you are very helpful. I think you solved most of
my problems. And thank you for giving the link, that's
2009/6/1 Sergei Gavrikov <firstname.lastname@example.org>:
> wb ning writes:
>> After building the library, i ?use the command " arm-eabi-gcc -g
>> -IBASE_DIR/ecos-work/install/include hello.c
>> -LBASE_DIR/ecos-work/install/lib -Ttarget.ld -nostdlib" to build the
>> HelloWorld test. Then a "a.out" exist.
> eCos has `examples' directory which contains the scripts to get up a
> proper Makefile to compile your eCos application.
>> But when i use shell command "./a.out", i cann't get any output. Must
>> i have download to the board to run the test?
> Of course, if that is _RAM_ startup build, otherwise, you should burn
> the application in the ROM like RedBoot and use JTAG, LED(s), or cross
> the fingers.
> And what is a reason to do not try the eCos tests first? Any eCos test
> is more useful than one-line greeting
> ?make -s hal/common/v3_0 tests
> ?ls -R install/tests
>> i can find the size of the "a.out" is 137k. ?Is this size the same as
>> your said "code/data size", How can i get the *.elf file and use
>> arm-eabi-size to find out the code/data size?
> Please, refer to eCos FAQ
> Usually, an eCos application without the eCos kernel is just a few of
> ?arm-eabi-size install/tests/hal/common/v3_0/tests/*
> The tips how to reduce amount of memory for eCos you can find seeking
> through out the eCos discuss list, or just here:
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss