Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A825EE00998; Wed, 8 Jul 2015 12:52:54 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [206.46.173.21 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from vms173021pub.verizon.net (vms173021pub.verizon.net [206.46.173.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id E7A31E0096A for ; Wed, 8 Jul 2015 12:52:48 -0700 (PDT) Received: from gandalf.denix.org ([108.51.169.48]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPSA id <0NR6002T1PVPPN00@vms173021.mailsrvcs.net> for meta-ti@yoctoproject.org; Wed, 08 Jul 2015 14:52:48 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=DcDq0aZW c=1 sm=1 tr=0 a=x3PDphkivVtATbYodTxRAw==:117 a=0gcC27t9AAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=zOBTXjUuO1YA:10 a=sozttTNsAAAA:8 a=7GH4Y40pM77xgxqzDBsA:9 Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id AFA0D161AC2; Wed, 8 Jul 2015 15:52:37 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Wed, 08 Jul 2015 15:52:36 -0400 Message-id: <1436385156-8501-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.2.0 Subject: [PATCH] linux-ti-staging: add version 4.1.1 X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 19:52:54 -0000 From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../linux/linux-ti-staging-4.1/configs/systest | 1 + .../linux/linux-ti-staging-4.1/defconfig | 1 + recipes-kernel/linux/linux-ti-staging_4.1.bb | 67 ++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/configs/systest create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/defconfig create mode 100644 recipes-kernel/linux/linux-ti-staging_4.1.bb diff --git a/recipes-kernel/linux/linux-ti-staging-4.1/configs/systest b/recipes-kernel/linux/linux-ti-staging-4.1/configs/systest new file mode 100644 index 0000000..cfe4f99 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-4.1/configs/systest @@ -0,0 +1 @@ +use-combined-config=ti_config_fragments/system_test_defconfig_fragment diff --git a/recipes-kernel/linux/linux-ti-staging-4.1/defconfig b/recipes-kernel/linux/linux-ti-staging-4.1/defconfig new file mode 100644 index 0000000..990e7f7 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-4.1/defconfig @@ -0,0 +1 @@ +use-combined-config=ti_config_fragments/defconfig_fragment diff --git a/recipes-kernel/linux/linux-ti-staging_4.1.bb b/recipes-kernel/linux/linux-ti-staging_4.1.bb new file mode 100644 index 0000000..c8835c2 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging_4.1.bb @@ -0,0 +1,67 @@ +SECTION = "kernel" +DESCRIPTION = "Linux kernel for TI devices" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" + +inherit kernel + +require recipes-kernel/linux/linux-dtb.inc +require recipes-kernel/linux/setup-defconfig.inc +require recipes-kernel/linux/multi-kernel.inc +require recipes-kernel/linux/cmem.inc + +# Look in the generic major.minor directory for files +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.1:" + +# Pull in the devicetree files into the rootfs +RDEPENDS_kernel-base += "kernel-devicetree" + +# Add a run-time dependency for the PM firmware to be installed +# on the target file system. +RDEPENDS_kernel-base_append_ti33x = " am33x-cm3" +RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" + +# Add a run-time dependency for the VPE VPDMA firmware to be installed +# on the target file system. +RDEPENDS_kernel-base_append_dra7xx = " vpdma-fw" + +# Default is to package all dtb files for ti33x devices unless building +# for the specific beaglebone machine. +KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" +KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am43x-epos-evm-hdmi.dtb am437x-gp-evm.dtb am437x-gp-evm-hdmi.dtb am437x-sk-evm.dtb" +KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" +KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" +KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb dra7-evm-lcd10.dtb dra72-evm.dtb dra72-evm-lcd10.dtb" +KERNEL_DEVICETREE_am57xx-evm = "am57xx-beagle-x15.dtb am57xx-evm.dtb" +KERNEL_DEVICETREE_omap3 = "omap3-beagle.dtb omap3-beagle-xm.dtb omap3-evm.dtb omap3-evm-37xx.dtb am3517-evm.dtb" +KERNEL_DEVICETREE_am3517-evm = "am3517-evm.dtb" +KERNEL_DEVICETREE_am37x-evm = "omap3-evm-37xx.dtb" +KERNEL_DEVICETREE_beagleboard = "omap3-beagle.dtb omap3-beagle-xm.dtb" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|omap3|omap4" + +S = "${WORKDIR}/git" + +BRANCH = "ti-linux-4.1.y" + +SRCREV = "31ae2ddea8e0ef24a8d952d39f47b82c05c51a45" +PV = "4.1.1+git${SRCPV}" + +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild +MACHINE_KERNEL_PR_append = "a" +PR = "${MACHINE_KERNEL_PR}" + +KERNEL_CONFIG_DIR = "${S}/ti_config_fragments" + +#KERNEL_CONFIG_FRAGMENTS_append_ti33x = " ${KERNEL_CONFIG_DIR}/am33xx_only.cfg" +#KERNEL_CONFIG_FRAGMENTS_append_ti43x = " ${KERNEL_CONFIG_DIR}/am43xx_only.cfg" + +MULTI_CONFIG_BASE_SUFFIX = "" + +KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git" +KERNEL_GIT_PROTOCOL = "git" +SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ + file://defconfig \ + " -- 2.2.0