Hi Andrew,
The templete is redboot;
From redboot_RAM.ecm
cdl_configuration eCos {
description "" ;
hardware at91 ;
template redboot ;
package -hardware CYGPKG_HAL_ARM v2_0 ;
package -hardware CYGPKG_HAL_ARM_AT91 v2_0 ;
package -hardware CYGPKG_DEVS_FLASH_AT91 v2_0 ;
package -template CYGPKG_HAL v2_0 ;
package -template CYGPKG_INFRA v2_0 ;
package -template CYGPKG_REDBOOT v2_0 ;
package CYGPKG_IO_FLASH v2_0 ;
};
Surprisingly my install directory (from my work space) is different from yours:
~/work/atmel/060606$ ls install/
bin include lib
Thanks, sorry for all the trouble.
Regards;
Soc.
On 6/6/06, Andrew Lunn <[EMAIL PROTECTED]> wrote:
On Tue, Jun 06, 2006 at 04:16:27PM +0200, Socrates Socrates wrote:
> ~/work/atmel$ arm-elf-size test
> text data bss dec hex filename
> 55855 968 25680 82503 14247 test
This seems a little big. Which template are you using? This is an
eb55? I just build the default configuration. This is the size for
some of the kernel tests:
:~/eCos/work$ arm-elf-size install/tests/kernel/current/tests/*
text data bss dec hex filename
27592 848 17004 45444 b184
install/tests/kernel/current/tests/bin_sem0
29188 856 22152 52196 cbe4
install/tests/kernel/current/tests/bin_sem1
29540 868 55644 86052 15024
install/tests/kernel/current/tests/bin_sem2
29592 856 22132 52580 cd64
install/tests/kernel/current/tests/bin_sem3
31476 844 16996 49316 c0a4
install/tests/kernel/current/tests/clock0
27836 848 19576 48260 bc84
install/tests/kernel/current/tests/clock1
40944 1316 19568 61828 f184
install/tests/kernel/current/tests/clockcnv
> And one more thing, since I did not edit/change the target.ld (created
> by ecosconfig), I suppose will need to change it as well?
Normally no. The RAM startup address map should work correctly with a
ROM redboot.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss