riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.13k stars 446 forks source link

Build Script Fails (mkdir) #177

Closed lfernand4 closed 6 years ago

lfernand4 commented 6 years ago

image Can somone help me ?

jim-wilson commented 6 years ago

You don't have the entire source tree. Note that the riscv-oipenocd dir is empty. You must do git submodule update --init --recursive to get the rest of the source tree.

I don't recommend use of riscv-tools; it is poorly maintained. I would suggest riscv/riscv-gnu-toolchain if you want a compiler, and sifive/freedom-u-sdk if you want compiler+linux kernel+buildroot. riscv-tools might be useful if you want to learn how to build a linux system from scratch, as the README.md file takes you through a lot of the necessary steps, one by one.