Baremetal toolchain

Why is is this step needed ?

What is it used for ?

Build the bare-metal RISCV toolchain (slow, but see quickstart procedure to see if build is necessary)

cd $TOP/rocket-chip/riscv-tools/
bash ./build.sh
cd $TOP/rocket-chip/riscv-tools/riscv-gnu-toolchain/build
../configure --prefix=$RISCV
make -j$(nproc) linux

Proceed to the next step as follows: