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

.sopcinfo file update in imported projects

TRoa
New Contributor I
1,808 Views

Hi,

I imported a project from a previous workspace in NIOS II EDS. Now, when I see the project, it is complaining that .sopcinfo file is missing.

The question is: Where I can give it the reference of the previously generated .sopcinfo file? I think I need to restablish this projects link to previously generated .sopcinfo file, but how?

 

Thanks

TRoa

0 Kudos
4 Replies
AnandRaj_S_Intel
Employee
781 Views

Hi,

 

Can you try by edit settings.bsp file and to point to the .sopcinfo location or create new eclipse project.

 

Regards

Anand

0 Kudos
Kenny_Tan
Moderator
781 Views

Not sure if the above suggestion solve your case?​

0 Kudos
TRoa
New Contributor I
781 Views

This will solve my problem. But I have large number of files in the project, and I don't know the hierarchy of the files to be added. So, this procedure works, but what if we want to make existing projects work? That was the issue.

0 Kudos
AnandRaj_S_Intel
Employee
781 Views

Hi,

 

We may face such issue when we try import the project in different work-space than quartus project directory.

To avoid warning or error ".sopcinfo file is missing"

  1. Recreate the eclipse project with sopcinfo file or
  2. Import the eclipse project and edit the make file (variable name SOPC_FILE=<DIRECTORY>) and settings.bsp file (Tag name SocpDesignFile=<DIRECTORY>) such that we pointing correct directory of socpinfo file.

Which compile/build the project without error/warning.

 

For existing projects make sure make & settings.bsp files point to correct sopcinfo file.

import the project and build it.

 

Steps to import the eclipse project

Import-> Nios II Software Build Tools Project ---> Import Nios II Software Build Tools Project

Start NIOS and select work-space to 'software' folder 

Import project code. Select folder for this, and make sure name of project matches folder. 

Import BSP files. Select folder for this and again make sure name matches folder.

or

Zip the software folder and import.

Import->general->existing project into work-space->next->select archive file->finish.

 

Regards

Anand

Reply