From 2b2082fcbb7e5f413bf12599768173aa468efc5d Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 4 Apr 2017 15:14:57 +0200 Subject: linux-toradex-mainline: tk1 mainline, update to 4.9.21 Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- .../linux/linux-toradex-mainline_4.9.21.bb | 64 ++++++++++++++++++++++ recipes-kernel/linux/linux-toradex-mainline_4.9.bb | 61 --------------------- 2 files changed, 64 insertions(+), 61 deletions(-) create mode 100644 recipes-kernel/linux/linux-toradex-mainline_4.9.21.bb delete mode 100644 recipes-kernel/linux/linux-toradex-mainline_4.9.bb (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-toradex-mainline_4.9.21.bb b/recipes-kernel/linux/linux-toradex-mainline_4.9.21.bb new file mode 100644 index 0000000..93f842e --- /dev/null +++ b/recipes-kernel/linux/linux-toradex-mainline_4.9.21.bb @@ -0,0 +1,64 @@ +SUMMARY = "Linux Kernel for Toradex Apalis Tegra based modules" +SECTION = "kernel" +LICENSE = "GPLv2" + +FILESEXTRAPATHS_prepend := "${THISDIR}/linux-toradex-mainline-4.9:" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit kernel siteinfo +require recipes-kernel/linux/linux-dtb.inc +include conf/tdx_version.conf + +LINUX_VERSION ?= "4.9.21" + +LOCALVERSION = "-${PR}" +PR = "${TDX_VER_INT}" + +PV = "${LINUX_VERSION}" +S = "${WORKDIR}/linux-${PV}" +SRC_URI = " \ + https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \ + file://0001-toradex_apalis_tk1_t30-customize-defconfig.patch \ + file://0001-apalis-tk1-remove-spurious-new-lines.patch \ + file://0002-apalis-tk1-temp-alert-pull-up.patch \ + file://0003-apalis-tk1-optional-displayport-hot-plug-detect.patch \ + file://0004-apalis-tk1-adjust-pin-muxing-for-v1.1-hw.patch \ + file://0005-apalis-tk1-working-sd-card-detect-on-v1.1-hw.patch \ + file://0006-apalis-tk1-update-compatibility-comment.patch\ + file://0001-apalis_t30-tk1-fix-pcie-clock-and-reset-not-conformi.patch \ + file://0002-igb-integrate-tools-only-device-support.patch \ + file://0003-apalis_t30-tk1-igb-no-nvm-and-Ethernet-MAC-address-h.patch \ + file://0004-mmc-tegra-apalis-tk1-hack-to-make-sd1-functional.patch \ + file://0001-drm-tegra-add-tiling-FB-modifiers.patch \ +" +SRC_URI[md5sum] = "96304a3bdd6659b399276384e5b56249" +SRC_URI[sha256sum] = "97503749bf7997b3e55a5126080df348e74c0bb0e10ad85b1b2ec9db7e5e6c24" + +COMPATIBLE_MACHINE = "(apalis-tk1-mainline|apalis-t30-mainline)" +KERNEL_EXTRA_ARGS = " LOADADDR=0x80008000 " + +# One possibiltiy for changes to the defconfig: +config_script () { + echo "dummy" > /dev/null +} + +do_configure_prepend () { + cd ${S} + export KBUILD_OUTPUT=${B} + oe_runmake ${KERNEL_DEFCONFIG} + + #maybe change some configuration + config_script + + #Add Toradex BSP Version as LOCALVERSION + sed -i -e /CONFIG_LOCALVERSION/d ${B}/.config + echo "CONFIG_LOCALVERSION=\"${LOCALVERSION}\"" >> ${B}/.config + + cd - > /dev/null +} + +do_uboot_mkimage_prepend() { + cd ${B} +} + diff --git a/recipes-kernel/linux/linux-toradex-mainline_4.9.bb b/recipes-kernel/linux/linux-toradex-mainline_4.9.bb deleted file mode 100644 index e77e486..0000000 --- a/recipes-kernel/linux/linux-toradex-mainline_4.9.bb +++ /dev/null @@ -1,61 +0,0 @@ -SUMMARY = "Linux Kernel for Toradex Apalis Tegra based modules" -SECTION = "kernel" -LICENSE = "GPLv2" - -LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" - -inherit kernel siteinfo -require recipes-kernel/linux/linux-dtb.inc -include conf/tdx_version.conf - -LINUX_VERSION ?= "4.9" - -LOCALVERSION = "-${PR}" -PR = "${TDX_VER_INT}" - -PV = "${LINUX_VERSION}" -S = "${WORKDIR}/linux-${PV}" -SRC_URI[md5sum] = "0a68ef3615c64bd5ee54a3320e46667d" -SRC_URI = " \ - https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \ - file://0001-toradex_apalis_tk1_t30-customize-defconfig.patch \ - file://0001-apalis-tk1-remove-spurious-new-lines.patch \ - file://0002-apalis-tk1-temp-alert-pull-up.patch \ - file://0003-apalis-tk1-optional-displayport-hot-plug-detect.patch \ - file://0004-apalis-tk1-adjust-pin-muxing-for-v1.1-hw.patch \ - file://0005-apalis-tk1-working-sd-card-detect-on-v1.1-hw.patch \ - file://0006-apalis-tk1-update-compatibility-comment.patch\ - file://0001-apalis_t30-tk1-fix-pcie-clock-and-reset-not-conformi.patch \ - file://0002-igb-integrate-tools-only-device-support.patch \ - file://0003-apalis_t30-tk1-igb-no-nvm-and-Ethernet-MAC-address-h.patch \ - file://0004-mmc-tegra-apalis-tk1-hack-to-make-sd1-functional.patch \ - file://0001-drm-tegra-add-tiling-FB-modifiers.patch \ -" - -COMPATIBLE_MACHINE = "(apalis-tk1-mainline|apalis-t30-mainline)" -KERNEL_EXTRA_ARGS = " LOADADDR=0x80008000 " - -# One possibiltiy for changes to the defconfig: -config_script () { - echo "dummy" > /dev/null -} - -do_configure_prepend () { - cd ${S} - export KBUILD_OUTPUT=${B} - oe_runmake ${KERNEL_DEFCONFIG} - - #maybe change some configuration - config_script - - #Add Toradex BSP Version as LOCALVERSION - sed -i -e /CONFIG_LOCALVERSION/d ${B}/.config - echo "CONFIG_LOCALVERSION=\"${LOCALVERSION}\"" >> ${B}/.config - - cd - > /dev/null -} - -do_uboot_mkimage_prepend() { - cd ${B} -} - -- cgit v1.2.3