diff options
author | Maupin, Chase <chase.maupin@ti.com> | 2014-05-23 02:08:33 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2014-05-23 15:01:27 -0400 |
commit | 5548cad9ffb24e06f645c6c8ff843ba1b79c290d (patch) | |
tree | 2f850d91d8bfb185c5b7deaf38047da67e10b0a3 | |
parent | 901b6c2b244ad5dd1c60d3fcbb0631577c051fcd (diff) | |
download | meta-ti-5548cad9ffb24e06f645c6c8ff843ba1b79c290d.tar.gz |
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 <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
5 files changed, 103 insertions, 0 deletions
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 @@ | |||
1 | ################################################## | ||
2 | # IPC config options | ||
3 | ################################################## | ||
4 | CONFIG_IOMMU_API=y | ||
5 | CONFIG_IOMMU_SUPPORT=y | ||
6 | CONFIG_OF_IOMMU=y | ||
7 | CONFIG_OMAP_IOMMU=y | ||
8 | CONFIG_OMAP_IOVMM=y | ||
9 | CONFIG_OMAP_IOMMU_DEBUG=y | ||
10 | CONFIG_VIRTIO=m | ||
11 | CONFIG_RPMSG=m | ||
12 | CONFIG_RPMSG_RPC=m | ||
13 | CONFIG_REMOTEPROC=m | ||
14 | CONFIG_OMAP_REMOTEPROC=m | ||
15 | CONFIG_OMAP_REMOTEPROC_IPU=y | ||
16 | CONFIG_OMAP_REMOTEPROC_DSP=y | ||
17 | CONFIG_OMAP_REMOTEPROC_IPU1=y | ||
18 | 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 @@ | |||
1 | ################################################## | ||
2 | # Non-SMP config options | ||
3 | ################################################## | ||
4 | CONFIG_SMP=n | ||
5 | 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 @@ | |||
1 | ################################################## | ||
2 | # Systest config options | ||
3 | ################################################## | ||
4 | CONFIG_DEBUG_SPINLOCK=y | ||
5 | CONFIG_DEBUG_MUTEXES=y | ||
6 | CONFIG_DEBUG_KMEMLEAK=y | ||
7 | CONFIG_DEVKMEM=y | ||
8 | CONFIG_HAVE_DEBUG_KMEMLEAK=y | ||
9 | CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400 | ||
10 | CONFIG_DEBUG_KMEMLEAK_TEST=n | ||
11 | CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=n | ||
12 | CONFIG_DEBUG_LOCK_ALLOC=y | ||
13 | CONFIG_DEBUG_INFO=y | ||
14 | CONFIG_DEBUG_FS=y | ||
15 | CONFIG_DEBUG_KERNEL=y | ||
16 | CONFIG_PM_DEBUG=y | ||
17 | CONFIG_DEBUG_GPIO=y | ||
18 | CONFIG_USB_DEBUG=y | ||
19 | CONFIG_SND_DEBUG=y | ||
20 | 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 @@ | |||
1 | SECTION = "kernel" | ||
2 | DESCRIPTION = "Linux kernel for TI devices" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
5 | |||
6 | inherit kernel | ||
7 | |||
8 | require recipes-kernel/linux/linux-dtb.inc | ||
9 | require recipes-kernel/linux/setup-defconfig.inc | ||
10 | |||
11 | # Look in the generic major.minor directory for files | ||
12 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}-3.15:" | ||
13 | |||
14 | # Pull in the devicetree files into the rootfs | ||
15 | RDEPENDS_kernel-base += "kernel-devicetree" | ||
16 | |||
17 | # Add a run-time dependency for the PM firmware to be installed | ||
18 | # on the target file system. | ||
19 | RDEPENDS_kernel-base_append_ti33x = " am33x-cm3" | ||
20 | RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" | ||
21 | |||
22 | # Add a run-time dependency for the VPE VPDMA firmware to be installed | ||
23 | # on the target file system. | ||
24 | RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" | ||
25 | |||
26 | # Default is to package all dtb files for ti33x devices unless building | ||
27 | # for the specific beaglebone machine. | ||
28 | KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" | ||
29 | KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb" | ||
30 | KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" | ||
31 | KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" | ||
32 | KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" | ||
33 | |||
34 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
35 | |||
36 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" | ||
37 | |||
38 | S = "${WORKDIR}/git" | ||
39 | |||
40 | BRANCH = "ti-linux-3.15.y" | ||
41 | |||
42 | SRCREV = "3fd9aad17d3b4d1d7ee50ae788c0a096921e7216" | ||
43 | PV = "3.14+3.15-rc6" | ||
44 | |||
45 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | ||
46 | MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}" | ||
47 | PR = "${MACHINE_KERNEL_PR}" | ||
48 | |||
49 | KERNEL_CONFIG_DIR = "ti_config_fragments" | ||
50 | KERNEL_CONFIG_FRAGMENTS = "${WORKDIR}/ipc.cfg" | ||
51 | KERNEL_CONFIG_FRAGMENTS_append_ti33x = "${WORKDIR}/non-smp.cfg" | ||
52 | KERNEL_CONFIG_FRAGMENTS_append_ti43x = "${WORKDIR}/non-smp.cfg" | ||
53 | |||
54 | SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ | ||
55 | file://defconfig \ | ||
56 | file://ipc.cfg \ | ||
57 | file://systest.cfg \ | ||
58 | file://non-smp.cfg \ | ||
59 | " | ||