mnurzia / rv

32-bit RISC-V CPU in ~800 lines of C89
MIT License
603 stars 28 forks source link

Linux #2

Closed ElectroBoy404NotFound closed 7 months ago

ElectroBoy404NotFound commented 1 year ago

The Big question:- Can it run linux?

mnurzia commented 1 year ago

Working on it, this is the next natural evolution of the program. I want to do fast linux compiles on my M1 Max but buildroot is a PITA to run on macos. If you have any suggestions on how to get an (extremely) minimal linux RV32IMAC image compiled please let me know.

ElectroBoy404NotFound commented 1 year ago

Working on it, this is the next natural evolution of the program. I want to do fast linux compiles on my M1 Max but buildroot is a PITA to run on macos. If you have any suggestions on how to get an (extremely) minimal linux RV32IMAC image compiled please let me know.

You could use the pre-built image provided by mini-rv32 project and its subprojects.

ElectroBoy404NotFound commented 1 year ago

They are made for RISC-V 32, but they provided the buildroot config as well

mnurzia commented 1 year ago

I'll take a look, thanks! In the meantime, I got buildroot running on a VPS, fingers crossed it finishes tonight...

ElectroBoy404NotFound commented 1 year ago

Inform me if it works! I would like to port it to an esp32 and get linux on that!

ElectroBoy404NotFound commented 1 year ago

@mnurzia It's been 5days, can we please know what happened?

mnurzia commented 1 year ago

Still working on it, but slowly as I'm on vacation right now. I appreciate your patience @ElectroBoy404NotFound

ElectroBoy404NotFound commented 1 year ago

Still working on it, but slowly as I'm on vacation right now. I appreciate your patience @ElectroBoy404NotFound

No problem! You can take all the time in the world!

mnurzia commented 7 months ago

Added linux support in v1.0.0.