Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
729 Views

u-boot for .h file

Hi , 

 

I need to port the U-boot (2011.6) to NIOS-II Cyclone-III based customized board. Started following the Altera wiki http://www.alterawii.com/wiki/dasuboot 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
Altera_Forum
Honored Contributor I
41 Views

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?
Reply