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++
12606 Discussions

Device Tree Generation (Sopc2dts error)

Altera_Forum
Honored Contributor II
1,258 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
491 Views

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

0 Kudos
Reply