LinuxΒΆ
Linux and related tools are - for the most part - already in the upstream repositories of the respective projects. As noted on the Debian RISC-V wiki (with some updates):
- binutils: upstreamed (2.28 is the first release with RISC-V support)
- gcc: upstreamed (7.1 is the first release with RISC-V support)
- glibc: upstreamed (2.27 is the first release with RISC-V support)
- linux kernel: upstreamed (the architecture core code went into kernel 4.15; kernel 4.19 contains all drivers necessary for booting a simulated system to userland)
- gdb: upstreamed in master (in the release process)
- qemu: upstreamed (2.12 is the first release with RISC-V support)
Linux-enabled platforms currently described in the Getting Started Guide include:
- SiFive HiFive Unleashed
- LiteX SoC with VexRiscv CPU running on the Future Electronics Avalanche board with a Microsemi PolarFire FPGA or in the Renode simulation framework
There is also a generic QEMU 64-bit RISC-V simulation target running Linux.
Debian, Fedora, and openSUSE ports are also available, for more information see: