Learn with SHAKTI
Note: The entire setup works correctly for UBUNTU 16.04. For issues using other Linux variants and ubuntu versions, please contact the SHAKTI TEAM. Basic understanding of Linux commands is required.
Tool Chain Installation
1. Prerequisites :
Install Ubuntu 16.04 OS and include the below software dependencies. (Copy and Paste the below commands in terminal and press enter).
sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev libusb-1.0-0-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev device-tree-compiler pkg-config libexpat-dev libusb-0.1 libftdi1 libftdi1-2
2. Downloading the Tool-chain :
Note: This will take alot of time. Strongly suggest to deactivate "Suspend" from "Systems Settings (Wheel in Top Right Corner)" -> "Power" -> Select "Don't Suspend" on "Battery Power" and "Plugged in". Use a "Wired" conection and never a "Wifi" one.
git clone "https://gitlab.com/shaktiproject/software/shakti-tools.git"
* For Ubuntu 18.04, additionally run the below commands:
git checkout Ubuntu_18.04.3_LTS_executables
* For other versions of Ubuntu, Please install riscv-tools.
3. Exporting the Tool-chain Path :
Export the Tool-chain Path to the PATH variable. This will help in using the toolchain everywhere in linux.
Note: Please put the above lines in .bashrc in home folder.
4. Open a new terminal and Run the following commands to verify the Tool-chain Installation :