From ba73331edf09712044d4aef768a6c3f66641a8ee Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 5 Aug 2020 18:31:00 +0200 Subject: linux-toradex: update downstream to 5.4-2.1.x Related-to: ELB-2758 Signed-off-by: Max Krummenacher --- recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb | 40 +++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb (limited to 'recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb') diff --git a/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb new file mode 100644 index 0000000..7a2f5e3 --- /dev/null +++ b/recipes-kernel/linux/linux-toradex_5.4-2.1.x.bb @@ -0,0 +1,40 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" +require recipes-kernel/linux/linux-imx.inc + +SUMMARY = "Linux kernel for Toradex Freescale i.MX based modules" + +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" + +SRC_URI = " \ + git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH} \ + file://defconfig \ +" + +SRC_URI_append_colibri-imx8x-v10b = " \ + file://0001-Revert-ARM64-dts-apalis-imx8x-remove-no-1-8-v-from-s.patch \ + file://0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch \ +" + +SRC_URI_append_apalis-imx8x-v11a = " \ + file://0001-Revert-ARM64-dts-apalis-imx8x-remove-no-1-8-v-from-s.patch \ + file://0002-Revert-ARM64-dts-colibri-imx8x-remove-no-1-8-v-from-.patch \ +" + +# Load USB functions configurable through configfs (CONFIG_USB_CONFIGFS) +KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains('COMBINED_FEATURES', 'usbgadget', ' libcomposite', '',d)}" + +inherit toradex-kernel-localversion +LINUX_VERSION = "5.4.47" +# skip, as with use-head-next LINUX_VERSION might be set wrongly +KERNEL_VERSION_SANITY_SKIP_use-head-next = "1" + +# Make sure to override LOCALVERSION in linux-imx.inc +LOCALVERSION = "-${TDX_VERSION}" +PV_append = "+git${SRCPV}" + +SRCREV = "b11463f367028ef3b572ffe101204f1885944013" +SRCBRANCH = "toradex_5.4-2.1.x-imx" +SRCREV_use-head-next = "${AUTOREV}" + +DEPENDS += "lzop-native bc-native" +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" -- cgit v1.2.3