diff --git a/recipes-kernel/linux/sitara-linux-ti-staging-3.14/defconfig b/recipes-kernel/linux/sitara-linux-ti-staging-3.14/defconfig new file mode 100644 index 00000000..98c40690 --- /dev/null +++ b/recipes-kernel/linux/sitara-linux-ti-staging-3.14/defconfig @@ -0,0 +1 @@ +use-kernel-config=singlecore-omap2plus_defconfig diff --git a/recipes-kernel/linux/sitara-linux-ti-staging_3.14.bb b/recipes-kernel/linux/sitara-linux-ti-staging_3.14.bb new file mode 100644 index 00000000..f9c46416 --- /dev/null +++ b/recipes-kernel/linux/sitara-linux-ti-staging_3.14.bb @@ -0,0 +1,51 @@ +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 + +# Look in the generic major.minor directory for files +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-3.14:" + +# 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" + + +# 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_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" + +COMPATIBLE_MACHINE = "ti33x|ti43x" + +S = "${WORKDIR}/git" + +BRANCH = "sitara-ti-linux-3.14.y" + +SRCREV = "2d7148a3a95a2811604611f6c66a8826a61b8b12" +PV = "3.14.26" + +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild +MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}" +PR = "${MACHINE_KERNEL_PR}" + +MULTI_CONFIG_BASE_SUFFIX = "" + +KERNEL_GIT_URI = "git://git.ti.com/sitara-linux/sitara-linux.git" +KERNEL_GIT_PROTOCOL = "git" +SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ + file://defconfig \ + "