cnlohr / mini-rv32ima

A tiny C header-only risc-v emulator.
MIT License
1.69k stars 137 forks source link

I Made it! esp32c3 can run linux with this wonderful emulator #30

Closed xhackerustc closed 1 year ago

xhackerustc commented 1 year ago

Hi cnlohr,

I achieved your goal: "Imagine if we could run Linux on the $1 ESP32-C3"

https://github.com/xhackerustc/uc-rv32ima

And thank you again for this wonderful project

cnlohr commented 1 year ago

I am super curious - your video isn't playable! I want to see it.

Side-note: Why do you need the emulator? With PSRAM, the C3 should be capable of booting it outright, no?

cnlohr commented 1 year ago

I am still very excite to see the video.

xhackerustc commented 1 year ago

Hi,

Glad to know you are interested in it. The reason I still need the emulator is C3 can't execute code from PSRAM as S2/S3 does.

PS: I updated the video.

Thanks

cnlohr commented 1 year ago

OH NO!!! I didn't know that. That is suuuuch a bummer. :( I Wonder if the C6 has hope.

Should I close the issue now?

xhackerustc commented 1 year ago

hmm, I think it's better if I said like this: "The reason I still need the emulator is I can't make ESP32C3 directly execute code from PSRAM as S2/S3 does", may someone, especially Espressif knows the details, I will ask a query in esp-idf github proj home.

Sure you can close the issue now. Thank you again for your great project.

cnlohr commented 1 year ago

This is still very cool. And congrats on getting the HackADay mention!

raspiduino commented 1 year ago

This motivate me to continue debugging my port of mini-rv32ima on Arduino. Thanks man. Really cool

ElectroBoy404NotFound commented 1 year ago

@raspiduino Hey, it's cool that you are doing it on an arduino! Mind sharing the code?

raspiduino commented 1 year ago

@raspiduino Hey, it's cool that you are doing it on an arduino! Mind sharing the code?

Yes https://github.com/raspiduino/arv32-opt

ElectroBoy404NotFound commented 1 year ago

@raspiduino Hey, it's cool that you are doing it on an arduino! Mind sharing the code?

Yes https://github.com/raspiduino/arv32-opt

Wow... Finally. After months :face_palm: