Development of a tool for generating customized processors for specific applications.
Toolchain of RISCV RV32I Installation
For compile the RISC V RV32I there are some dependencies:
- autoconf
- automake
- autotools-dev
- curl
- libmpc-dev
- libmpfr-dev
- libgmp-dev
- gawk
- build-essential
- bison
- flex
- texinfo
- gperf
- libtool
- patchutils
Install dependecies:
sudo apt-get install autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils
Download toolchain RISCV files:
git clone https://github.com/riscv/riscv-gnu-toolchain riscv-gnu-toolchain-rv32i
Configuring tools:
sudo ./configure --with-arch=rv32i
Any problem configuring tools (step before) it will fixed using:
sudo ./configure --with-xlen=32 --with-arch=I
Installing toolchain (The installation need more or less than 4 hours):
sudo make -j$(nproc)
Installing elf2hex:
git clone https://github.com/riscv/riscv-fesvr riscv-fesvr
Configuring elf2hex:
cd riscv-fesvr/ && sudo ./configure && sudo make install
At this point all the tools for the cross-compilation were installed.