In this guide, we’ll build a very tiny Linux kernel, weighing in at 789 K, and requiring no MMU support. We’ll write some userspace code and this will be deployed on a virtual RISC-V 64-bit machine, without MMU, and we’ll run some tiny programs of our own.
As a reminder, please go through the guide for a micro Linux distro to understand the concepts behind what we’re doing today: building the kernel,
initramfs
, etc. This guide is basically a continuation of that one and an exercise in making an absolutely minimal Linux deployment for (in theory) extremely cheap hardware.
This follows up on the mentioned earlier article.