Community
cancel
Showing results for 
Search instead for 
Did you mean: 
DWhit11
Novice
723 Views

sopc-create-header-files appears to have broken on SoC EDS 19.1 under Windows

Have used this happily previously on same .sopc system but now in SoC EDS command shell in 19.1 it fails. Have installed 64 bit Cygwin as per install instructions and WSL with Ubuntu 18.04.

 

Error:

swinfo2header: Failed to load *.swinfo file "/tmp/sopc-create-header-files.1468.tmp.swinfo"

sopc-create-header-files: swinfo2header --swinfo /tmp/sopc-create-header-files.1468.tmp.swinfo --sopc /cygdrive/c/Projects/SprintNavMini/FPGA/MiniSyrinxHPS.sopcinfo --single hps_0.h --module hps_0 failed

 

Any suggestions / things to try?

 

Kind regards,

Dave

 

0 Kudos
4 Replies
Fawaz_J_Intel
Employee
649 Views

Hello,

 

Can you try the steps in this link to create the header files:

 

https://github.com/altera-opensource/u-boot-socfpga/blob/socfpga_v2019.04/doc/README.socfpga

 

Which soc device are you using?

NBRUN4
Beginner
649 Views

Hello DWhit11

 

I had exactly the same problem as you and i solved it.

You may have several versions of Quartus installed on your OS. Remove those you don't need.

Then, add complete path in your script for swinfo2header and all functions (such as sopcinfo2swinfo).

 

Best Regards,

Patrick77
Novice
481 Views

Hi NBRUN4,

    May I ask how did you exactly "add complete path in your script for swinfo2header and all functions" ?

    I met the same problem and found your solution, but I don't quite understand it.

Saulius
Beginner
101 Views

Hi Patrick77

Permanent solution:

 Go to advanced system settings:

Saulius_0-1623199794548.png

Saulius_1-1623199841510.png

Click on Environment Variables...:

Saulius_2-1623199881761.png

And in "System variables" double click "Path" variable:

Saulius_3-1623200041070.png

And replace the version number in the quortus line (don't forget to change the directory name if youre using a standard quortus version or pro version. Mine is lite):

 

Saulius_4-1623200161248.png

 



Another solution:
You need to edit file:  
                        C:\intelFPGA_lite\16.1\quartus\sopc_builder\bin\sopc-create-header-files
You need to edit lines with swinfo2header and sopcinfo2swinfo.
Add:
                        /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/
before swinfo2header and sopcinfo2swinfo.
It should be something like this:
                       /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/swinfo2header

                       /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/sopcinfo2swinfo

Saulius_0-1623197938857.png

Saulius_1-1623197973752.png

Good luck

Reply