I would like to create a lightweight Linux distribution for my Raspberry Pi 400 (for educational purposes). I have looked at Buildroot and Gentoo Linux, but both require compiling OS components from scratch.
How should I go about building a ROOTFS? I don't have much experience with bare-metal Linux...
Ideally, I would:
- Install the Kernel/Firmware
- Unpack the Init System
- Get a Package Manager
- Configure the system