gnulinux:build_kernel_rt
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gnulinux:build_kernel_rt [2014/12/03 11:24] – [Overview] redox | gnulinux:build_kernel_rt [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # Debian with PREEMPT_RT patched kernel | ||
| - | |||
| - | ## Overview | ||
| - | |||
| - | Theses short steps were tested on Debian Wheezy 7.4, x64 core. | ||
| - | |||
| - | ## Steps | ||
| - | |||
| - | Create a " | ||
| - | |||
| - | mkdir ~/rt_kern | ||
| - | cd ~/rt_kern | ||
| - | |||
| - | Get the files ! | ||
| - | |||
| - | wget -c https:// | ||
| - | wget -c https:// | ||
| - | |||
| - | Extract and patch | ||
| - | |||
| - | tar xaf linux-3.14.25.tar.xz | ||
| - | unxz patch-3.14.25-rt22.patch.xz | ||
| - | cd ./ | ||
| - | patch -p1 < ../ | ||
| - | |||
| - | Get the config of your current Debian kernel | ||
| - | |||
| - | cp -vf / | ||
| - | |||
| - | 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 | ||
| - | |||
| - | Save and quit (TAB until you can select the option) | ||
| - | |||
| - | Build (where X is two times the number of cores of your CPU). Took 45minutes on my 2.5Ghz Core2Duo, with SSD. | ||
| - | |||
| - | make -jX | ||
| - | |||
| - | Or, you can directly build the debian packages: | ||
| - | |||
| - | make deb-pkg LOCALVERSION=-hyde KDEB_PKGVERSION=1 | ||
| - | |||
| - | Install it | ||
| - | |||
| - | cd ../ | ||
| - | sudo dpkg -i ./ | ||
| - | |||
| - | Aaannndd reboot, select your new kernel =) | ||
| - | |||
| - | ## Links | ||
| - | |||
| - | * https:// | ||
/home/share/www/redox.ws/wiki/data/attic/gnulinux/build_kernel_rt.1417605888.txt.gz · Last modified: 2023/11/24 21:55 (external edit)
                
                