2. Making a plan
Let's start with installing a small official OS image on the SD card to make sure that we start with a working system. Until the Raspberry PI can self compile, I will use my Debian Linux PC for configuration and compilation. I'm planning to go through the following steps first:
- create an image from the SD card using `dd` or `cat`, to have a reference copy of a working system
- install the latest bootloader (located in EEPROM), install the EEPROM configuration tool (if it's not already installed) and adjust EEPROM configuration, adjust for speed and minimalism
- self compile the Linux kernel with default configuration and install it on the SD card to have a working kernel configuration to start with
- remove everything from the boot partition of the SD card which is not needed, there's maybe some trial and error involved
- adjust `cmdline.txt` and `config.txt` (both located on the boot partition) for speed and minimalism
- recompile kernel with speed and minimalism in mind
Once we got all of this working, I'll then look into replacing the operating system with self compiled files.
⬅ 1. Introduction
➡ 3. Preparing the SD card image
⬆ The minimal Raspberry 4 project
🏠 callistix Gemini capsule
Created: 6/Jan/2024
Modified: 21/Jan/2024