Linux on ESP32
github.com
Linux on ESP32
1–10 of 53 posts
Re: Linux on ESP32
#2Have a try.
Re: Linux on ESP32
#3How can it run when there is no MMU? Isn't this like rewriting a large part of the kernel?
Re: Linux on ESP32
#4> In mainline linux, XIP support on RISC-V was removed, so 6.12 was used instead which has proper XIP support.
Doesn't that put it in an awkward position relying on a dead end feature?
Re: Linux on ESP32
#5How can it run when there is no MMU? Isn't this like rewriting a large part of the kernel?
There is actually precedent for nommu Linux, though it obviously has tradeoffs.
Re: Linux on ESP32
#6How can it run when there is no MMU? Isn't this like rewriting a large part of the kernel?
This is for the recently released ESP32-S31 which does have a MMU, unlike the ESP32-S3.
The author has more details in this reddit post: https://eddrit.com/r/esp32/comments/1vait52/mmu_linux_on_the... And the docs section of the repo: https://github.com/GrieferPig/esp32-s31-linux/tree/main/docs...
Re: Linux on ESP32
#7Everything is untested or WIP. What is the news here, sorry?
Re: Linux on ESP32
#8Everything is untested or WIP. What is the news here, sorry?
The news is: vibe coder vibe coded this and got their agents to upvote it.
Re: Linux on ESP32
#9> In mainline linux, XIP support on RISC-V was removed, so 6.12 was used instead which has proper XIP support. Doesn't that put it in an awkward position relying on a dead end feature?
What I remember was they said it could come back if people needed it but it was broken for looking (months, years) at a time. So even if they didn't remove it, 6.12 might be the last working version with it anyway
Re: Linux on ESP32
#10Looks interesting but wouldn't something like netBSD be a better fit?