Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
software:linux:realtime:preempt_rt:build_kernel [2019-01-21 16:59] – mgehrig2 | software:linux:realtime:preempt_rt:build_kernel [2023-04-11 10:56] (aktuell) – gelöscht Urs Graf | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Building a preemt-rt kernel ====== | ||
- | ===== Introduction ===== | ||
- | The kernel can be easily installed on a running system. During the boot process, the kernel is started with the latest version number by default. If you want to return to an old version, you can select the desired kernel version in the grub menu " | ||
- | |||
- | ===== Preparation ===== | ||
- | ==== Installing the toolchain ==== | ||
- | < | ||
- | |||
- | ==== Get the preemt-rt patch ==== | ||
- | Check [[https:// | ||
- | If not, choose the next newer version and download the patch. | ||
- | |||
- | |||
- | For example:\\ | ||
- | If you are running a 4.4.165 kernel choose the following patch:\\ | ||
- | [[https:// | ||
- | |||
- | ==== Get the Linux sources ==== | ||
- | * Clone the kernel < | ||
- | * Check out the same version as choosen for the patch < | ||
- | |||
- | ===== Build the kernel ===== | ||
- | ==== Patch the kernel sources ==== | ||
- | * Go into the kenrel source directory | ||
- | * Applay the patch< | ||
- | |||
- | ==== Choose the build type ==== | ||
- | This selection will affect, how many modules will be built. | ||
- | The sizef and the range of functions of the monolitic kernel will not be changed. | ||
- | Additional modules can be built and installed after the kernel is installed. | ||
- | |||
- | * **a.) Minimal**: This will only build modules which are essential. Some basic function like Wifi drivers may be missing. Some basic Ethernet drive are in the monolitic part of the kernel and will still work | ||
- | * **b.) Full module support** A normal Linux distribution, | ||
- | * **c.) Only selected modules** | ||