Page 2 of 2

Re: Run linux on the ESP32?

Posted: Wed Dec 04, 2019 1:02 pm
by mharizanov
Actually there is already an ESP32 linux port, it was announced here: https://www.reddit.com/r/esp32/comments ... ime_video/
It is far from practical, but cool factor is A+

Re: Run linux on the ESP32?

Posted: Thu Dec 05, 2019 1:04 am
by ESP_Sprite
FWIW, that is not a port, that is an Arm emulator that boots a more-or-less stock Linux kernel. It's an interesting proof of concept, but not something that I'd expect to blossom into something useful.

Re: Run linux on the ESP32?

Posted: Fri Dec 06, 2019 7:28 pm
by winter
kolban wrote:
Fri Aug 10, 2018 2:45 pm
You'd be stretching yourself to thin in doing so, not to mention what real gain would you get by doing so.
Bragging rights?

Run linux on the ESP32 (Linux 5.5-rc1)

Posted: Thu Dec 12, 2019 4:19 pm
by rudi ;-)
hi

Linux 5.5-rc1

Just in time there is a work on RC1 ..
by Max Filippov : "Xtensa updates"
 

kernel git torvalds linux git - Linux kernel source tree.png
kernel git torvalds linux git - Linux kernel source tree.png (56.35 KiB) Viewed 3623 times
 

add support for execute in place (XIP) kernels

 

best wishes
rudi ;-)

Re: Run linux on the ESP32?

Posted: Fri Dec 13, 2019 5:25 pm
by mikronauts
Take a look at Minix it should fit and does not need an mmu.

Re: Run linux on the ESP32?

Posted: Sat Mar 07, 2020 6:45 pm
by copercini
There is a curious branch in official linux-xtensa repo, called xtensa-5.6-esp32 with the following description:
Configured with FLASH and PSRAM it is capable of running noMMU Linux

it's here: https://github.com/jcmvbkbc/linux-xtens ... af8a5d20aa

Re: Run linux on the ESP32?

Posted: Mon Mar 09, 2020 1:22 am
by PeterR
Call me a philistine but I don't see this as achieving a practical benefit.
The ESP is RAM (and also ROM) constrained which end up becoming CPU bound. Cannot see adding a (larger) linux stack as helping.
Even with dual SPI we end up with 20MB/S or 5MHz CPU out of cache worse case.
I think the reality is that ESP needs a tight stack. I am somewhat amazed over ESP's approach e.g. linux style I2C driver given the processor's constraints.
I would better appreciate a FatFs which does not steal 10KB (and/or better documentation/defaults).