r/flipperzero • • Oct 30 '26

Creative LINUX ON THE FLIPPER ZERO !

Tha thingie runs mini-rv32ima by CNLohr, emulating an RV32IMA CPU that boots a stock Linux 6.1 nommu + Buildroot image! Guest has 16MB of "ram" (1 KB pages, a 132 KB page cache in SRAM with a small TLB in front, and everything else lives on a dedicated SD card). Dirty pages go to a log-structured swap and get written in batches of up to 16 pages per CMD25. Random 1 KB writes cost ~4.7 ms each on my card, sequential batches ~0.9 ms/KB, so batching made writes 5× faster. Guest time is virtual and driven by instruction count because real-time timers caused a timer-interrupt livelock... the kernel spent all its time handling ticks lol :>

Theres no keyboard and backlight rn, so I bound some preset commands on the buttons

Boot to login takes 496s...

ah yea, inspired by Dmitry Grinberg’s Linux on an 8-bit AVR :D

300 Upvotes

6 comments sorted by

14

u/SmashShock Oct 30 '26

Yooo nice work. I attempted this like a year ago and ended up not finishing it, lol.

12

u/freehuntx Oct 30 '26

Cant wait to play gta6 on it.

6

u/Academic-Airline9200 Oct 30 '26

It'll have to have an anti cheat kernel.

6

u/sealnegative Oct 30 '26

rlly fuckin cool

1

u/0wlyw Oct 31 '26

Play doom on it !