-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native windows Vivado and WSL2 Litex build fails to find toolchain #1930
Comments
I have similar questions with gowin toolchain actually. How do you pass a path inside WSL to a windows program so it is properly identified? Some searching online suggested that you can reference it using \wsl.localhost\Ubuntu\home\ On the other hand, I am checking if litex can be made to work with powershell directly. |
I've been trying to do this as well and ran into the same issue. I did some testing and found out it's because litex sees it's in WSL and tries to call the linux command to run Vivado ( I tried to work around this by running the litex build and modifying the build.sh script it generated to use the Windows version of the command. I was able to get it to run successfully with this process:
This is a somewhat involved process but I'd like to be able to use WSL so I might make a PR to implement this in |
Kinda an edge case, but I'm also not sure how friendly Vivado's linux installer would work with WSL2...
calling
python3 -m litex_boards.targets.colorlight_i9plus --build --toolchain=vivado
in an otherwise working (with Lattice chips) Litex WSL2 install fails to properly use the windows exe tools.I can't find any place Litex calls rdiArgs.sh, to try to point to rdiArgs.bat
I'm not sure about the relationship between rdiArgs (which is the only place I can find the string
lnx64
) and how Litex handles path resolution. Nor do I know anything about how Vivado uses Java...Does anyone have experience installing Vivado in WSL?
The text was updated successfully, but these errors were encountered: