August 28th, 2024

Linux Up and Running on the Raspberry Pi RP2350's Hazard3 RISC-V Cores

Jesse Taube successfully booted a minimal Linux distribution on the Raspberry Pi Pico 2's RP2350 microcontroller, overcoming challenges related to memory management and limited SRAM capacity. Instructions are on GitHub.

Read original articleLink Icon
Linux Up and Running on the Raspberry Pi RP2350's Hazard3 RISC-V Cores

Developer Jesse Taube has successfully booted a minimal Linux distribution on the Raspberry Pi Pico 2's RP2350 microcontroller, utilizing its open-source Hazard3 RISC-V cores. This achievement marks a significant advancement as it allows software typically designed for application-class processors to run on a microcontroller. The RP2350, launched earlier this month, features two proprietary Arm Cortex-M33 cores and two Hazard3 RISC-V cores, effectively doubling the static RAM compared to its predecessor, the RP2040. However, running Linux on this microcontroller presents challenges, primarily due to the absence of a memory management unit (MMU) and limited SRAM capacity of 520kB. To address these limitations, the RP2350 supports up to 16MB of pseudo-static RAM (PSRAM) and 16MB of off-chip flash storage. Taube's Buildroot-based Linux distribution is not compatible with the unexpanded Raspberry Pi Pico 2 but has been confirmed to work on the SparkFun Pro Micro RP2350, which includes the necessary memory expansions. Instructions for building the Linux distribution are available on Taube's GitHub repository.

- Jesse Taube booted Linux on the Raspberry Pi Pico 2's RP2350 microcontroller.

- The RP2350 features both Arm Cortex-M33 and Hazard3 RISC-V cores.

- Running Linux on the RP2350 requires a specific version due to the lack of an MMU.

- The RP2350 supports up to 16MB of PSRAM and 16MB of flash storage.

- Instructions for building the Linux distribution are available on GitHub.

Link Icon 0 comments