From 5548cad9ffb24e06f645c6c8ff843ba1b79c290d Mon Sep 17 00:00:00 2001 From: "Maupin, Chase" Date: Fri, 23 May 2014 02:08:33 +0000 Subject: linux-ti-staging: Add version 3.15 of TI integration kernel * Add version 3.15 of the TI integration kernel. Major changes from previous version are: * Config fragments now come primarily from the integration tree. Removed baseport and connectivity fragments for now and the others can be removed as they are added to the integration tree. * Added a non-smp.cfg config to disable SMP for single core devices instead of using a patch to the defconfig file as we did in the past. * Use the right SRCREV Signed-off-by: Chase Maupin Signed-off-by: Denys Dmytriyenko --- .../linux/linux-ti-staging-3.15/defconfig | 1 + recipes-kernel/linux/linux-ti-staging-3.15/ipc.cfg | 18 +++++++ .../linux/linux-ti-staging-3.15/non-smp.cfg | 5 ++ .../linux/linux-ti-staging-3.15/systest.cfg | 20 ++++++++ recipes-kernel/linux/linux-ti-staging_3.15.bb | 59 ++++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 recipes-kernel/linux/linux-ti-staging-3.15/defconfig create mode 100644 recipes-kernel/linux/linux-ti-staging-3.15/ipc.cfg create mode 100644 recipes-kernel/linux/linux-ti-staging-3.15/non-smp.cfg create mode 100644 recipes-kernel/linux/linux-ti-staging-3.15/systest.cfg create mode 100644 recipes-kernel/linux/linux-ti-staging_3.15.bb diff --git a/recipes-kernel/linux/linux-ti-staging-3.15/defconfig b/recipes-kernel/linux/linux-ti-staging-3.15/defconfig new file mode 100644 index 00000000..926b35a5 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-3.15/defconfig @@ -0,0 +1 @@ +use-kernel-config=omap2plus_defconfig diff --git a/recipes-kernel/linux/linux-ti-staging-3.15/ipc.cfg b/recipes-kernel/linux/linux-ti-staging-3.15/ipc.cfg new file mode 100644 index 00000000..645dfdfa --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-3.15/ipc.cfg @@ -0,0 +1,18 @@ +################################################## +# IPC config options +################################################## +CONFIG_IOMMU_API=y +CONFIG_IOMMU_SUPPORT=y +CONFIG_OF_IOMMU=y +CONFIG_OMAP_IOMMU=y +CONFIG_OMAP_IOVMM=y +CONFIG_OMAP_IOMMU_DEBUG=y +CONFIG_VIRTIO=m +CONFIG_RPMSG=m +CONFIG_RPMSG_RPC=m +CONFIG_REMOTEPROC=m +CONFIG_OMAP_REMOTEPROC=m +CONFIG_OMAP_REMOTEPROC_IPU=y +CONFIG_OMAP_REMOTEPROC_DSP=y +CONFIG_OMAP_REMOTEPROC_IPU1=y +CONFIG_OMAP_REMOTEPROC_DSP2=y diff --git a/recipes-kernel/linux/linux-ti-staging-3.15/non-smp.cfg b/recipes-kernel/linux/linux-ti-staging-3.15/non-smp.cfg new file mode 100644 index 00000000..d61a4139 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-3.15/non-smp.cfg @@ -0,0 +1,5 @@ +################################################## +# Non-SMP config options +################################################## +CONFIG_SMP=n +CONFIG_NR_CPUS=n diff --git a/recipes-kernel/linux/linux-ti-staging-3.15/systest.cfg b/recipes-kernel/linux/linux-ti-staging-3.15/systest.cfg new file mode 100644 index 00000000..e21602f4 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging-3.15/systest.cfg @@ -0,0 +1,20 @@ +################################################## +# Systest config options +################################################## +CONFIG_DEBUG_SPINLOCK=y +CONFIG_DEBUG_MUTEXES=y +CONFIG_DEBUG_KMEMLEAK=y +CONFIG_DEVKMEM=y +CONFIG_HAVE_DEBUG_KMEMLEAK=y +CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400 +CONFIG_DEBUG_KMEMLEAK_TEST=n +CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=n +CONFIG_DEBUG_LOCK_ALLOC=y +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_FS=y +CONFIG_DEBUG_KERNEL=y +CONFIG_PM_DEBUG=y +CONFIG_DEBUG_GPIO=y +CONFIG_USB_DEBUG=y +CONFIG_SND_DEBUG=y +CONFIG_RTC_DEBUG=y diff --git a/recipes-kernel/linux/linux-ti-staging_3.15.bb b/recipes-kernel/linux/linux-ti-staging_3.15.bb new file mode 100644 index 00000000..308a4125 --- /dev/null +++ b/recipes-kernel/linux/linux-ti-staging_3.15.bb @@ -0,0 +1,59 @@ +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 + +# Look in the generic major.minor directory for files +FILESEXTRAPATHS_append := "${THISDIR}/${PN}-3.15:" + +# 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-evm = " vpe-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 am437x-gp-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" + +KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" + +S = "${WORKDIR}/git" + +BRANCH = "ti-linux-3.15.y" + +SRCREV = "3fd9aad17d3b4d1d7ee50ae788c0a096921e7216" +PV = "3.14+3.15-rc6" + +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild +MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +KERNEL_CONFIG_DIR = "ti_config_fragments" +KERNEL_CONFIG_FRAGMENTS = "${WORKDIR}/ipc.cfg" +KERNEL_CONFIG_FRAGMENTS_append_ti33x = "${WORKDIR}/non-smp.cfg" +KERNEL_CONFIG_FRAGMENTS_append_ti43x = "${WORKDIR}/non-smp.cfg" + +SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ + file://defconfig \ + file://ipc.cfg \ + file://systest.cfg \ + file://non-smp.cfg \ + " -- cgit v1.2.3-54-g00ecf