summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-upstream-rt_6.6.bb
blob: bda5bcf4318793ff6a50f14be15309ca6e02d9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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}"