Using Wally on Linux Mint 21.3 #1187
Replies: 12 comments 4 replies
-
I believe the issue you are running into is with the version detection. Linux Mint 21 is based on Ubuntu 22.04, but the script will be detecting its version as 21 and trying to use the Ubuntu 20.04 installation steps. I was testing this out earlier today with Linux Mint 22 (which is based on Ubuntu 24.04), and have an updated version of the script that handles version detection correctly for Ubuntu derivatives. Unfortunately, the installation still fails when it gets to building riscv-gnu-toolchain, seemingly because of a library issue that I'm still trying to find in the log. I can push the updated version detection logic for now and that might be sufficient for Linux Mint 21. Not sure if you will run into the same riscv-gnu-toolchain issue that I'm seeing on Linux Mint 22. |
Beta Was this translation helpful? Give feedback.
-
@PietDelaney Updated version detection is in PR #1188. Let me know if that works and if not please attach the log file for the step that fails. |
Beta Was this translation helpful? Give feedback.
-
I copied the complete filewally-distro-check.sh I didn't know/recall how to pull just the commit Tool installation is running now, much further than without this fix. |
Beta Was this translation helpful? Give feedback.
-
Glad to hear that was able to get it started. I’ll be curious to see if you run into the same issues I encountered on Linux Mint 22 with riscv-gnu-toolchain or if it will be able to get through that part successfully. |
Beta Was this translation helpful? Give feedback.
-
Tool installation progressing, ate > stamp-libstdc++convenience; |
Beta Was this translation helpful? Give feedback.
-
That’s further than it got with Linux Mint 22 and is definitely a good sign. The one that’s remaining that has proved to be the most difficult is buildroot, which is at the very end. I guess there’s something else going on with 22 that I’ll have to look into. |
Beta Was this translation helpful? Give feedback.
-
uildroot successfully installed and Linux testvectors created! WALLY INSTALLATION SUCCESSFUL!!! piet@piet-Precision-7920-Tower:~/riscv/cvw/bin$ cat /etc/issue Looks great. ToolChain installs fine on Linux Mint 21.3 Virginia :) I'll try a build next. |
Beta Was this translation helpful? Give feedback.
-
Glad to hear it worked! |
Beta Was this translation helpful? Give feedback.
-
Second build without -j40 also succeeded. Anything else to check? |
Beta Was this translation helpful? Give feedback.
-
Steps 9 and 10 of the getting started guide in the README are a good place to start. They have you first run a simple simulation in Verilator and spike to ensure the tools built correctly and then our regression script to make sure all the tests are working right. You can skip make in step 10 since you’ve already done that part. |
Beta Was this translation helpful? Give feedback.
-
Pulled the commit and as expected things are fine on Linux mint. I tried step 9 and liked the simulation. I liked the option of debugging with gdb via openocd and will give it a try, I think. At Tensilica I used gdb via jtag on FPGAs. |
Beta Was this translation helpful? Give feedback.
-
@rosethompson is our expert on all things FPGA |
Beta Was this translation helpful? Give feedback.
-
I'm trying to use Wally on Linux Mint 21.3. The tools install scrip is failing though its trying to use the Ubuntu release that Linux Mint was likely derived from. I suspect it's a packaging issue as Linux Mint avoids a less attractive packaging facility.
The wally-tool-chain-install.sh script fails to install python3.9-venv thought it installs using the apt-get install command manually.
Beta Was this translation helpful? Give feedback.
All reactions