Forum Discussion
16 Replies
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Would you mind to forward your design to me for replication ?
May I know which Linux you are using ? which wsl you installed etc. ?
Thanks.
Eric
- TSege1
New Contributor
Hi Eric,
My OS is Windows 10 Pro, OS build 18362.1016
WSL version - Ubuntu 18.04 LTS, WSL 1. installed according to "Nios® II Software Developer
Handbook" version 20.2the "Drag and drop" feature isn't support .sopcinfo file uploading, is there another way i can send you the file?
I think you can reproduce the problem with any .sopcinfo (version19.4) you going to use.
I am trying to Build a simple "Hello World" project.
Thanks,
Tamir
- EricMunYew_C_Intel
Frequent Contributor
Hi Tamir,
Can you try to find a new computer to install or remove NiosII EDS and reinstall it? May you try newer 20.1 or 20.2.
You can try below manually.
1. install WSL for windows
i. https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii5v2gen2.pdf (chapter 2.1)
Note: Windows 10 build version 16215.0 or higher is the recommended operating system version.
ii. After installation has successfully completed, launch Ubuntu 18.04.
iii. Install additional distro packages required for Nios II EDS using the following commands:
a. sudo apt install wsl
b. sudo apt install doc2unix
c. sudo apt install make
before"sudo apt install wsl"
run:
sudo apt-get update
2. install nios2 eclipse folder
Eric
- TSege1
New Contributor
Hi Eric,
I Tried it for 3 times, still not working.
thanks
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Can you try below workaround:
Eric
- TSege1
New Contributor
Hi Eric,
I tried it before and it's not help.
Thanks
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Is your problem resolved ?
Eric
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
May I know are you installing wsl 1 or 2 ?
Eric
- TSege1
New Contributor
Hi Eric,
WSL 1
Thanks
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Would you mind to install QPro 20.2 ?
Thanks.
Eric
- TSege1
New Contributor
Hi Eric,
Also not working in 20.02
Please see Attached files.
Thanks,
Oren
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Can you try below workarounds.
#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).srec
Thanks.
Eric
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
Is your problem resolved ?
Eric
- EricMunYew_C_Intel
Frequent Contributor
Hi, Tamir
You can download the patch at below KDB:
Eric