RT-Preempt
Download
The RT-Preempt project does regularly provide patches which make the linux kernel capable of fulfilling hard realtime requirements. The aim is to eliminate all preemptivity and reactivity problems in the kernel over the time. The -rt patches are constantly being worked on for mainline by the community.
At Pengutronix, rt-preempt kernels are used in many industrial realtime projects. Using additional patches is a common use case in "deeply embedded" projects, for example being managed with build systems like ptxdist.
On "big" x86 systems, standard distributions are used as well as special embedded distros. In order to make the usage of rt-preempt easier in such projects, Pengutronix provides binary -rt kernel packages for the Debian distribution on http://debian.pengutronix.de.
The kernel being made available in this repository contains only the original -rt patches, not the patches provided by the Debian project. Our aim is to provide unmodified -rt patches to the debian community, in order to make it easy to send bug reports directly to the -rt developers.
Preparations
Add Pengutronix APT repository:
sudo wget -O /etc/apt/sources.list.d/pengutronix.list http://debian.pengutronix.de/debian/pengutronix.list
Update package list:
# sudo apt-get -q update
Add Pengutronix key to the system key ring:
# sudo apt-get -q --allow-unauthenticated install pengutronix-archive-keyring
Update package list again:
# sudo apt-get -q update
Installing the Kernel
| Version | Use Case |
|---|---|
Latest |
The most recent version of the -rt kernel. This version should be installed if the aim is to follow the -rt development closely and to test the latest releases. # sudo apt-get install linux-image-2.6-rt-${ARCH}
|
OSADL Latest Stable |
The Open Source Automation Development Lab (OSADL) declares certain kernels as "latest stable" from time to time. These kernels should be used for production systems if possible. # sudo apt-get install linux-image-2.6-rt-osadl-${ARCH}
|
Manual Version |
For the case that a special -rt kernel version is required, there is the possibility to select a package with a specific version. To get a list of all available -rt kernels, there is the following command: # apt-cache showpkg linux-image-2.6-rt | sed '1,/Reverse\ Provides:/d' Chose the required version and install it with # sudo apt-get install ${KERNEL_NAME}
|
The following architectures ($ARCH) are available: 486, 686, 686-bigmen, amd64
Boot Loader
After the installation of an -rt kernel, the kernel will be automatically added to the boot loader menu. According to the configuration of the system, the new -rt kernel will not necessarily be configured as the "Default Kernel". That means that, during the boot sequence, it may be necessary to manually select the kernel to be booted.
For mor information about bootloaders on debian, please see the bootloader article in the debian wiki.
Mailing Lists
Pengutronix doesn't provide a separate mailing list for the Debian -rt kernels. Please use the linux-rt-users mailing list for all discussions and bug reports.

