How to build eCos for x386

Downloading

Download eCos sources

Add following paths to PATH

$ export PATH=$PATH:~/ecos/ecos-3.0/tools/bin
$ export PATH=$PATH:~/ecos/gnutools/i386-elf/bin
$ export PATH=$PATH:~/ecos/gnutools/i386-elf/i386-elf/bin
$ export PATH=$PATH:~/ecos/gnutools/i386-elf/libexec/gcc/i386-elf/4.3.2

Building

Go to ~/ecos/ecos-3.0/packages folder and execute

$ ecosconfig new pc_vmWare redboot
$ ecosconfig import hal/i386/pc/VERSION/misc/redboot_FLOPPY.ecm 
$ ecosconfig tree 
$ make

Resources

Downloading tool chain
ecos.sourceware.org

Unpacking it

$ tar xvjf ecoscentric-gnutools-i386-elf-20081107-sw.i386linux.tar.bz2

VMWare Installation

Advertisements