Hi RocketBoards,
We’re working on Ubuntu 20.04.6 LTS and Quartus Prime Pro Edition 23.1
We followed the Building Hardware procedure from here:
We downloaded the compiler tool-chain, and added it to the PATH variable. Hence, we created the environment with no errors.
Building the Hardware Design
In this step, we successfully build project using this command
~/intelFPGA_pro/23.1/nios2eds/nios2_command_shell.sh make generate_from_tcl
But, the last command which is “make all” we got error in it
~/intelFPGA_pro/23.1/nios2eds/nios2_command_shell.sh make all
Here, is the terminal snap of error**
Based on the error i can suggest you following ways
1)Make sure the system requirement (RAM) should be high.
2)Restart the system and try to build the hardware design.
3) Check the values for the below mentioned parameters in the Makefile
a)QUARTUS_DEVICE
b)FPGA_device
c)HPS_ENABLE_SGMII
d)ENABLE_PARTIAL_RECONFIGURATION
e)ENABLE_NIOSV_SUBSYS
f)ENABLE_HPS_EMIF_ECC
4)Make sure the quartus license is linked and updation of below parameter
a)LM_LICENSE_FILE
Follow the system requirement mentioned in the intel website for Startix 10.
Despite restarting the PC several times, we were unable to build the hardware design.
Taking care of the Quartus license and updating the following parameters is the solution you told me to do
a)LM_LICENSE_FILE
Therefore, it has already been completed. Here is the snap
I appreciate your comment, but it does not assist me in solving this problem.
You can see that all the parameters are set before the make_all command and that when we check to make sure their values are valid, as shown in the figure below, they are set correctly.
Can you try once again the steps in below way
1)export LM_LICENSE_FILE= /home/ubuntu/LR-122.dat(Your License Path)
2)Download the startix 10 ghrd file
3)export QUARTUS_DEVICE=1SX280LU2F50E2VG
4)export FPGA_device=1SX280LU2F50E2VG
5)export HPS_ENABLE_SGMII=0
6)export ENABLE_PARTIAL_RECONFIGURATION=0
7)export ENABLE_NIOSV_SUBSYS=0
8)export ENABLE_HPS_EMIF_ECC=0
9)invoke the nios2 shell
10)make scrub_clean_all
11)make generate_from_tcl
12)make all
Restart the system and try above mentioned steps in root user mode.
Hope this should work.
Thank you for your most recent response, which was really useful. Without making a single mistake, we were able to successfully build the Stratix 10 SoC GSRD up to Build Yocto.
bitbake_image Gather files:
package
Thank you for staying in touch with us to assist us as soon as you can in building our Strartix 10 SoC GSRD. We are moving to the next stage i.e. application to read any HSP-to-FPGA Bridges or the MPU address space. So, to read a 32-bit register for the entire MPU (HPS) memory space. If you have any related forums then share the link with me, I will also go through it for any guidance.
Let’s stay in touch if we face any problems, then we will let you know. Thanks