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]

Re: Huge memory footprint for a simple "hello world"


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


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