Run linux on the ESP32?

mharizanov
Posts: 5
Joined: Tue Dec 15, 2015 8:26 am

Re: Run linux on the ESP32?

Postby mharizanov » Wed Dec 04, 2019 1:02 pm

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+

ESP_Sprite
Posts: 3937
Joined: Thu Nov 26, 2015 4:08 am

Re: Run linux on the ESP32?

Postby ESP_Sprite » Thu Dec 05, 2019 1:04 am

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.

winter
Posts: 3
Joined: Tue Dec 03, 2019 8:30 pm

Re: Run linux on the ESP32?

Postby winter » Fri Dec 06, 2019 7:28 pm

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?

User avatar
rudi ;-)
Posts: 1517
Joined: Fri Nov 13, 2015 3:25 pm

Run linux on the ESP32 (Linux 5.5-rc1)

Postby rudi ;-) » Thu Dec 12, 2019 4:19 pm

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 3622 times
 

add support for execute in place (XIP) kernels

 

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

mikronauts
Posts: 23
Joined: Wed Dec 09, 2015 8:11 pm

Re: Run linux on the ESP32?

Postby mikronauts » Fri Dec 13, 2019 5:25 pm

Take a look at Minix it should fit and does not need an mmu.

copercini
Posts: 23
Joined: Wed Dec 21, 2016 4:44 pm

Re: Run linux on the ESP32?

Postby copercini » Sat Mar 07, 2020 6:45 pm

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

PeterR
Posts: 513
Joined: Mon Jun 04, 2018 2:47 pm

Re: Run linux on the ESP32?

Postby PeterR » Mon Mar 09, 2020 1:22 am

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).
& I also believe that IDF CAN should be fixed.

Who is online

Users browsing this forum: Baidu [Spider] and 29 guests