- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to look at this design.
I downloaded the A10_DP_RX_FMC_PRO.par file and compiled it with Quartus Pro 21.1.
I'm trying to compile the CPU program file in the Additional_Files directory.
There's no explanation of how to proceed after launching Eclipse.
There's a script file called build_sw.sh.
If I run this file, will it create an environment to compile the CPU program?
If so, how do I run it?
I think I'm asking a very basic question.
Thank you
Michael
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
Thanks for reaching out.
As the forum title suggests, I think you are trying to run the design example provided in the FPGA Design Store, specifically: https://www.intel.com/content/www/us/en/design-example/714762/intel-arria-10-fpga-intel-displayport-8k-rx-only-design-example.html
I am not sure if you have gone through the documentation provided on the website.
It includes the steps and details that users should perform to compile and run the demonstration.
Are you able to follow the steps in Section 1.4.3 to run the design?
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
Thanks.
Best Regards,
Ven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ven,
Thank you for your reply.
After opening the altera Nios2 Command Shell, I proceeded as in document an900.
However, I have confirmed that the dp_demo.elf file has not been updated successfully.
The error message is as follows:
"nios2-bsp-update-settings : command not found"
thank you
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi anybody,
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
I don't know why "nios2-bsp-update-settings" command is not found.
I think this is a very basic question. If anyone knows, please let me know.
Thanks
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
It seems the current issue is related more to the Nios environment setup than the DP reference design.
Error message: "nios2-bsp-update-settings : command not found"
Based on the error message you provided, it appears that the environment wasn't set up correctly, which is why the "nios2-bsp-update-settings" command was not found when you ran "source build_sw.sh" in the Nios2 Command Shell.
Please check if you have exported the $QUARTUS_ROOTDIR in your environment. If you have, use the following command to export the "nios2-bsp-update-settings":
- In the terminal, enter the command to append the new directory to the existing PATH (if you have exported PATH before): export PATH="$PATH:$QUARTUS_ROOTDIR/nios2eds/sdk2/bin" (before you export this env variable, you can use "env" command to check what are the env variables you have set.)
- Next, please verify it in the terminal, enter the command: nios2-bsp-update-settings
- I have attached a screenshot_1 showing the expected outputs for both scenarios: when the environment is set up correctly and when it is not.
After that, please proceed to build the script again (source build_sw.sh) in the Nios2 Command Shell. I was able to generate the ELF file successfully when the environment was set up correctly, as shown in screenshot_2.
Thanks.
Best Regards,
Ven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Attached screenshots.
- 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 Ven,
Thanks for the advice.
I did as you suggested and the command did not work.
I send you a screenshot of the file directory contents and the execution result.
I have a Quartus Pro license, does it have anything to do with the nios2 license?
please let me know.
Thanks.
Best Regards,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
Thanks for the updates.
I think you might need to get support from a Nios expert to set up the Nios environment correctly.
As Nios is outside my area of expertise, could you please post a new forum thread regarding this Nios setup issue?
Thanks.
Best Regards,
Ven Ting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With the help of another helper, I have solved the problem with the nios2 command shell for running build_sw.sh.
if [[ $uname =~ "Microsoft" ]]; then => if [[ $uname =~ "microsoft" ]]; then
I have attached a screenshot of the execution result. The AN900 document says that the .elf file is created,
but it is not.
Please advise.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
Thank you for the updates.
Adding the resolution to "nios2-bsp-update-settings : command not found" here for the Community and future references:
From the log you shared, when compiling debug.c to obj/default/ ./debug.o, it failed. There is a message complaining:
…Make: nios2-elf-gcc: No such file or directory
Please resolve this as well. As the command is part of the Nios® V/II Embedded Design Suite (EDS), I think you may continue the discussion in the above forum thread.
Please let me know if you can generate the .elf file once the above issue is resolved.
Thanks.
Best Regards,
Ven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
Are you able to resolve the nios2-elf-gcc compiler not found issue?
Thanks.
Best Regards,
Ven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
May I know if you have any updates? Are you able to generate the .elf file?
Thanks.
Best Regards,
Ven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Michael2021,
We have not received a response from you regarding our previous reply.
Please log in to ‘https://supporttickets.intel.com’, view details of the desired 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.
Community users will be able to assist you with your follow-up questions.
Thanks.
Best Regards,
Ven

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