ultraembedded / biriscv

32-bit Superscalar RISC-V CPU
Apache License 2.0
838 stars 146 forks source link

Linux compatibility #14

Closed JOHNTBIJU closed 2 years ago

JOHNTBIJU commented 2 years ago

Hello, Does this core be able to run Linux on it.

ultraembedded commented 2 years ago

Yes. You need an RV32IMA kernel, then you need an SBI bootloader with atomic instruction emulation/traps. An example bootloader would be;

https://github.com/ultraembedded/riscv-linux-boot