3 ms·
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
by nerpderp82 4y ago
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-rv32ima/sdram.c 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.sramsun.com/list-354-1.html https://www.issi.com/us/product-cellular-ram.shtml https://www.issi.com/us/product-cellular-ram.shtml
The Dmitry comments here, https://hackaday.com/2023/03/19/rp2040-runs-linux-through-risc-v-emulation/#comment-6619186 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%208bit https://dmitry.gr/?r=05.Projects&proj=07.%20Linux%20on%208bi...
Previous discussions https://hn.algolia.com/?dateRange=all&page=0&prefix=true&query=Linux%20on%20an%208-bit%20micro&sort=byPopularity&type=story https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
- creshal 4y ago> I wonder what the illogical conclusion is? SDMD RAID? MDRAID was AFAIK originally developed and tested using floppy drives, as the developer at the time couldn't afford a PC beefy enough to have multiple hard disks. RAID from SD cards would be the closest modern equivalent to a return to the project's roots. (And (µ)SD RAID has been done many times for hobby projects, it gives you stupid data densities on a tiny power/volume budget… at least until the cards start dying from all the abuse. C'est la vie.)
- nerpderp82 4y agoFunny, that must have sounded really cool.
- wpm 4y agohttps://youtu.be/1hc52_PWeU8?t=589 https://youtu.be/1hc52_PWeU8?t=589 Here’s one with 13 USB floppy drives
- yencabulator 4y agoThis is relevant to your interests: https://www.youtube.com/watch?v=yHJOz_y9rZE https://www.youtube.com/watch?v=yHJOz_y9rZE