summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
new file mode 100644
index 0000000..bda5bcf
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
@@ -0,0 +1,25 @@
+require linux-toradex-upstream.inc
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/linux-toradex-upstream-rt:"
+
+SUMMARY = "Toradex mainline real-time Linux kernel"
+# To build the RT kernel we use the RT kernel git repo rather than applying
+# the RT patch on top of a vanilla kernel.
+
+LINUX_REPO = "git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git"
+TDX_PATCHES = " \
+ file://0001-thermal-imx-Update-critical-temp-threshold.patch \
+ file://0002-Revert-drm-panel-simple-drop-use-of-data-mapping-pro.patch \
+ file://0003-drivers-chipidea-disable-runtime-pm-for-imx6ul.patch \
+ file://0004-media-i2c-ov5640-Implement-get_mbus_config.patch \
+"
+SRC_URI:append = " \
+ file://preempt-rt.scc \
+ file://preempt-rt-less-latency.scc \
+"
+
+# set PV manually, that way PREFERRED_VERSION can be set to a constant value
+PV = "6.6"
+LINUX_VERSION = "6.6-rt"
+KBRANCH = "linux-6.6.y-rt"
+SRCREV_machine = "${AUTOREV}"