- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi all:
when i build an eCos library in 6.1 step 1,some errors occurs : "Error loading the default hardware template 'nios_dev_board': Package CYGPKY_HAL_NIOS@, 7 errors occurred while reading in the CDLvdata." I select "ok",then let me "please specify the root of the eCos repository tree". the default tree is"default rounte is c:\altera\kits\nios2_51\components\ecos\ecos-current" .. this is the error log : c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_SYSCLK_DEV, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_SYSCLK_DEV, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGHWR_HAL_NIOS2_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_TEXT_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RODATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} c:/DOCUME~1/lyg/LOCALS~1/Temp/nios2_auto.cdl, option CYGSEM_ROM_MONITOR_RWDATA_REGION, property legal_values: error End of expression reached when expecting an operand. <end of data>{ ...} can anydody help me build an eCos library?? thanks!Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you have specified the '--cpu=' parameter correctly. This should be set to the name of your Nios II processor in the SOPC builder, and it's also case sensitive!
There appears to be no validation for this parameter, so if you specify incorrectly you get the errors you describe (at least on my system running version 6.0).- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you,nigelatta!
I download a cygwin peogram and installed it. Changed the "root of the eCos repository tree".From "c:\altera\kits\nios2_51\components\ecos\ecos-current" to "c:\cygwin\eCos" . the tool appeared and had no error . But i can't find "Nios II development Board(Altera)" in "build -> templates".- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you are working with an Altera development board I don't think you should try to bypass the Altera supplied configuration.
My software versions are Quartus II 6.0, SOPC builder 6.0, Nios II 6.01 and working through the 'eCos for Nios II.htm' document worked ok for me.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, nigelatta!
You are Right! My "--cpu=" parameter was not correct. But i meet a new error. When i open an exist file ,some error occur. C:\altera\ecos_demo\lib\demo.ecc: error Attempt to load an unknown package `CYGPKG_DEVS_ALT_MAC'. C:\altera\ecos_demo\lib\demo.ecc: error The savefile contains a cdl_package command for `CYGPKG_DEVS_ALT_MAC' which has not been loaded. C:\altera\ecos_demo\lib\demo.ecc: error The savefile contains a cdl_component command for an unknown component `CYGPKG_DEVS_ALT_MAC_OPTIONS' C:\altera\ecos_demo\lib\demo.ecc: error The savefile contains a cdl_option for an unknown option `CYGPKG_DEVS_ALT_MAC_CFLAGS_ADD' C:\altera\ecos_demo\lib\demo.ecc: error The savefile contains a cdl_option for an unknown option `CYGDAT_ALT_MAC_GET_ESA' C:\altera\ecos_demo\lib\demo.ecc: error The savefile contains a cdl_option for an unknown option `CYGDAT_ALT_MAC_ESA_DEFAULT' Is it meaning c:\altera\kits\...\ecos\package\devs\alt\mac is missing ? or not ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where did you get the demo.ecc file from ? Is it one which you have created or was it supplied from somewhere else ?
I can find no reference to CYGPKG_DEVS_ALT_MAC on my system, but the options look like they are related to setting the MAC address for the ethernet adapter. These functions are contained in package CYGPKG_ALTERA_AVALON_LAN91C111 (ecos\ecos-current\packages\devs\eth\sopc\altera_avalon_lan91c111) on my system and so I suspect you are trying to load a file created with some previous version and there have been some changes since.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The ecc.demo is from ALTERA's reference_designs. Refrence_design did no use lan91c11,maybe a MAC ip-core. Now i don;t know how to do it .
Reading the ecos2.0doc will help!? I found an ecos package and added it in ecos. Then i open it.(2006.12.6) -------------------------------------------------------------------------------------------- 1. cd c:/ecos/1c20 2. nios2configtool --ptf=..... --cpu=cpu 3. build -> generate build tree 4. build -> library 5. make INSTALL_DIR=1c20_install or make INSTALL_DIR=c:/ecos/1c20/1c20_install or make INSTALL_DIR=cygdrive/c/ecos/1c201c20_install the same error is : make :***no targets specifed and no make file found,stop how can generate a make file ?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page