summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb')
-rw-r--r--recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb b/recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb
new file mode 100644
index 0000000..b37bb6b
--- /dev/null
+++ b/recipes-kernel/linux/linux-toradex-rt_4.1-2.0.x.bb
@@ -0,0 +1,27 @@
+require recipes-kernel/linux/linux-imx.inc
+require recipes-kernel/linux/linux-dtb.inc
+
+SUMMARY = "Real-Time Linux kernel for Toradex Freescale i.MX based modules"
+
+SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH}"
+
+SRC_URI += "\
+ https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/older/patch-4.1.35-rt41.patch.gz;name=rt-patch \
+ file://0001-fix-build.patch \
+ file://0002-no-split-ptlocks.patch \
+ file://0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch \
+ file://defconfig \
+"
+
+SRC_URI[rt-patch.md5sum] = "375bb334b265898a94214c3199308298"
+SRC_URI[rt-patch.sha256sum] = "284a1bc0094df0a61e6dcb9996eceea6a3791ccba1e5763e36f251d0dfeecd32"
+
+# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS)
+KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}"
+
+LOCALVERSION = "-v2.7b1-rt"
+SRCBRANCH = "toradex_4.1-2.0.x-imx"
+SRCREV = "c1177831f5a1fd3ee9e5c3f9567526a5d62d5d78"
+
+DEPENDS += "lzop-native bc-native"
+COMPATIBLE_MACHINE = "(mx7|mx6)"