Live data from Hacker News

Linux on ESP32

github.com

41–50 of 53 posts

Re: Linux on ESP32

#41

>Espressif's radio firmware blobs are closed source, and must run within ESP-IDF's FreeRTOS framework. It's near impossible to reverse-engineer them (not to mention legal risks.) It's not nearly impossible, it has already been done :) Slides: https://fahrplan.events.ccc.de/congress/2024/fahrplan/media/... Video: https://www.youtube.com/watch?v=r8IqkUTGjlA

It is for the older original esp32, not for this port which is esp32-s31. Their radio are drastically different. Also their reverse engineered firmware are incomplete so esp-hosted remains the best choice for now.

Re: Linux on ESP32

#42

> 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?

There are other ports that uses newer kernels (iirc annoyedmilk/esp32-s31-linux used 7.1). XIP saves me RAM, and on a device with 16mib ram I need to squeeze as much ram as possible. Besides I couldn't think of any use cases where you really need a newer kernel

Re: Linux on ESP32

#43
post #19

The responses all seem a little harsh. If you poke through the user's history, this kind of thing isn't new for them, going back to pre-LLM-could-do-this days. I think the docs are light because the primary goal for them is not to provide everyone with a well documented linux on esp-32-s31 guide, but rather this that they shared: "I'm currently working on a hackable music player and I used to prototype with the OG es…

There isn't much interesting about a rocket engine other than it's rocket science and it's awesome if it works. A basic mockup of one is in PrusaSlicer sample files.

Re: Linux on ESP32

#44

Earlier quoted context omitted.

The news is: vibe coder vibe coded this and got their agents to upvote it.

For a worthy goal .. linux on esp would be a game changer for iot imho

For whom? There are already plenty of POSIX options, and with business friendly licenses.

Re: Linux on ESP32

#46
post #19

The responses all seem a little harsh. If you poke through the user's history, this kind of thing isn't new for them, going back to pre-LLM-could-do-this days. I think the docs are light because the primary goal for them is not to provide everyone with a well documented linux on esp-32-s31 guide, but rather this that they shared: "I'm currently working on a hackable music player and I used to prototype with the OG es…

> If you poke through the user's history, this kind of thing isn't new for them, going back to pre-LLM-could-do-this days. Is there another set of comments or history I should be looking at? The only pre-LLM comment is about doing a prototype for something with the old ESP32. That was a common hobby microcontroller introductory project, but there’s a world of difference between playing with an OG ESP32 and porting MM…

Honestly, why do you care so much if AI was used?

Assuming he did use AI, it didn't spontaneously generate the project and foist it upon the user and the world; the user used the AI to generate the project at his direction.

It's like the old friend when I decided I didn't care for wearing a full beard in July and got really angry with me about it when I shaved -- not my friend anymore.

Dont like the project? move along.

Otherwise, why are you wasting your energy to put down this hardwork?

Re: Linux on ESP32

#47
post #19

The responses all seem a little harsh. If you poke through the user's history, this kind of thing isn't new for them, going back to pre-LLM-could-do-this days. I think the docs are light because the primary goal for them is not to provide everyone with a well documented linux on esp-32-s31 guide, but rather this that they shared: "I'm currently working on a hackable music player and I used to prototype with the OG es…

It takes no effort to play LLM or not, you don't need to know anything about the topic or put anytime into reading and understanding the submission, just find that em-dash and you can turn every discussion into meta slop.

This is a common misconception among those who nothing about AI

Re: Linux on ESP32

#48

Earlier quoted context omitted.

> If you poke through the user's history, this kind of thing isn't new for them, going back to pre-LLM-could-do-this days. Is there another set of comments or history I should be looking at? The only pre-LLM comment is about doing a prototype for something with the old ESP32. That was a common hobby microcontroller introductory project, but there’s a world of difference between playing with an OG ESP32 and porting MM…

Honestly, why do you care so much if AI was used? Assuming he did use AI, it didn't spontaneously generate the project and foist it upon the user and the world; the user used the AI to generate the project at his direction. It's like the old friend when I decided I didn't care for wearing a full beard in July and got really angry with me about it when I shaved -- not my friend anymore. Dont like the project? move alo…

[dead]

Re: Linux on ESP32

#49
post #29
post #23

Earlier quoted context omitted.

The documentation states: > Compliant with RISC-V Sv32 virtual memory scheme https://documentation.espressif.com/esp32-s31_datasheet_en.p...

Ok, I see. The S3’s "MMU" is just an external-memory mapper, not a virtual-memory MMU. The S31 apparently has both, that mapper plus an architectural CPU-side Sv32 MMU; that offers indeed a lot of interesting possibilities. Even sel4 would run on this machine as it seems. The ARM world has no microcontroller with a true MMU as far as I know. Risc-V now has at least two (here is the other one: https://www.bunniestudio…

Cortex-R82 may be the only microcontroller-class ARM core with MMU, but there are few chance for a random dev to develop on them.

Re: Linux on ESP32

#50

Looks interesting but wouldn't something like netBSD be a better fit?

Most ESP chips use FreeRTOS, and flash page caching support in hardware. Unlike Multi-core Application processors which are a better fit for OS like BSD or Linux. =3

Good to know.
Post reply on HN