Forum Discussion

dasdgw23's avatar
dasdgw23
Icon for New Contributor rankNew Contributor
8 months ago

sopc-create-header-files not working for agilex 5

I tried to create header files for agilex 5, but even for the ghrd this failes.

❯ cd altera-ghrd-socfpga/agilex5_soc_devkit_ghrd
❯ sopc-create-header-files qsys_top.qsys --output-dir pd_headers
Could not convert input file /home/dasdgw/agilex_5/altera-ghrd-socfpga/agilex5_soc_devkit_ghrd/qsys_top.qsys to a .swinfo file.
java.lang.RuntimeException: Can't create SopcSystem from invalid EnsembleReport.
at com.altera.tools.sopcformats.sopcinfo2swinfo.SWInfoGeneratorApp$1.publish(SWInfoGeneratorApp.java:117)
at java.util.logging.Logger.log(Logger.java:738)
at java.util.logging.Logger.doLog(Logger.java:765)
at java.util.logging.Logger.log(Logger.java:788)
at com.altera.embeddedsw.utilities.log.model.LoggingModelUtils.logStatus(LoggingModelUtils.java:158)
at com.altera.embeddedsw.utilities.log.model.LoggingModelUtils.logStatus(LoggingModelUtils.java:114)
at com.altera.embeddedsw.swinfo.SopcSystem.create(SopcSystem.java:123)
at com.altera.embeddedsw.swinfo.SopcSystem.createFromSopcinfo(SopcSystem.java:191)
at com.altera.tools.sopcformats.sopcinfo2swinfo.SWInfoGeneratorApp.run(SWInfoGeneratorApp.java:123)
at com.altera.tools.sopcformats.sopcinfo2swinfo.SWInfoGeneratorApp.main(SWInfoGeneratorApp.java:40)
sopc-create-header-files: sopcinfo2swinfo --input=qsys_top.qsys --output=/tmp/sopc-create-header-files.675378.tmp.swinfo failed

18 Replies