Re:RISC-V OS using Rust: Filesystems
by pavehawk2007 on Wednesday May 13, 2020 @10:05AM
(#23166978)
RISC-V has their own supported toolchain. You can get it here: https://github.com/riscv/riscv-gnu-toolchain.git
With Rust, you can do what I did with my OS. It can compile out of the box. The kendryte has a "BSP" (base support package) that is essentially a minimal OS, but it is written in C.
Re:RISC-V OS using Rust: Filesystems
by fluffything on Wednesday May 13, 2020 @11:15AM
(#23167659)
Yeah, I was thinking more about what to do with the OS afterwards. That board has lots of things on it, including wifi, so I'll probably would like to use some of that.
It would be unfortunate to have to re-implement the wifi driver in Rust, but I suppose I'll just have to link parts of the C toolchain instead, creating Rust wrappers, etc.
https://www.seeedstudio.com/Sipeed-Maixduino-Kit-for-RISC-V-...
I'm not sure what's the status of programming these from Rust. I suppose that you will probably need to build your own toolchain that links the Seeedstudio libraries.