Forum Discussion

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

Device Tree Generation (Sopc2dts error)

hi,

I am having difficulties generating a device tree from the GHRD. I've followed the Rocketboards example (http://rocketboards.org/foswiki/documentation/gsrddevicetreegenerator) and I'm getting the following error. Any ideas why I'm seeing this?

Precision-M4600:~/cv_soc_devkit_ghrd$ sopc2dts --input soc_system.sopcinfo\--output socfpga.dts\--board soc_system_board_info.xml\--board hps_clock_info.xml

Don't know how to parse hps_clock_info.xml

at sopc2dts.LogEntry.<init>(LogEntry.java:37)

at sopc2dts.Logger.logln(Logger.java:78)

at sopc2dts.Logger.logln(Logger.java:74)

at sopc2dts.parsers.BasicSystemLoader.loadSystem(BasicSystemLoader.java:55)

at Sopc2DTS.go(Sopc2DTS.java:182)

at Sopc2DTS.main(Sopc2DTS.java:80)

Loading of system failed.

at sopc2dts.LogEntry.<init>(LogEntry.java:37)

at sopc2dts.Logger.logln(Logger.java:78)

at sopc2dts.Logger.logln(Logger.java:74)

at sopc2dts.parsers.BasicSystemLoader.loadSystem(BasicSystemLoader.java:59)

at Sopc2DTS.go(Sopc2DTS.java:182)

at Sopc2DTS.main(Sopc2DTS.java:80)

Thank you in advance

1 Reply

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

    Hi,

    Not sure why you posted the message twice, but here's my reply to your other post for future reference :

    --- Quote Start ---

    Hello,

    I did it in a different way using the git repo :

    git clone git://git.rocketboards.org/sopc-tools.git
        cd sopc-tools/sopc2dts
        make
        java -jar sopc2dts.jar -b <path/to/hps_clock_info.xml> -b <path/to/**_board_info.xml> -i <path/to/**.sopcinfo> -o socfpga.dts

    Hope this helps !

    --- Quote End ---