Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to run Linux 5.0 on esp32

2025-03-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to run Linux 5.0 in esp32, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand it.

Esp32 is roughly equivalent to a mcu plus 8266 that can be used as a processor, integrated with WiFi, integrated with freertos firmware and a dual-core processor. In Internet of things applications, it is really a top two, an embedded processor plus WiFi.

Recently, a developer successfully ran Linux 5.0.0 on an ESP32 dual-core Xtensa processor development board with 8MB PSRAM and 2MB SPI flash memory.

The shortened boot log above shows that the ESP32-D0WD dual-core Xtensa processor can eventually boot the output of the Linux 5.0.0 loader. But the boot process is a bit complicated because the boot loader needs to jump to "Juice Vm" described as a "small RISC-V virtual machine" and then call the OpenSBI RISC-V open source manager binary interface to load the Linux kernel and small file systems.

Complete startup logs and binary images are available in the Reddit thread and WhyCan developer communities, which are Chinese. The total mirror size is about 1.50 MB, which almost completely fills the 2MB flash memory of the test development board. And it also supports SPI and UART interfaces, but they don't seem to be booted to the serial console yet.

I hope you can all figure out how to use the two binary images, because there are no guidance documents available in the developer community. The "small RISC-V virtual machine Juice VM" display in the startup log is a little confusing, and at first I even thought it was wrong. Because starting Linux on an ESP32-C3 RISC-V processor doesn't seem to have anything to do with the Juice VM virtual machine. Juice VM is a RISC-V virtual machine that can also be used to boot FreeRTOS, RT-Thread, and other operating systems. But then I learned that the JuiceVm rv64 virtual machine had long been ported to ESP-IDF and supported ESP32, ESP32-S2, and ESP32-C3 processors.

Thank you for reading this article carefully. I hope the article "how to run Linux 5.0in esp32" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report