Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:realtime:preempt_rt:build_kernel [2019-02-13 15:54] – mgehrig2 | software:linux:realtime:preempt_rt:build_kernel [2019-02-13 16:55] – mgehrig2 | ||
---|---|---|---|
Zeile 25: | Zeile 25: | ||
[[software: | [[software: | ||
+ | |||
Zeile 43: | Zeile 44: | ||
==== Configure the kernel ==== | ==== Configure the kernel ==== | ||
- | === Full module support === | + | === a.) Full module support === |
- Copy the kernel configuration from the generic kernel. | - Copy the kernel configuration from the generic kernel. | ||
* Make sure you copy the correct config-file with the correct version (i.e. '' | * Make sure you copy the correct config-file with the correct version (i.e. '' | ||
- | cp / | + | cp / |
- | make oldconfig</ | + | - Applay the configuration to the patched kernel sources.< |
+ | * This will applay the configuration. However, since the kernel is patched and not identical to the generic kernel, not all configurations are defined. Acccept all presented options with '' | ||
+ | |||
+ | |||
+ | === b.) Minimal === | ||
+ | TODO | ||
+ | |||
+ | |||
+ | === Additional configurations === | ||
+ | - Open the configuration menu < | ||
+ | - Enable the fully preemptible kernel (The path may be different depending on the kernel version) | ||
+ | * Processor type and features ---> Preemption | ||
+ | * or | ||
+ | * Kernel options | ||
+ | - Deactivate expert mode | ||
+ | - General setup ---> **[ ] Configure standard kernel features (expert users)** | ||
+ | - Save the configuration and exit the menu | ||
+ | |||
+ | |||
+ | |||
+ | ==== Make and install the kernel ==== | ||
+ | This will going to take about an hour. | ||
+ | |||
+ | - Compile kernel < | ||
+ | - Compile modules < | ||
+ | - Install kernel modules < | ||
+ | - Install kernel < | ||
+ | - Reboot | ||
+ | - Check with '' | ||