[ECOS] Fwd: eCos memory requirement--please see this

Jürgen Lambrecht J.Lambrecht@televic.com
Mon Jul 31 08:32:00 GMT 2006


Be ware that jffs2 needs a lot of RAM, depending on the size of your flash
of course. Per node in use, it needs 16B (static) or 24B (dynamic). And
the maximum node size is 4KB. (static means static allocation of the
maximum number of nodes).
For my flash of 64MB, I need 254KB of RAM (static)

For ARM, I use
> $ arm-elf-size.exe applic.elf
>
>>> >     text    data     bss     dec     hex filename
>>> >    41920    1512    8028   51460    c904 a.out
>>> >


>>
>> That means the binary will require 43432 bytes of ROM
>> (41920+1512) and 9540 bytes of RAM (8028+1512).
"The size of the heap is not show here."

And also:
arm-elf-objdump -x applic.elf | less (also '| grep .bss' is often usefull
(bss is non-initialized data))

Kind Regards,
Juergen

---
Jürgen Lambrecht
Development Engineer
Televic Transport Systems
http://www.televic.com
Televic NV / SA (main office)  	
Leo Bekaertlaan 1
B-8870 Izegem
Tel: +32 (0)51 303045
Fax: +32 (0)51 310670


Subodh Kotkar wrote:
> Hello All
> I need a guidance to find out memory requirement of ecos for FLASH and RAM.
> 
> Considering following Component:
>                                       FLASH                          RAM
> Basic kernel:
> Drivers:
> SPI:
> I/O & RF interface:
> I2C:
> RTC:
> Serail EEPROM:
> Serial driver:
> Codec & DAA driver:
> Bootloader:
>  Upto my knowledge Basic Kernel will take 60-70KB of flash and each
> driver will take 3KB of flash.
>   But I need more detail information about FLASH as well as RAM 
> requirement.
> Please Reply...
> We are planning to use LPC2XXX processor and FAT and JFFS2 file system
> so please give memory requirement by file system.
> -- 
> Thanks & Regards
> -Srk.
> 
> 



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



More information about the Ecos-discuss mailing list