Forum Discussion
Hi @SHard2,
Noted with thanks on the details explanation, yes current we do see that there are some isues with updates on WSL.
For NIOS II Build Tools 19.1, here is another recommended workroaund which perhaps you can try and see hope it help:
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2019/how-do-i-install-the-windows--subsystem-for-linux---wsl--on-wind.html
As for access denied error on NIOS II build tool 18.1 build 646, there seems to be another known similar error which the workaround is to used the older version of 18.1 build 625. (https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2020/why-do-i-get-error-when-creating-a-new-project-with-nios-ii-ecli.html)
On the final part mentioning the support of Stratix IV in Quartus Prime Pro, is that the DSP builder that you are referring to? I did mananged to check on the Handbook for DBP Builder, it seems to be supporting Stratix IV. Hence just curious, can you please help me to understand by further eloborating on what are the non supported feature mention?
Warm Regards.
Hi
I have asked in a previous support request to Intel about support for DSP Builder in 20.1 STD, I was informed that from 20.1 onwards it was no longer supported. This prevents me upgrading beyond Q19.1, as I must support Stratix IV which therefore limits me to the STD product.
Secondly, the work around you mentioned for Q19.1 does not work. Certainly not when I tried it.
The NIOS tools worked correctly in Q19.1, using WSL1, until what I understand was a windows update. After this point the NIOS II toolchain no longer worked, as described in a number of support requests. The workaround you mentioned just clarifies that 19.1 does not work with WSL2.
Regards
Simon
- BoonBengT_Altera5 years ago
Moderator
Hi @SHard2,
Apologies for the late reply, for the support on DSP Builder in 20.1 standard, we did sync internally and it seem that is the case and I believe that the other personnel has explain accordingly. Please do let me know if you need further clarification on that and I would be more than happy to connect us to the previous support to help answer on that.
As for the WSL support for NIOS command line, currently the WSL 2 is not support and the development team are looking on that, as for the Q19, please do try the workaround steps below to see if it works:
#1
Open a NIOS2 command shell
try and make an NIOS2 application
You get the following error: nios2-elf-gcc.exe: error: CreateProcess: No such file or directory
To resolve this you need run the following command prior to calling make, "export WSLENV=PATH/l:${WSLENV}"
#2
With the above fix you can compile all the files but the link fails:
nios2-elf-g++.exe: error: missing argument to '-msys-lib='
To resolve this you need to modify the application Makefile and change the following line:
APP_LDFLAGS += -msys-lib=$(call adjust-path-mixed,$(SYS_LIB)) to APP_LDFLAGS += -msys-lib=$(SYS_LIB)
In adjust-path-mixed should not be used in this case as SYS_LIB is a name of a library not a PATH to the library
#3
The final problem is that from eclipse debugging fails with the following error:
wslpath: /mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec: No such file or directory
wslpath: /mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec: No such file or directory
Using cable "USB-BlasterII [USB-1]", device 1, instance 0x01
Pausing target processor: OK
Restarting target processor
rm: cannot remove '/mnt/f/main_clean/Software/omni_ip/projects/wfm_ss/example/wfm/wfm_app/wfm.elf.srec': No such file or directory
To resolve this problem the Application Makefile must be modified again with the following change:
BUILD_PRE_PROCESS := to BUILD_PRE_PROCESS := touch $(ELF).srecPlease do let us know if you have any question base on the workaround above?
There is a plan to fix this permanently, we are sorry for the issues that you are facing now.Warm Regards
- BoonBengT_Altera5 years ago
Moderator
Hi @SHard2,
Hope this message find you well and good day, as we do not receive any response from you to the previous clarification that we have provided. Please post a response in 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 with your follow-up questions.
Warm Regards
- SHard25 years ago
Occasional Contributor
Hi
Thank you for the update...
"Please do let us know if you have any question base on the workaround above?
There is a plan to fix this permanently, we are sorry for the issues that you are facing now."It is good to hear that there are plans to fix this issue after such a long timespan. However as I am unable to upgrade, due to support for DSP Builder being dropped in Quartus standard, it does not help a great deal.
Regards
Simon