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 16:55] – mgehrig2 | software:linux:realtime:preempt_rt:build_kernel [2019-02-15 10:31] – mgehrig2 | ||
---|---|---|---|
Zeile 19: | Zeile 19: | ||
==== Get the Linux sources ==== | ==== Get the Linux sources ==== | ||
* Clone the kernel < | * Clone the kernel < | ||
- | * Check out the same version as choosen | + | * Check out the same version as chosen |
==== Install the compatible generic kernel ==== | ==== Install the compatible generic kernel ==== | ||
Zeile 30: | Zeile 30: | ||
===== Build the kernel ===== | ===== Build the kernel ===== | ||
==== Patch the kernel sources ==== | ==== Patch the kernel sources ==== | ||
- | * Go into the kenrel | + | * Go into the kernel |
- | * Applay | + | * Apply the patch< |
patch -p1 < < | patch -p1 < < | ||
Zeile 40: | Zeile 40: | ||
- | * **a.) Full module support** **(recommended)** A normal Linux distribution, | + | * **a.) Full module support** **(The easy way)** A normal Linux distribution, |
- | * **b.) Minimal**: This will only build modules which are essential. Some basic function | + | * **b.) Minimal**: |
==== Configure the kernel ==== | ==== Configure the kernel ==== | ||
Zeile 49: | Zeile 49: | ||
cp / | cp / | ||
- Applay the configuration to the patched kernel sources.< | - Applay the configuration to the patched kernel sources.< | ||
- | * This will applay | + | * This will apply 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 === | === 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. | ||
+ | |||
+ | |||
+ | - < | ||
+ | - Depending on the CPU architecture: | ||
+ | - X86 - 64bit < | ||
+ | - X86 - 32bit '' | ||
+ | - See ''< | ||