How to Run Linux on an ESP32

  Переглядів 142,244

element14 presents

element14 presents

День тому

Can you run Linux on an ESP32? Until recently, you could just answer "no!" But, in fact, you can run Linux on a specific variant of the ESP32-S3 MCU! Based on this, Clem saw an opportunity to build his own Linux-powered SBC in the form factor of the Raspberry Pi 4 Compute Module.
Along the way, he creates a CM4-style template, a simple command line flashing tool to make the process easier, and two iterations of his module (called Sudosom) that could be used whenever a real Raspberry Pi might be overkill, but a simple MCU just won't cut it for your project.
Discuss the episode, find all resources for the project, and ask Clem questions on the element14 Community! bit.ly/46eU5Nq
element14 Community discussion on using Linux on the ESP32-S3: bit.ly/3rNONtc
Engage with the element14 presents team on the element14 Community - suggest builds, find project files, and see behind the scenes video: bit.ly/3tmdewv
Visit the element14 Community for more great activities and free hardware: bit.ly/3q6YMpu
Tech Spotlights: bit.ly/3qPrDhM
RoadTest and Reviews: bit.ly/3pV5Bux
Project14: bit.ly/31wbnJY
#0:00 Welcome to element14 presents
#0:22 Overview
#2:31 The PCB in KiCAD
#6:15 Assembly
#8:10 Linux
#10:25 Another Iteration??
#15:12 Let's Demo!
#17:09 Give Your Feedback
#esp32 #esp32project #linux #raspberrypi #pcbdesign #pcbdesigning

КОМЕНТАРІ: 344
@MAYERMAKES
@MAYERMAKES 6 місяців тому
So are there any projects you would like to see built running linux on such a cheap tiny mcu? maybe we could make a linux version of the basic badge?
@matthewmcphail7703
@matthewmcphail7703 6 місяців тому
If using an esp32 you can probably add Nicer display to your 328 badge along with wifi and stuff
@MAYERMAKES
@MAYERMAKES 6 місяців тому
​@@matthewmcphail7703probably..but these lcds have a special place in my heart.
@thesebi
@thesebi 6 місяців тому
How about a network print server for 3D printing? Maybe a lightweight alternative to Octoprint?
@Workshopshed
@Workshopshed 6 місяців тому
A light weight NAS, time server, VPN, Ad blocker
@Seu_Lunga
@Seu_Lunga 6 місяців тому
Pi hole!
@Stabby666
@Stabby666 6 місяців тому
If you do another board design I'd suggest adding an SDCard slot to host the /home and /usr dirs to install software, and possibly switch from UART to SPI for communication with the RP2040 as it will be much faster to send graphic commands across (UART has some overhead, and no clock pin, so can desync at high speeds - you could hit 40mhz or so over SPI).
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Good suggestions!
@hclchgm
@hclchgm 6 місяців тому
​@@MAYERMAKES awesome project.
@alexlovett1991
@alexlovett1991 6 місяців тому
Literally came here to say the same thing but with emmc instead!
@EducatedEngineer
@EducatedEngineer 6 місяців тому
This is absolutely amazing! It looks like a ton of fun. Fantastic work 🙌🏻
@MAYERMAKES
@MAYERMAKES 6 місяців тому
thanks!
@andywest5773
@andywest5773 6 місяців тому
I usually choose microcontrollers specifically when I don't want an OS getting in my way... but this is giving me some interesting ideas. Nice!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
its kinda like a forbidden fruit..isn´t it.
@stylesoftware
@stylesoftware 6 місяців тому
Too true. My fav is still the esp32, amazing features, fully arduino-ized. If I have to use an OS, it has to be non-write; Fixing OS type problems.
@jovialcupid9687
@jovialcupid9687 6 місяців тому
U can always use built in os.. freertos
@RobertLeeAtYT
@RobertLeeAtYT 6 місяців тому
This fills a definite niche. The primary advantage of this project is now you have the robust Linux networking stack. Previously, your options would have been FreeRTOS+TCP, LWIP, uIP and similar. They all work, but they’re all very much limited and very compromised.
@aleph_one
@aleph_one День тому
What problem with OS for mcu? It is not necessary to use OS like Linux. Simple OS (FreeRTOS, etc) for mcu very useful too. And maybe you don't know, but when you create new project for ESP32 in some IDE, your project will contain OS like FreeRTOS, and no matter will you use it`s fuctions or not.
@goo3r
@goo3r 6 місяців тому
This is so awesome!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Thx😂
@photocanonn
@photocanonn 6 місяців тому
mind-blowing work bro! amazing!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
thanks
@mmendesrs
@mmendesrs 6 місяців тому
Exciting!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
indeed! imagine all the crazy stuff we could build now!
@DetrasDeUnaLente
@DetrasDeUnaLente 6 місяців тому
This is very cool, and I think it opens up a lot of exciting possibilities! I'd love to see a follow-up video showing how to do stuff like interfacing with the GPIO pins, communicating with other devices via I2C, and doing other traditional microcontroller stuff. I have a couple of questions as a starting point: 1. Would it be possible to run a webserver like lighttpd of Apache on the board? 2. Would applications that require critical timing (like driving WS2812B LEDs) fail miserably?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Webservers and driving serisl leds work very good on esp32 without linux. Ots a very good choice for such applications.
@first-thoughtgiver-of-will2456
@first-thoughtgiver-of-will2456 Місяць тому
this would be awesome to remote update a linux edge application, not to mention all the logging etc for light embedded applications thanks for sharing!!
@MAYERMAKES
@MAYERMAKES Місяць тому
thats agreat idea for an application!
@luciangpl
@luciangpl 6 місяців тому
Having Node-Red running on the ESP32 would be super cool!
@maximus6884
@maximus6884 6 місяців тому
Dude this is amazing
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Thx😂
@gaetanb6296
@gaetanb6296 6 місяців тому
Great discovery thank you!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
you are welcome
@Tarbard
@Tarbard 6 місяців тому
Very cool, I would like to see it used in a project.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Me too😂
@Reza1984_
@Reza1984_ 2 місяці тому
Wonderful work!
@MAYERMAKES
@MAYERMAKES 2 місяці тому
Thx😂
@nafisahmed6247
@nafisahmed6247 6 місяців тому
if USB starts working then it would mean a microcontroller can finally print on an inkjet or a laser printer instead of those thermal printers.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
😂among other things, but drivers also need to be ported
@bastiannenke9613
@bastiannenke9613 6 місяців тому
Since WiFi is working, I think you "only" need to port cups and the printer driver.
@zyeborm
@zyeborm 6 місяців тому
My god, of all the things you want to play with right out of the gate the hell of inkjet printers is what you pick? masochist. Lol it'd literally be easier to put a pen in a 3d printer and spit gcode at it 😂
@nafisahmed6247
@nafisahmed6247 6 місяців тому
@@zyeborm that's because you can't imagine how many requests I get from clients to integrate printers in the controllers I make for industrial purposes. Then I am forced to use a linux SBC to do just that.
@MAYERMAKES
@MAYERMAKES 5 місяців тому
​@@nafisahmed6247that is actually a common request😮
@RohitKumar-ow2zt
@RohitKumar-ow2zt 6 місяців тому
Loved this video 😍😍.. I was looking how boot esp32 with Linux.. Thanks
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Thx😂
@BBRR442
@BBRR442 2 дні тому
wow great work! Thanks for the share. I would of also liked to see the linux do some cool things with the rest of the module and carrier board but oh well maybe on the next video.
@HPTRUE
@HPTRUE 6 місяців тому
Great video, very much fun it looks like 😊😊
@element14presents
@element14presents 6 місяців тому
Thank you 🤗
@ingenierocristian
@ingenierocristian 4 місяці тому
Absolute wonderful! I just can dream on installing an OS on my complex projects! Thanks a lot!
@MAYERMAKES
@MAYERMAKES 4 місяці тому
you are welcome.
@aleph_one
@aleph_one День тому
For Esp32 you may use not only Linux. Simple OS like FreeRTOS very useful too.
@BDJones055
@BDJones055 6 місяців тому
Aw man this would be sick as a webserver with two or three stepper drivers. I'm building a miniature observatory for a small telescope and am using an ESP32 to control it all.
@lostcellphone
@lostcellphone 6 місяців тому
Terrific job 👍
@MAYERMAKES
@MAYERMAKES 6 місяців тому
thanks!
@deterdamel7380
@deterdamel7380 6 місяців тому
Very cool project!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
thanks
@filipstojanovicmechanicale9265
@filipstojanovicmechanicale9265 5 місяців тому
Man..i love this! I would literally try to use this in my IOT projects, where I want to minimize power usage. Microcontroller running some RTOS with some library for Internet protocols is just to complicated to implement, in this case, a MCU that runs Linux would be extremely easier to implement, and power usage would still be in a extremely low ranges. Nice. I like open minded people with ideas like this
@MAYERMAKES
@MAYERMAKES 5 місяців тому
thanks, lets hope the projects takes of!
@lukasheiligenbrunner2272
@lukasheiligenbrunner2272 6 місяців тому
You could port openwrt to run on an ESP32. This would be awesome.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Someone could 😂 I'm not smart enough for that
@ccflan
@ccflan 6 місяців тому
​@@MAYERMAKESif you can share me thr kernel config i might be able able to make xtensa as new build target for openwrt that wil run on initramfs, i would say instead someone could port nl80211 implementation for xtensa instead 😊maybe we can collaborate?
@jerrymagnin4248
@jerrymagnin4248 6 місяців тому
Very cool, and well explained! I was wondering - as you are able to connect to the ESP through SSH - if you can up/download files via SFTP commands?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
take a look at the demo at the end of the video. I connect vias SSH and download stuff from an ftp server via wget so sftp is not far fetched.
@jerrymagnin4248
@jerrymagnin4248 6 місяців тому
@@MAYERMAKES I saw. But if sftp is also supported that would eliminate the step of having to upload first the files to an external server, allowing a direct transfer through SSH connection.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
that should be doable when you compile the kernel from scratch with Rudis script probably @@jerrymagnin4248
@joshmanpro7993
@joshmanpro7993 6 місяців тому
You have an awesome project but one thing I would love to see added to that project is the ability to have a SD card added. Yeah, there are a few ways to do that but having it built into the board design would be awesome. Also, would love to see if you could get the Linux system built for the ESP32 running on the Lilygo T-Deck.
@user-wx1ns5hf3h
@user-wx1ns5hf3h 6 місяців тому
On Linux build u can enable spi supporting on other pins when u compile binary. And enable mountable. Now, your esp32 can see any spi devices(if driver build-in on compilation), and sdcard too! But… Speed of running Linux wants to be better(although it’s just a microcontroller) Sorry for my English. I’m not native speaker
@thilinamedia6910
@thilinamedia6910 6 місяців тому
Subscribed to see more..
@thomasherpoel3132
@thomasherpoel3132 4 місяці тому
For future revisions of your board, I advise looking into proper routing techniques for 4 layers boards. The routing you showed for the first revision wasn't really good, especially for a board with a RF module. Basically choose a good stackup, and think about returns paths for your signals.
@MAYERMAKES
@MAYERMAKES 4 місяці тому
there is for sure a lot to improve about routing, main consideration for now was to get it manufactured in time.
@thomasherpoel3132
@thomasherpoel3132 4 місяці тому
@@MAYERMAKES makes sense. On this topic, Robert Feranec published good interviews of Eric Bogatin and Rick Hartley on UKposts that are a good introduction on the subject.
@ko5t1k
@ko5t1k 6 місяців тому
Thank you for nice video. Do you have any idea about SD card on this board? I am sure that it will open much more options how it can be used
@MAYERMAKES
@MAYERMAKES 6 місяців тому
so far this is in the very early stages so att the moment all htat is working is what you see in the video + some utilities and mircopython.
@mx338
@mx338 6 місяців тому
Getting the lighthttp web server running on this would be amazing.
@CABohol
@CABohol 6 місяців тому
Interesting project 🥂
@MAYERMAKES
@MAYERMAKES 6 місяців тому
thx
@energymarketchile
@energymarketchile 6 місяців тому
What about a WiFi micro repeater, with pi-hole of possible?
@azbesthu
@azbesthu 6 місяців тому
I just got some ESP32-S3 for doing web based wifi serial console for 3d printer usb port. Like MrDIY did with ESP8266, but without soldering to chips, but using the printers usb-serial port through the natíve usb port of ESP32-S3..
@MAYERMAKES
@MAYERMAKES 6 місяців тому
nice project!
@unglaubichuberlieber8048
@unglaubichuberlieber8048 3 місяці тому
THANKS YOUR THANK YOU THANK YOU FOR YOUR GREAT PRESENTATION + MOST OF ALL THE GREAT INSPIRATION !!! NOCHMAL IMMER WEITER !!!
@theengineer9910
@theengineer9910 6 місяців тому
Really impressive. These Software wizards are the types who can get alot of performance out of little hardware.
@aleph_one
@aleph_one День тому
Little hardware... Esp32 in times more powerful than some processors (80386, etc) in old computers.
@FinTra_
@FinTra_ 6 місяців тому
Curl, nginx and php, and c++ dev environment 😊
@barbiani
@barbiani 6 місяців тому
It would be nice to see it merged it with the monolinux project.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
interesting, need to google that
@mx338
@mx338 6 місяців тому
I recently checked out what's in my new IKEA smart home controller and they also run Linux on a tiny STM32.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
must be an stm32mp1 , they recently popped up on various embedded computing modules.
@Tom-tt8hl
@Tom-tt8hl 3 місяці тому
Is there a gcc compiler for this linux esp32?
@olafschermann1592
@olafschermann1592 4 місяці тому
Awesome!
@MAYERMAKES
@MAYERMAKES 4 місяці тому
thx
@jf4958
@jf4958 6 місяців тому
would love to see Home Assitant running on an esp32
@alelondon23
@alelondon23 6 місяців тому
Brilliant! call it Missing Link.
@MrXRes
@MrXRes 6 місяців тому
Smart watch!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
ooooh
@strings219
@strings219 6 місяців тому
Regards to GCC crashing assuming you are using a Ryzen with a lot of cores. If your make -j flags is the same output as nproc. You could be running into a OOM issue or race conditions. I recommend trying with j flag $(nproc) divided by two . this should minimize SMT use and help with RAM. If that doesn't work try a way more conservative -j flag number. And last case try with make -j 1 .
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Indeed its a ryzen 3950x, thanks for the tipps
@jameslamb4573
@jameslamb4573 6 місяців тому
Looking forward to seeing this go further. Does it Python yet?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Micropython is working🎉
@movax20h
@movax20h 5 місяців тому
Normal Python probably not. On my amd64 machine, just starting interpreter of Python, it eats 11MB of memory. (Empty script that just loops, eats 8MB - less than interpreter, because you load few less modules).This ESP32-S3 has like 5MB of free RAM after booting (2MB out of 8MB is used by kernel, plus a bit by shell and libraries, and maybe a daemon or two).
@poisonouswhisper
@poisonouswhisper 6 місяців тому
I don't know if thats even possible but I would love to see nodejs run on it! 😍
@mustafabhadsorawala652
@mustafabhadsorawala652 6 місяців тому
Hey, nice video! What would be the drawbacks of using Linux on ESP32? Are we missing time critical things
@nathanmiddleton1478
@nathanmiddleton1478 3 місяці тому
The S3 varient is a pretty capable microcontroller. IIRC it has dual cores as well. Not to say it'll be running Plasma or Gnome but if you wanted to run simple daemons and that may need to be more than a couple hard-coded things, I think he said this in the beginning, you really couldn't beat something like this. Not that it would be realtime unlesss the load was considerably managed.
@somethingnonsense5389
@somethingnonsense5389 6 місяців тому
just thaught of this one: instead of uploading stuff to a webserver and then using wget, since the OS does ssh, you can use scp (or winscp if you are on windows) to move files to it directly.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
yes scp is also an option, i wanted to show wegt to drive the point home that the internet connection works-
@ErgunKucukkose
@ErgunKucukkose 6 місяців тому
Nice video, can we use sqlite for logging?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
its all a question of software implementation
@x7682
@x7682 3 місяці тому
Nice video. The error you show for compiling means the spaces in you path to the directory are a problem. Rename the directory with spaces in its name. Also, if you have ssh you can copy files with scp.
@IOTConnect
@IOTConnect 6 місяців тому
Can we add SD card support via spi, to expand the file system using overlay file system? It is possible in openwrt on TP link archer c5 router to use usb mass storage as overlay file system.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
its in the plans, certainly doable, just a lot of work
@maximus6884
@maximus6884 6 місяців тому
Wow! I hope we can have a linux distribution to this. Wjere we can install apps via package manager.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
That would be the ideal outcome
@abo1428
@abo1428 6 місяців тому
Just amazing! 😮 Great work! 👏🏻 I‘ll have some free time, I would consider to flash Linux on my ESPs too. Would love to see a second part of this video with working 2040 and HDMI and SATA❤
@MAYERMAKES
@MAYERMAKES 6 місяців тому
😂lets hope i get this working
@wurstelei1356
@wurstelei1356 6 місяців тому
@@MAYERMAKES SATA and HDMI is kinda overkill for a slow chip like that ESP32. Instead I would add a small display directly on the PCB to get something more unique than just another ESP. Maybe a MicroSD slot would be enough, as already suggested by other viewers. I am dreaming of a Pi-CAM-Plug on ESP. For real, I would buy such a thing if it is not too expensive.
@conorstewart2214
@conorstewart2214 6 місяців тому
⁠@@wurstelei1356 you can already get images from a camera and stream it over wifi and it would probably work better without running Linux on it.
@wurstelei1356
@wurstelei1356 6 місяців тому
@@conorstewart2214 Sure thing, but I meant to detect certain colors or pattern without the need to stream it somewhere. Also the cam would just be an additional option like on the Pi. This Video was about Pi-Compatible form factors so a cam slot, Micro SD, USB and some GPIOs came to my mind. Anyway lets hope for some nice updates about this.
@MassimilianoBariola
@MassimilianoBariola 6 місяців тому
this is absolutely awesome! I can see it as a local MQTT broker. Does it also handle ESP-NOW? (If not, I can just use a second ESP32 as bridge I guess)
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Sure you can flash anything on this that is esp32s3 comoat8ble.
@somethingnonsense5389
@somethingnonsense5389 6 місяців тому
this actually would do nice as a DMX controller like an old lanbox LCE box
@MAYERMAKES
@MAYERMAKES 6 місяців тому
oh indeed
@ergindemir7366
@ergindemir7366 6 місяців тому
Well what can you do with it? With 8mb psram your options are very limited. The only viable options are networking products like router, access point, repeater etc based on linux kernel.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Well micropython already works, precompiled code csn be run. So usual automation /control tasks and network related stuff loke webservers come to mind. 😂
@ergindemir7366
@ergindemir7366 6 місяців тому
​@@MAYERMAKES Another idea is to port sqlite server. Best to my knowledge sqlite does not work on freertos. It might be the worlds smallest sql server.
@miko007
@miko007 6 місяців тому
@@ergindemir7366sqlite is a file based database system. there is no such thing like a "sqlite server".
@tejonBiker
@tejonBiker 6 місяців тому
I never think about reporpuse the I/O Board of CM4, I think Is a nice idea, I think pseudo gpu rp2040 can be a nice adition but needs a ton of code to come true
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Yes.. that project will haunt me for a while
@marcello4258
@marcello4258 6 місяців тому
Sd card and have it as a very transportable backup / storage up to 1Tb would be probably id use it for ;-)
@MAYERMAKES
@MAYERMAKES 6 місяців тому
doing basic file tasks in embedded systems might be a good application
@justinmcneice8238
@justinmcneice8238 6 місяців тому
Would use it for mav link and create an auto pilot I've got loads in mind
@D9ID9I
@D9ID9I 6 місяців тому
Would be fun to see klipper3d running on it
@frankfilter
@frankfilter 3 місяці тому
High, very great, may be it's possible to add SD-Card and boot from SD-Card ?
@MAYERMAKES
@MAYERMAKES 3 місяці тому
possibly as storage, but boot happens from internal rom at this point
@platin2148
@platin2148 6 місяців тому
I guess one would need a abi using compiler? Because the default one will not compile correct elf’s i would guess.
@regisdixit
@regisdixit 6 місяців тому
You are using an S3 mobo, but would this also work on a prefab S2 mobo like NodeMCU32S? I never even thought of running linux on ESP32 - this is amazing.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
No, you need an esp32-s3-n8r8 or n16r8
@thomasschmidt1273
@thomasschmidt1273 6 місяців тому
yes giv me more...😮🤯
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Follow the link below...there is more
@shmulikdermer4534
@shmulikdermer4534 Місяць тому
Wow this is amazing can you run on this device node js and express???
@MAYERMAKES
@MAYERMAKES Місяць тому
if someone ports ist possibly
@nuclearnyanboi
@nuclearnyanboi 6 місяців тому
omgomgomg I just realize your channel's name means Silicon 😅
@MAYERMAKES
@MAYERMAKES 6 місяців тому
🎉it does🎉
@vlad-n-ag
@vlad-n-ag 5 місяців тому
Great. It seems to me that such a board does not need a graphical interface. SSH access is sufficient. Application - easy integration of your devices into your home network and management using such convenient things as python, bash, etc.
@MAYERMAKES
@MAYERMAKES 5 місяців тому
Jep, works well without any graphics, but woukd be a cool addon.
@le9038
@le9038 6 місяців тому
If you were to run Xorg or Wayland on the ESP32, how much would it choke up trying to run a desktop?
@miko007
@miko007 6 місяців тому
xorg alone requires at minimum four times the memory the esp provides. wayland is just an api description. it is not a software you can actually run.
@dineshvyas
@dineshvyas 6 місяців тому
This has potential to become a new RT linux for DIY CNC and robots. It needs a display to take input on output.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
hehe, yep take a close gander on the v2 pcb.....
@carlschmidt8134
@carlschmidt8134 6 місяців тому
How could linux fit on that ESP, since its flash size only has a few megabytes. Or in other words: Is there a SDCard or other Flash module to expand the stock storage of the ESP, or is there a plan/way to do so?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
the linux kernel fits on the 8MB flash of the esp32-s3-n8r8, in the vide i use an esp32-s3-N16R8 but ionly the 8Mb are adressed in the firmware. of course there are plans for sd and usb storage expansions in the future.
@johntilghman
@johntilghman 6 місяців тому
This is very cool. I wonder if it would run ROS for robots.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
i dont know if ros has any architecture dependent components but with custom flash(for more space/ and ram it might be possible.
@jovialcupid9687
@jovialcupid9687 6 місяців тому
Ros in freertos (esp32 os) was ported as micro-ros So it will be pretty easy to use it
@coolguy8709
@coolguy8709 Місяць тому
Can you set up ps vita dock with that?
@seanperez1210
@seanperez1210 4 місяці тому
Don’t the S3 ULP have a dual mode that alow the ULP to act like a state machine ( similar to PIO) ?
@MAYERMAKES
@MAYERMAKES 4 місяці тому
not in the same capacity and speed. the PIO is quite unique
@sjoervanderploeg4340
@sjoervanderploeg4340 3 місяці тому
Can't you use a microSD card over SPI on Linux?
@philippw.147
@philippw.147 6 місяців тому
Is ReverseSSH working on that? Would be awesome 😁💯
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Ssh works in both directions
@SoundsLikeOdie
@SoundsLikeOdie 6 місяців тому
Novice question. Can existing packages like Node-red be ported into the device? Is there or will there be repositories? I assume Node-red would need more resources then the ESP can offer. This is the first video of yours I have watched. Great content.
@movax20h
@movax20h 5 місяців тому
I think Node-red will not work because of memory being way too small. You could compile it, but installation will probably not fit, plus there will be only about 5MB of free RAM to run anything. There are some other issues, but that would be the main one.
@DmC944
@DmC944 6 місяців тому
8:25 That does not sound like a software issue ... more likely thermals or power supply... One thing might be using `make -j` with no arguments (that will attempt to build too many stuff concurrently) or too high of a value for your system (RAM, or core counts)?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
all possible, I did not have the time to look more into that .but its a ryzen 3950x and it seems to try to do to much at once. so its worth trying that again with some arguments.
@Seu_Lunga
@Seu_Lunga 6 місяців тому
I'm not good at listening, so I don't get if we need to use this board and solder an esp on it, or we can use some comercial dev kits found on stores?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
just to run linux you could also use an esp32-s3 devkit, but it has to be one with at least 8MB of PSRAM, but the binaries also need to fit that version. the board I made ia basically an application of the concept and putting it already a step forwards towards embedded computing in a popular form factor.
@Seu_Lunga
@Seu_Lunga 6 місяців тому
@@MAYERMAKES how do I check the psram of a board/devkit?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
The model number should inficate it. N = flash , R= ram . N16R8 = 16mb glash +8mb ram
@edenrose2374
@edenrose2374 6 місяців тому
I hope to see this fleshed out more and used in interesting ways. I prefer a OS for increased functionality, debugging and memory management. I hope to see this keep moving forward with help from the greater community!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
😂i do so to! Heeeeelp
@jovialcupid9687
@jovialcupid9687 6 місяців тому
Then... use OS that is already built in esp32? It's named freertos - memory menagment, tasks, cores and much more.. Using Linux will only make it slower and harder to debug
@jovialcupid9687
@jovialcupid9687 6 місяців тому
If u will google it, always google it as "freertos esp32", because there is also vanilla freertos that was made only for one core
@conorstewart2214
@conorstewart2214 6 місяців тому
You can already do all the things you described without using Linux on it. You can debug an ESP32S3 over USB and they usually run freeRTOS anyway which lets you make tasks, interrupts, manage memory, etc. If you think you want an OS on a microcontroller for extra functionality, debugging and memory management then you don’t really know how to use an MCU, you are just trying to use it like a full computer.
@cooper1056
@cooper1056 2 місяці тому
You did this yourself? Or you had a team ? Just curious about peoples workflow.
@clemensmayer9171
@clemensmayer9171 2 місяці тому
I did the Hardware shown in the video and the Flash script, the linux port was done by the other people mentioned in the video. btw. prpject is still running!
@LAZARbq
@LAZARbq 6 місяців тому
klipper (3d printer) in esp32
@Hukkinen
@Hukkinen 3 місяці тому
File server and mass storage device
@aramgomezneri6490
@aramgomezneri6490 6 місяців тому
I would like to know if it is possible to put an ethernet port in this PCB project. Thanks a lot.
@MAYERMAKES
@MAYERMAKES 6 місяців тому
well if you add an ethernet bridge IC to the esp, but for that first the usb host modes should be implemented.
@FoxMccloud42
@FoxMccloud42 6 місяців тому
Would be funny to run the host version of klipper on it with another esp32 runnign the mcu part (esp-inception).
@MAYERMAKES
@MAYERMAKES 6 місяців тому
nice idea, but maybe needs a custom Esp32-S3 implementation with more ram and bigger flash!
@reinholdu9909
@reinholdu9909 6 місяців тому
@@MAYERMAKES _ISSI_ has 32Mb Serial selfrefresh DRAM available ...should suffice ;) - *NO?*
@conorstewart2214
@conorstewart2214 6 місяців тому
@@reinholdu9909 32 Mb is only 4 MB, which is below the minimum requirements for running Linux, they say it needs at least 8 MB of PSRAM.
@pg6525
@pg6525 6 місяців тому
Wemo mini D1 no?
@TT-it9gg
@TT-it9gg 6 місяців тому
Excellent! Many new SoC are far behind on the software. The have no WiFi SSH...
@MAYERMAKES
@MAYERMAKES 6 місяців тому
😮
@kitesforfuture577
@kitesforfuture577 4 місяці тому
So you could use an ESP32-S3 to flash new firmware onto several other ESP32s that are connected via USB? I.e. use it as a fail-proof OTA-updater which itself does not update.
@MAYERMAKES
@MAYERMAKES 4 місяці тому
well I dont know if esptool.py is runnable on the eps32s3 but in theory yes, you might get better results with writing a dedicated flasher programm
@mjp0815
@mjp0815 2 місяці тому
Run mosquito or node red?
@PaulSpades
@PaulSpades 6 місяців тому
ohhh, no. the esp32 s3 can now run php. and bash script. and perl. well, if they're compiled for the funky esspressif core architecture. what have you done?
@acidutzu
@acidutzu 6 місяців тому
How about putting this Linux on the TTGO, or FabGL ESP32 board, that has VGA, SD card, PS/2 mouse and keyboard and audio out?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
the fabGl board is not compatible, you need an esp32-s3-n8r8 to run linux
@Megamannen
@Megamannen 6 місяців тому
You know that if you an SSH server on the board you can probably transfer files to the board with either scp or sftp
@MAYERMAKES
@MAYERMAKES 6 місяців тому
yeah, but that also requires those packages to be present. scp is, sftp is not.
@ichbinyannick
@ichbinyannick 6 місяців тому
Does it run k8s? :0 This would be the ultimate edge device!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
Not yet...but maybe that would be possible one day
@sjoervanderploeg4340
@sjoervanderploeg4340 3 місяці тому
If your PC shuts off during compilation, you do not have a dependency problem... there is either something overheating or not getting enough power in your computer!
@Quizzer11
@Quizzer11 6 місяців тому
i am interested in running python /QT Software on a soc. but all socs are way to slow in booting. does anyone know an alternative to run python especially as an obd connected dashboard in the car.
@MAYERMAKES
@MAYERMAKES 5 місяців тому
you can directly run micropython on esp32, as long as the code does not use any python exclusive libs you cant rewrtite for upython it should do waht you need.
@bald_engineer
@bald_engineer 6 місяців тому
Hey wait a minute. USB Host isn’t working? Forget it. Thumbs down. Unsubscribe. Kidding, of course. That is an awesome amount of work both on your part and the software side. I can see this becoming a good option (especially when prototyping) between a SBC and a Microcontroller running a RTOS. Great Job!
@MAYERMAKES
@MAYERMAKES 6 місяців тому
I jope the usb gets soon implemented , whrn that hapoens skies are no longer limits
@bald_engineer
@bald_engineer 6 місяців тому
@@MAYERMAKES With microcontrollers getting faster with more RAM and software engineers getting more clever, it is only a matter of time. Probably a short matter too.
@WeeSooKANG
@WeeSooKANG 6 місяців тому
ESP32-CAM board (using ESP32-S chip) has a microSD slot (supporting up to 4GB), FPC connector for camera, flash LED, and 8MB PSRAM. Can it also run Linux?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
only if it uses the ESp32-s3.
@kisahinspiratif007
@kisahinspiratif007 6 місяців тому
Can all types of ESP32 be installed on Linux? and whether windows can also be installed on esp32
@MAYERMAKES
@MAYERMAKES 6 місяців тому
No so far only , s3 with min 8mb of psram.
@conorstewart2214
@conorstewart2214 6 місяців тому
You can’t just take any OS and put it on, it needs to be ported over. With windows that would require Microsoft to create a version for the ESP32 which just isn’t going to happen. The performance of an ESP32 doesn’t even compare to modern CPUs, it is just a microcontroller.
@Bigman74066
@Bigman74066 3 місяці тому
Personally I would be very happy if I could run free Pascal on it or at least cross compilation.
@roaridse
@roaridse 6 місяців тому
Would tailscale fit on this system?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
dont know that software but space is limited, with added storage and ram maybe.
@der.Schtefan
@der.Schtefan 6 місяців тому
If ssh works, then scp would be much easier to copy files? Or even mounting the remote as ssh-fs directory?
@MAYERMAKES
@MAYERMAKES 6 місяців тому
scp is there. i love how everyoen is pointing that out, but nobody notices how i want to show of my fancy new ftp server... ;-) i wanted to deliver unrefutable proof it is connected to the internet not just my local network..but yeah scp....
I made a VGA card that blew my mind
15:44
bitluni
Переглядів 413 тис.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Переглядів 96 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 1,7 млн
🐩🐕
00:25
Янчик
Переглядів 1,9 млн
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 2,4 млн
Run Linux on ESP32 - how to run the Linux kernel on an ESP32
19:53
Tam Hanna
Переглядів 53 тис.
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Переглядів 330 тис.
Unleashing the $10 Tech Revolution: Milk-V Duo S Rocks the Linux World!
26:35
Technically Unsure
Переглядів 34 тис.
BeagleV-Fire Unboxing - Running Linux 6.1 Kernel on RISC-V!
31:47
Platima Tinkers
Переглядів 8 тис.
Minimalist Microcontroller: Building a Bare-Bones Dev Board
9:15
atomic14
Переглядів 100 тис.
Making the most EQUIPPED DIY Security Camera with ESP32-CAM
26:36
Max Imagination
Переглядів 320 тис.
CP/M on an ESP32
13:57
Doug Wong
Переглядів 4,2 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Zach of All Trades
Переглядів 19 тис.
Slackware Linux on a 386sx40
27:27
RetroSpector78
Переглядів 184 тис.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Переглядів 943 тис.
МОЙ ПЕРВЫЙ ТЕЛЕФОН - Sony Erricson T280i
18:02
ЗЕ МАККЕРС
Переглядів 53 тис.
Как установить Windows 10/11?
0:56
Construct PC
Переглядів 532 тис.
All New Atlas | Boston Dynamics
0:40
Boston Dynamics
Переглядів 4,9 млн