Re:Linux running on RISC-V emulated in Scratch
by mandarlimaye on Sunday October 29, 2023 @10:38AM
(#38059016)
This should be illegal! This person could have cured cancer if they weren't building this kind of shit. (Only half joking)
[ Parent
| on HN ]
Re:Linux running on RISC-V emulated in Scratch
by IshKebab on Sunday October 29, 2023 @02:09PM
(#38061093)
It's really not very difficult to do this. RISC-V is deliberately quite a simple ISA. The Sail model for it is only a few thousand lines of code, and you don't need remotely that much to run Linux if you compile for a limited target ISA (no floating point, etc.).