Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

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.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?