RP2040 Runs Linux Through RISC-V Emulation

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • pico-rv32ima

    Running Linux on RP2040 with the help of RISC-V emulation

  • The amazing part of this hack is using the SD card as main memory. And booting to a shell in 15 minutes blows the doors off the project that started it all.

    It uses 230 1k entries for the cache, https://github.com/tvlad1234/pico-rv32ima/blob/main/pico-rv3...

    It looks like it also writes 1k during each block flush. This will definitely put some pressure on the wear leveling algo on the sdcard. :) I am a big fan of this sdcard hack, I wonder what the illogical conclusion is? SDMD RAID?

    While it might not make it faster, adding 64Mbit of PSRAM to the other SPI port would make the sdcard live longer.

    https://www.sramsun.com/list-354-1.html https://www.issi.com/us/product-cellular-ram.shtml

    The Dmitry comments here, https://hackaday.com/2023/03/19/rp2040-runs-linux-through-ri... and has much better boot numbers for a later project.

    https://dmitry.gr/?r=05.Projects&proj=07.%20Linux%20on%208bi...

    Previous discussions https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

    The amazing part of this hack is using the SD card as main memory. And booting to a shell in 15 minutes blows the doors off the project that started it all.

    It uses 230 1k entries for the cache, https://github.com/tvlad1234/pico-rv32ima/blob/main/pico-rv3...

    It looks like it also writes 1k during each block flush. This will definitely put some pressure on the wear leveling algo on the sdcard. :) I am a big fan of this sdcard hack, I wonder what the illogical conclusion is? SDMD RAID?

    While it might not make it faster, adding 64Mbit of PSRAM to the other SPI port would make the sdcard live longer.

    https://www.sramsun.com/list-354-1.html https://www.issi.com/us/product-cellular-ram.shtml

    The Dmitry comments here, https://hackaday.com/2023/03/19/rp2040-runs-linux-through-ri... and has much better boot numbers for a later project.

    https://dmitry.gr/?r=05.Projects&proj=07.%20Linux%20on%208bi...

    Previous discussions https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • picosystem

    PicoSystem libraries and examples.

  • Pimoroni's "Picosystem" clocks the RP2040 at 250Mhz, has 16MB of working SPI flash including XiP and powers an IPS display:

    https://github.com/pimoroni/picosystem (see the note next to the no_overclock compile flag)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts