This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Hello Example and few questions
ANDRE Sébastien wrote:
>
> Hi !!
>
> So i have some questions !!
>
> 1....
> I install ecos !! build it with a classic ARM config
> follow this : ecosconfig new pid
> ecoscondig tree
> make
>
> this install is a complete success but when i build the hello example
> his size is 1,2 Mo !!!!!!!!! Why ????? How to reduce it !!!
That includes debug info. Use arm-elf-size to determine the "real" size.
Even then, it can be trimmed down much further by judicious eCos
configuration.
> 2... I take the source of ecos from the CVS repository in the FTP the 21
> Juin 2001 !
> i try to build ecos with follow this for add ETHERNET capability !!
>
> ecosconfig new pid
> ecosconfig add CYGPKG_NET
> ecosconfig add CYGPKG_NET_ETH_DRIVERS
> ecosconfig tree
> make
>
> so the line command "ecosconfig add CYGPKG_NET" i have THIS ERROR :
> U CYGBLD_ISO_BSDTYPES_HEADER, new inferred value
> <sys/bsdtypes.h>
That's not an error. It's just output.
> so i try always to install ethernet drivers package but it say :
> Unknown package CYGPKG_NET_ETH_DRIVERS
CYGPKG_IO_ETH_DRIVERS, or just "eth_drivers" will do. I see the
documentation still refers to CYGPKG_IO_ETH_DRIVERS. I'll have to fix that.
I'll add an alias at least.
> 3...
> The last question (excuse me !! if i make lost your time say it to me !!!
> i will understand)
>
> hmmm i will use a custom board with an ARM7TDMI controller !! so if it's
> why i build ecos for a PID platform (i'm wrong ?)
Unless your board is compatible with the PID it won't work! A board port is
more than the CPU core.
> But now i need to use a Bootstrap !! where i work i have one for another
> os !! but i see that REDBOOT is designed for eCos !!
> What is the most easily !!! port RedBoot for my platform (i have never
> make a things like it)
> or the other way !! port the existing boot for eCos OS ? (i have never
> make a things like it too !! i'm very lucky LOL :-) )
There are several examples of using another ROM monitor, so it's possible.
But if you're porting eCos, porting redboot is pretty easy.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/