Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

u-boot for .h file

Honored Contributor II

Hi , 


I need to port the U-boot (2011.6) to NIOS-II Cyclone-III based customized board. Started following the Altera wiki instructions. 


I cannot generat the my_nios2_fpga.h from sopc file 

(My environment is UBUNTU 10.4) 


Because when I key in "yum install perl-XML-LibXML". 


The information shows 


Setting up Install Process 

No package perl-XML-LibXML available. 

Nothing to do 





Hence, I cannot success when I execute "sopc-create-config-files my_nios2_sopc.sopc my_nios2_fpga.h" 


The error information shows 


sopc-create-config-files:1: parser error : Start tag expected, '<' not found 

# !/usr/bin/perl 




Could you tell me how can I do 

Thank you very much.
0 Kudos
1 Reply
Honored Contributor II

I am also having a problem with the sopc-create-config-files script. 


I am running CentOS 5.6 and I was correctly able to install the 

yum install perl-XML-LibXML 


But when I run the sopc-create-config-files script I get 

a message that says "CPU not found" and no *.h file is created. 


The code inside the script is looking for nodes like 

"/system/module" but the parsed document has nodes like "/EnsembleReport/module". 


Is there a problem with the sopc-create-config-files script?
0 Kudos