by 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.