How to use Buildroot to build a minimal Linux system with fully preemptible kernel.
Many times in the past I found myself in need of a real-time-capable system. Being that for work or spare time projects it didn’t matter, the goal was always to find a quick, automatable and reproducible way to such RT Linux kernel. Fast-forward 2023 and I got something worth writing a post for. Since I will jump to another project too soon, these notes are here also for my own future reference.
Jump to the configuration file already: rpi4_5.10_rt_defconfig
Set up Buildroot
The setup steps (and a shortlist of useful commands) are covered in a previous blogpost, Buildroot basics
TODO: Full preemptible kernal (PREEMPT_RT) can be built
Also align the toolchain header files: