Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c2_building_rt_kernel [2016/08/11 14:02] moon.linux [Checkout] |
en:c2_building_rt_kernel [2016/10/06 11:38] moon.linux [Checkout] |
||
---|---|---|---|
Line 27: | Line 27: | ||
==== Checkout ==== | ==== Checkout ==== | ||
- | You can checkout Linux kernel source tree from **[[https://github.com/hardkernel/linux/tree/odroidc2-3.14.y-android|Hardkernel's Github]]**. | + | You can checkout Linux kernel source tree from **[[https://github.com/hardkernel/linux/tree/odroidc2-3.14.y|Hardkernel's Github]]**. |
=== RT Linux Kernel === | === RT Linux Kernel === | ||
Line 36: | Line 36: | ||
$ wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/older/patch-3.14.65-rt68.patch.gz | $ wget https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/older/patch-3.14.65-rt68.patch.gz | ||
$ zcat patch-3.14.65-rt68.patch.gz > patch-3.14.65-rt68.patch | $ zcat patch-3.14.65-rt68.patch.gz > patch-3.14.65-rt68.patch | ||
+ | $ patch -p1 < patch-3.14.65-rt68.patch | ||
+ | </code> | ||
+ | |||
+ | **Note:** Arc arm64 rt kernel have some missing patches so we have to update the kernel for | ||
+ | Following patches need to be applied to build the kernel. | ||
+ | |||
+ | **Note:** These patches can be found in 3.18.y-rt patch series. | ||
+ | |||
+ | <code> | ||
+ | arm64: Mark PMU interrupt IRQF_NO_THREAD.patch | ||
+ | arm64: Allow forced irq threading.patch | ||
+ | arch/arm64: Add lazy preempt support.patch | ||
+ | arm64: replace read_lock to rcu lock in call_step_hook | ||
</code> | </code> | ||
**Note:** Few file have conflict so you need to update manually these patches before build the kernel. | **Note:** Few file have conflict so you need to update manually these patches before build the kernel. | ||
- | === BuildRT Linux Kernel === | + | **Note:** Please find the links for all the updated patch in the following repository. |
+ | |||
+ | https://github.com/moonlinux/linux/tree/odroidc2-3.14.y-rt | ||
+ | ==== BuildRT Linux Kernel ==== | ||
Kernel Configuration for RT Full Preemptible Kernel. | Kernel Configuration for RT Full Preemptible Kernel. | ||