gnulinux:build_kernel_rt
This is an old revision of the document!
# GNU/Linux with RT
## Overview
## Steps
Create a “workspace”, where you have some free disk space
mkdir ~/rt_kern cd ~/rt_kern
Get the files !
wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.14.25.tar.xz wget -c https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.25-rt22.patch.xz
Extract and patch
tar xaf linux-3.14.25.tar.xz unxz patch-3.14.25-rt22.patch.xz cd ./linux-3.14.25 patch -p1 < ../patch-3.14.25-rt22.patch
Now comes the _fun_ part: Configuring the Kernel That's usually the part where you screw up and build a non-working kernel.
make menuconfig
Note: I missed some libraries so be able to run this command, you probably do too.
sudo aptitude install libncurses5-dev
Once you get the configuration GUI, you have to select a few options:
* Enable the full RT features: `Processor type and features > Preemption Model > (Fully Preemptible Kernel (RT))`
Save and quit (TAB until you can select the option)
Build (where X is two times the number of cores of your CPU)
make -jX
## The Debian way
## Links
/home/share/www/redox.ws/wiki/data/attic/gnulinux/build_kernel_rt.1417600401.txt.gz · Last modified: 2023/11/24 21:55 (external edit)