Forum Discussion

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

sopc2dts

Hi,

I am working on building up a new SD card image with slight modifications to the GHRD. I'm following the rocketboards example for generating a device tree (http://rocketboards.org/foswiki/documentation/gsrddevicetreegenerator). I'm getting the error message below using sopc2dts. Any thoughts as to why this is occuring. I've also tried it with the GHRD unmodified and gotten the same results.

~/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

    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 !