DietPi is one of the lightest Debian based Linux distributions, optimised for minimal CPU, RAM and disk usage.
A set of bash scripts with whiptail based dialogues allow a quick and easy ready-to-run installation of about 200 server/cloud/media/home automation/… applications, with all necessary setup and configuration steps included.
Our VisionFive 2 image uses a kernel based on StarFive’s sources, but rebased onto latest upstream Linux 5.15.y (5.15.103 at time of writing). A few patches were applied to e.g. enable the HDMI text console. The kernel configuration has been adjusted to enable additional features, like WireGuard, OpenVPN, NFS+SMB server+client, F2FS, Btrfs, zswap, zram, and others. Find our kernel repository here: GitHub - MichaIng/linux
It ships without U-Boot and without initramfs. It boots with the default StarFive SPI U-Boot and has kernel + extlinux configured to not require an initramfs. But you can create one, of course, if needed.
Userland is, of course, Debian ports Sid, no snapshot, all upgrades enabled. We aim to test and in case report and/or fix issues with Debian RISC-V support and packages, so testing latest packages instead of a prepared frozen snapshot is intended. So if you have no experience with rolling-release model distros, just be careful with
apt upgrade and especially
apt full-upgrade, as breaking changes are possible and expected at any time.
To get started: DietPi on RISC-V StarFive VisionFive 2 SBC – DietPi Blog
General info about DietPi:
- Website: https://dietpi.com/
- Documentation: DietPi Documentation - DietPi.com Docs
- Forum: https://dietpi.com/forum/
- Blog: DietPi Blog – … discover DietPi, Debian and Linux info
- GitHub repository: GitHub - MichaIng/DietPi: Lightweight justice for your single-board computer!
- @hexdump0815 for his Debian image, providing patches and info
- @Icenowy for the (in our view) mandatory framebuffer (text console) fix
- @cobalt for some kind chat and info about U-Boot