Forum Discussion
blckp8nt
New Contributor
3 years agocreate-this-bsp - mkdir: cannot create directory: No such file or directory
Hey,
I'm trying to get the Nios® II Hardware Development Design Example running for hours now, but I'm still running into errors while trying to create a project in Nios II EDS an Windows 10. I fix...
- 3 years ago
Hi to all.
"wslpath" command behaviour has been changed.So workaround is to patch a "intelFPGA\22.1std\nios2eds\sdk2\bin\nios2-bsp" script:
adjust_path() {
if [ "${_IS_WSL}" = "1" ] && [[ ! $1 =~ ^\/mnt\/* ]]; then
- echo "$(wslpath -u "$1")" #Line 44
+ echo "$(wslpath -u -a "$1")"
else
echo "$1"
fi
NikolayRognlien
New Contributor
3 years agoSorry, this did not solve my problem.
NiosII EDS still reports ''failed to execute :wsl dos2unix create-this-bsp''....
Do_Cong_Tru
New Contributor
2 years agoHi to all.
I aggregated the way to solve this trouble. When I have done all, problem was over.
Here is the way to solve this error
1. Install Wsl:
2.
a/ Run Ubuntu
b/ Run sudo nano /etc/wsl.conf' (for editing file wsl.conf)
c/ Replace the following
[automount]
options = "metadata"
d/ Save the file.
3.
Create a new environment variable in Windows:
Name: WSLENV
Value: SOPC_KIT_NIOS2/p
4.
Workaround is to patch a "intelFPGA\22.1std\nios2eds\sdk2\bin\nios2-bsp" script:
adjust_path() {
if [ "${_IS_WSL}" = "1" ] && [[ ! $1 =~ ^\/mnt\/* ]]; then
- echo "$(wslpath -u "$1")" #Line 44
+ echo "$(wslpath -u -a "$1")"
else
echo "$1"
fi
5.
Restart your PC and check again