How to build a new eCos library

Software development discussions

How to build a new eCos library

Postby senthil on Mon Mar 08, 2010 12:43 pm

Hi,

Recently we purchased Namuru Kit for our development activities. I tried to add some new component to the existing sopc builder. Now i need to build a new eCos library for the new sopc builder project, since i am new to eCos i stuck up in building the new library . can you help me in this issue?

Regards,
Senthilkumar
senthil
User
 
Posts: 1
Joined: Thu Feb 11, 2010 5:19 am

Re: How to build a new eCos library

Postby tebinuma on Mon Mar 22, 2010 12:02 am

Hi Senthil,

In order to rebuild the eCos library for Nios II, you need the specific configuration tool.
You can go to the Nios Community Forum and download the nios2ecos51.exe.
This tool was designed for the Quartus II 5.1, and you need to temporally rewrite the value
of the “number” parameter in the altera/72/nios2eds/version.ptf from 7.2 to 5.1.
After installing the configuration tool, you have to write this number back to 7.2.
Now you should have all the necessary files under the altera/72/nios2eds/components/ecos folder.

Open the Nios II 7.2 Command Shell from the windows start menu and run the nios2configtool:

$ nios2configtool --ptf=/cygdrive/c/namuru_v2_public/QUARTUS_V72_GPS410_V2/
GPS410_V2_R3_SMALL_PROJECT/SOPC_GPS410_V2_R3_SMALL.ptf --cpu=cpu_0_GPS410_V2_R3

This opens up the eCos Configuration Tool window. The default directory paths of
the HAL SOPC drivers are set for the Quartus II 5.1, and you need to overwrite them
with something like “-I/cygdrive/c/altera/72/ip/sopc_builder_ip/...” to point
the correct Altera Avalon components.

Save the ecc file and build the library. Then you will get the new eCos library under
the _install folder.

Hope this helps.
tebinuma
User
 
Posts: 1
Joined: Wed Aug 27, 2008 2:14 am


Return to GPS Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron