https://www.cnx-software.com/2021/07/18/linux-5-0-esp32-processor/ Skip to content CNX Software - Embedded Systems NewsCNX Software - Embedded Systems News CNX Software - Embedded Systems News News, Tutorials, Reviews, and How-Tos related to Embedded Linux and Android, Raspberry Pi, Arduino, ESP8266/ESP32, Development Boards, SBC's, TV Boxes, Mini PCs, etc.. Wisblock Modular IoT systemWisblock Modular IoT system Menu * About + About CNX Software + Contact Us + Advertisement & Consulting Services + Work for Us + Support CNX Software + Privacy Policy * Development Kits + x86 & Arm Linux Development Boards + MCU Development Kits + Hackable Gadgets + My Hardware * How-Tos & Tutorials + Embedded Linux Development + Technical Glossary + AllWinner How-tos + AMLogic How-tos + Android How-tos + Automation & IoT How-tos + Freescale/ NXP i.MX How-tos + Raspberry Pi How-tos + Rockchip How-tos * Reviews * Shop + Buy Review Samples + Coupon Codes & Promos + Recommended Products Posted on July 18, 2021July 19, 2021 by Jean-Luc Aufranc (CNXSoft) - 9 Comments on Linux 5.0 shown to boot on ESP32 processor Linux 5.0 shown to boot on ESP32 processor ESP32 IoT processor supports up to 8MB PSRAM which makes it just enough to run a minimal version of Linux. There's little practical application for it, but it may be fun to try, and one developer apparently managed to boot Linux 5.0.0 on a board with an ESP32 dual-core Xtensa processor connected to 8MB PSRAM and a 2MB SPI flash. Linux ESP32Linux ESP32 The shortened boot log above shown the bootloader output with ESP32-D0WD dual-core Xtensa processor eventually booting Linux 5.0.0. But the boot process is somewhat convoluted as the bootloader jumps to "Juice Vm" described as a "small RISC-V virtual machine" which then calls OpenSBI RISC-V Open Source Supervisor Binary Interface which loads the Linux kernel and a small file system. The full boot log and binary images were shared on a Reddit thread and Whycan with the latter in Chinese. The total image size is around 1.5 MB that almost entirely fills the 2MB flash used in the board used for testing. SPI and UART interfaces are clearly supported, but they don't seem to boot to a serial console just yet. Good luck finding out what to do with the two binary images provided, as there's no explanation at all of all this all works. It's quite confusing, and initially, I even thought it showed Linux booting on ESP32-C3 RISC-V processor since Juice VM is a RISC-V virtual machine which, as a side note, can also be used to boot FreeRTOS, RT-Thread, and other OS. But I was eventually told JuiceVm rv64 virtual machine had been ported to the ESP-IDF with support for ESP32, ESP32-S2, and ESP32-C3. Note it's not the first time somebody runs Linux on ESP32, as last year the older Ubuntu 9.04 was demonstrated on ESP32. jean-luc aufranc cnxsoftjean-luc aufranc cnxsoft Jean-Luc Aufranc (CNXSoft) Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. * AMD Athlon 300U powered AM02 Mini PC goes for $240 and up * ROCK 3A SBC brings M.2 slots for NVMe SSD, WiFi 6 to Raspberry Pi form factor * Linux 5.0 shown to boot on ESP32 processor Set your Author Custom HTML Tab Content on your Profile page Share this: Support CNX Software! Donate via PayPal or cryptocurrencies, become a Patron on Patreon, or buy review samples Tagsesp32, Linux Related posts: 1. Year 2017 in Review, Top 10 Posts, and Some Fun Stats 2. Pockit modular Linux computer takes hot plugging magnetic blocks 3. Getting Started with MicroPython on ESP32 - Hello World, GPIO, and WiFi 4. Giveaway Week Winners - November 2017 5. Giveaway Week Winners - November 2018 Connect with: FacebookFacebook GoogleGoogle TwitterTwitter Subscribe Login Notify of [new follow-up comments ] [ ] [>] guestguest Label [ ] {} [+] [ ] [ ] Name* [ ] Email* [ ] Website [ ] I agree to the Privacy Policy The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment. [ ] [Post Comment] guestguest Label [ ] {} [+] [ ] [ ] Name* [ ] Email* [ ] Website [ ] I agree to the Privacy Policy The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment. [ ] [Post Comment] 9 Comments oldest newest BrianBrian Brian 1 day ago The SPI PSRAM on ESP32 is super slow, I dread to think how long this boot took (at least several minutes I would imagine) Reply juiceRvjuiceRv juiceRv 14 hours ago Brian Uploaded the runtime video to youtube URL:https://youtu.be/w9UlZIYZtwI Reply Jean-Luc Aufranc (CNXSoft)Jean-Luc Aufranc (CNXSoft) Author Jean-Luc Aufranc (CNXSoft) 13 hours ago juiceRv So about 6 minutes until the hello world program runs. Reply willywilly willy 1 day ago My understanding from the full dump is that it's JuiceVM that was ported to ESP32, and that it boots a RISCV kernel under emulation. Finally not much different from my ESP8266 that emulates a Z80 and runs CP/M Reply willywilly willy 1 day ago willy By the way the kernel image booted above seems to be the same as the one booted as an example of Juice VM images, look at the last dump in the readme there: https://github.com/juiceRv/JuiceVm Reply ChrisChris Chris 1 day ago I'm no virtual machine or emulator expert but wouldn't it make more sense to virtualize an RV32 CPU? Reply nuhanuha nuha 22 hours ago remind of of someone run linux on top atmega Reply Philipp BlumPhilipp Blum Philipp Blum 19 hours ago Some people have too much time Reply Arnd BergmannArnd Bergmann Arnd Bergmann 9 hours ago It's also been possible for a while to boot native xtensa nommu linux on the esp32: https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-5.6-esp32 However, this has never been upstreamed. Reply Advertisements Post navigation Previous PostPrevious The first Arm SystemReady IR certified platforms - NXP i.MX 8M Mini EVK & Compulab IOT-GATE-IMX8 gateway Next PostNext WARP-V: A RISC-V CPU Core Generator Supporting MIPS ISA Search for:[ ]Search Button IPI SMARC i.MX8M PlusIPI SMARC i.MX8M Plus Trending Posts - Last 7 Days * Linux 5.0 shown to boot on ESP32 processor 22.7k views | 9 comments * Nokia E63 phone converted into LoRa messenger for secure, off-the-grid communication 16k views | 0 comments * DIY Raspberry Pi 4 mini server includes UPS and OLED information display 6.9k views | 1 comment * ESP32-C3 board comes with 16340 battery holder, Mini D1 compatibility 5.4k views | 8 comments * ROCK 3A SBC brings M.2 slots for NVMe SSD, WiFi 6 to Raspberry Pi form factor 5.2k views | 31 comments SPONSORS Gateworks rugged industrial IoT SBCGateworks rugged industrial IoT SBC UGOOS products 2021UGOOS products 2021 RK3399Pro SBCRK3399Pro SBC DS03 digital signageDS03 digital signage Station M2 Geek ComputerStation M2 Geek Computer Advertisements Recent Comments * Willy on Station M2 business-card sized Android 11 mini PC, also supports Ubuntu & Buildroot * itchy n scratchy on ROCK 3A SBC brings M.2 slots for NVMe SSD, WiFi 6 to Raspberry Pi form factor * Willy on Station M2 business-card sized Android 11 mini PC, also supports Ubuntu & Buildroot * Whiterat on ROCK 3A SBC brings M.2 slots for NVMe SSD, WiFi 6 to Raspberry Pi form factor * Mark on ROCK 3A SBC brings M.2 slots for NVMe SSD, WiFi 6 to Raspberry Pi form factor Subscribe to Comments RSS Feed Advertisements Latest Reviews * CNX Laser EngravingCNX Laser EngravingLaser focusing on Laser Master 2 Pro and optimal line spacing Karl Here. I am going to break up the review process for the Ortur Laser Master 2 Pro (LM2Pro) into smaller [...] * Raspad 3 reviewRaspad 3 reviewRasPad 3 Review - Part 2: A Raspberry Pi 4 mini PC with integrated display I started RasPad 3 review last week with an unboxing of the tablet shell for Raspberry Pi 4, together with [...] * GMK NucBox Power AdapterGMK NucBox Power AdapterGMK NucBox Review - A palm-sized Windows 10 mini PC GMK released their diminutive mini PC called the NucBox a while ago however they have recently updated the [...] Change Ad Consent Do not sell my data Follow CNX Software on Google NewsFollow CNX Software on Google News Subscribe to CNX Software by email [ ] Subscribe Copyright 2021 - CNX Software Limited Privacy Policy Proudly powered by WordPress This website uses cookies to improve your experience. We'll assume you're ok with this, but if you don't like these, you can remove them Accept Privacy & Cookies Policy Close Privacy Overview This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience. Necessary [*] Necessary Always Enabled Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information. Non-necessary [*] Non-necessary Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website. SAVE & ACCEPT wpDiscuz [ ] Insert