Forum Discussion
The error message is as follows: "nios2-bsp-update-settings : command not found"
I downloaded the A10_DP_RX_FMC_PRO.par file and compiled it with Quartus Pro 19.2.
AN 900: Intel® Arria 10 DisplayPort 8K RX-only Design
Link: https://www.intel.com/content/www/us/en/docs/programmable/683799/current/compiling-the-design.html
After opening the altera Nios2 Command Shell, I proceeded as in document an900.
When I run source build_sw.sh in the command shell, the following error occurs.
The error message is as follows:
"nios2-bsp-update-settings : command not found"
I send you a screenshot of the file directory contents and the execution result.
I have a Quartus Pro license.
I know that nios2 does not require a license. Is this error related to the nios2 licnse?
How to solve this error ?
Thanks
17 Replies
- AdrianaI_Altera
New Contributor
Hi @Michael2021
Have you confirmed that this is the correct path?
If you run "ls /mnt/c/intelFPGA_pro/19.2/nios2eds/sdk2/bin" do you see the "nios2-bsp-update-settings" file?
- Michael2021
Occasional Contributor
Yes, there is the "nios2-bsp-update-setting.exe" file
Even if I run it from where the file is, the same message appears
Thanks
- AdrianaI_Altera
New Contributor
Can you please confirm what OS are you using? Are you running this in a WSL command line?
- Michael2021
Occasional Contributor
nios2 command shell is automatically installed when installing quartus pro.
And I installed Eclipse IDE as shown below.
The procedure for installing Eclipse IDE in Windows environment:
1.
Create a temporary folder for you to use as a repository to build the necessary
component files before merging the files with the Intel Quartus Prime software.
2.
Download Eclipse C/C++ IDE for Mars.2 by clicking on Download CDT 8.8.1.
•
Locate and move the eclipse-cpp-mars-2-win32-x86_64.zip file to the
temporary folder.
•
Extract eclipse-cpp-mars-2-win32-x86_64.zip to get the eclipse
folder.
Tip: Try the mirror links if the main source link does not work.
3.
Copy the eclipse_nios2_plugins.zip file from <Intel® Quartus® Prime
installation directory>/nios2eds/bin to the temporary folder.
•
Extract eclipse_nios2_plugins.zip to get the eclipse_nios2 folder.
4.
Copy the content of eclipse_nios2 into eclipse folder. After you successfully
copy the content, delete the eclipse_nios2 folder.
5.
Rename eclipse into eclipse_nios2.
6.
Copy the new eclipse_nios2 folder and paste it in <Intel® Quartus® Prime
installation directory>/nios2eds/bin. Delete the temporary folder.
7.
Allow the merging of eclipse_nios2 folders.
8.
Verify the extraction is done correctly by making sure you see the <Intel®
Quartus® Prime installation directory>/nios2eds/bin/
eclipse_nios2/plugin_customization.ini file.
Up to this point, this is Eclipse IDE install.After opening Windows Powershell in win11 pro OS
After running wsl --install
open Ubuntu
and I install additional distro packages as below
sudo apt update
sudo apt install wsl
sudo apt install dos2unix
sudo apt install make
sudo apt install build-essentialRun Nios2 command shell as below in WIN 11
" C:\intelFPGA_pro\19.2\nios2eds\Nios II Command Shell.bat"Up to this point, it's preparation to run nios2 command shell.
Thanks
- AdrianaI_Altera
New Contributor
Hi @Michael2021 I meant to ask if you ran the "nios2-bsp-update-settings" inside the Nios2 command shell. It seems that you are running it from the WSL command shell.
Could you please also confirm which version of WSL and Ubuntu are you using?
- Michael2021
Occasional Contributor
Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.6.87.2-microsoft-standard-WSL2 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/proThanks
- Michael2021
Occasional Contributor
works good
Thank you
- BoonBengT_Altera
Moderator
Hi @Michael2021,
Greetings, just checking in to see if there is any further doubts in regards to this matter.
Hope your doubts have been clarified.
Best Wishes
BB
- Michael2021
Occasional Contributor
- Michael2021
Occasional Contributor
- BoonBengT_Altera
Moderator
Hi @Michael2021,
Good to know that your doubts has been clarified, with no further clarification on this thread, it will be transitioned to community support for further help on doubts in this thread.
Please login to ‘ https://supporttickets.intel.com/s/?language=en_US’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
Thank you for the questions and as always pleasure having you here.
Best Wishes
BB