Set the environment variable, RISCV
, for the path where the RISC-V will be installed. Run ./build-riscv-tools.sh
.
Also, change the content in buildroot-overlay/etc/init.d/rcS
.
Run make
.
Run spike bblvmlinux
.
Copy bblvmlinux
to the SD card, and run ./fesvr-zynq bblvmlinux
.
Use FireMarshal: https://github.com/firesim/firesim-software