- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- Nios2 Command shell
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please confirm what OS are you using? Are you running this in a WSL command line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021 could you please also confirm if you'd already tried to execute the nios2_command_shell.bat/.sh file from a Windows CMD or PowerShell (C:\intelFPGA_pro\19.2\nios2eds) to setup an environment for using the Nios2eds Software Build Tools?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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-essential
Run 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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/pro
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021
Could you please try to run the command as this? "nios2-bsp-update-settings.exe" instead of "nios2-bsp-update-settings"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i attached a screenshot
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you @Michael2021
If you run "uname -r", are you getting something like this? "6.6.87.2-microsoft-standard-WSL2"?
If so, can you please change the following line of the script?
From:
if [[ $uname =~ "Microsoft" ]]; then
to:
if [[ $uname =~ "microsoft" ]]; then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
works good
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BB,
While running build_sw.sh in the nios2 command shell, the following error occurred:
make: nios2-elf-gcc.exe: No such file or directory.
I've attached three screenshots of this issue.
Please help me resolve this issue.
Thanks
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The actual directory contains "H-x86_64-mingw32", but the path only contains "H-i686-pc-linux-gnu".
Is this error related to this issue?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page