Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
software:linux:realtime:preempt_rt:build_kernel [2019-02-13 17:01] mgehrig2software:linux:realtime:preempt_rt:build_kernel [2019-02-15 10:31] mgehrig2
Zeile 40: Zeile 40:
  
  
-  * **a.) Full module support** **(recommended)** A normal Linux distribution, like Ubuntu, will install a kernel and most of the available kernel modules. Many of them are never used, because they are drivers for hardware, which is not installed on the PC. This variant contains the same modules like a full Ubuntu kernel. +  * **a.) Full module support** **(The easy way)** A normal Linux distribution, like Ubuntu, will install a kernel and most of the available kernel modules. Many of them are never used, because they are drivers for hardware, which is not installed on the PC. This variant contains the same modules like a full Ubuntu kernel. 
-  * **b.) 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 monolithic part of the kernel and will still work. You can add all modules you need manually.+  * **b.) Minimal**: **(The propper way)** This will only build modules which are essential. Some basic functionality, like WiFi driversmay be missing. Some common Ethernet drive are in the monolithic part of the kernel and will still work. You can add all modules you need manually. This method is recommended in order to obtain a system that is as stable as possible. If fewer drivers are loaded, there is less risk that an unused driver will cause high latency.
  
 ==== Configure the kernel ==== ==== Configure the kernel ====
Zeile 53: Zeile 53:
  
 === b.) Minimal === === b.) Minimal ===
-TODO+You have three different options: 
 +  * **a.)** Configure the kernel to add only the bare minimum. Add all additional modules manually. 
 +  * **b.)** Configure the kernel to add all modules, which are currently loaded on the host pc. 
 +  * **c.)** Configure the kernel to add all modules, which are currently loaded on a different pc. 
 + 
 + 
 +  - <code>cd <pathToKernelSrc></code> 
 +  - Depending on the CPU architecture: 
 +    - X86 - 64bit <code>make x86_64_defconfig</code> 
 +    - X86 - 32bit ''make i386_defconfig'' 
 +    - See ''<pathToKernelSrc>/arch/<architecture>/configs'' for more possibilities