README.md: update RISCV toolchain installation.

This commit is contained in:
Florent Kermarrec 2020-04-07 12:39:52 +02:00
parent d770bfbf2e
commit 2ca853fd74
1 changed files with 1 additions and 14 deletions

View File

@ -113,22 +113,9 @@ $ ./litex_setup.py update
> **Note:** On Windows, it's possible you'll have to set `SHELL` environment variable to `SHELL=cmd.exe`.
3. Install a RISC-V toolchain (Only if you want to test/create a SoC with a CPU):
On Linux (Ubuntu):
```sh
$ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
$ tar -xvf riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14.tar.gz
$ export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.1.0-2019.01.0-x86_64-linux-ubuntu14/bin/
$ ./litex_setup.py gcc
```
On MacOS:
```sh
$ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin.tar.gz
$ tar -xvf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin.tar.gz
$ export PATH=$PATH:$PWD/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-apple-darwin/bin/
```
On Windows:
You can Get and install the RISC-V toolchain from https://gnutoolchains.com/risc-v/.
4. Build the target of your board...: