X-Git-Url: https://git.ti.com/gitweb?p=glsdk%2Fmeta-ti-glsdk.git;a=blobdiff_plain;f=recipes-kernel%2Flinux%2Flinux-ti-staging_3.8.bb;h=29ffebc2a465287d18697d3eb9e515994be15da9;hp=3353792179a6a380693ea4c300fec5350e27d4c8;hb=a8c949d455f3eea62d661c143457f7d66d481f8e;hpb=971ee4a206f512393e224b6ad6eff5fd91d6afce diff --git a/recipes-kernel/linux/linux-ti-staging_3.8.bb b/recipes-kernel/linux/linux-ti-staging_3.8.bb index 3353792..29ffebc 100644 --- a/recipes-kernel/linux/linux-ti-staging_3.8.bb +++ b/recipes-kernel/linux/linux-ti-staging_3.8.bb @@ -6,33 +6,19 @@ KERNEL_IMAGETYPE = "uImage" inherit kernel -# This function must be here BEFORE the require of linux-dtb.inc below. -# There is a "bug" in the base kernel.bbclass that after it's do_deploy -# step it does not return back to the ${S} directory but stays in the -# DEPLOY_DIR. However, the do_deploy_append defined in linux-dtb.inc -# assumes that it is being run in the ${S} directory. A patch is -# being submitted to fix this issue by either changing the do_deploy -# in the kernel.bbclass to do "cd -" as the last step or to add -# "cd ${S}" as the first line of do_deploy in linux-dtb.inc and this -# function can be removed once that change is available. -# If the function is not placed BEFORE the require then the change -# directory is not appended before the linux-dtb.inc changes. -do_deploy_append() { - cd ${S} -} - require recipes-kernel/linux/linux-dtb.inc require recipes-kernel/linux/setup-defconfig.inc -# Stage the power management firmware before building the kernel -# for ti33x SOC_FAMILY devices -DEPENDS_ti33x += "am33x-cm3" +# Add a run-time dependency for the PM firmware to be installed +# on the target file system. +RDEPENDS_kernel-base_ti33x += "am33x-cm3 am33x-cm3-initscript" # Default is to package all dts files for ti33x devices unless building # for the specific beaglebone machine. KERNEL_DEVICETREE_ti33x = "arch/arm/boot/dts/am335x-evm.dts arch/arm/boot/dts/am335x-evmsk.dts arch/arm/boot/dts/am335x-bone.dts" KERNEL_DEVICETREE_beaglebone = "arch/arm/boot/dts/am335x-bone.dts" KERNEL_DEVICETREE_omap5-evm = "arch/arm/boot/dts/omap5-sevm.dts arch/arm/boot/dts/omap5-uevm.dts" +KERNEL_DEVICETREE_dra7xx-evm = "arch/arm/boot/dts/dra7-evm.dts" COMPATIBLE_MACHINE = "ti33x|omap-a15" @@ -40,20 +26,13 @@ S = "${WORKDIR}/git" BRANCH = "ti-linux-3.8.y" -SRCREV = "a0a13c3cf6ff2ca9bf1b1c9163ba04c3c71811bd" -PV = "3.8.4" +# This commit corresponds to ti2013.04.02 release tag +SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc" +PV = "3.8.13" # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild -MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}" +MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}" SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \ file://defconfig \ " - -# Copy the am33x-cm3 firmware if it is available for ti33x SOC_FAMILY devices -do_compile_prepend_ti33x() { - if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ] - then - cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware" - fi -}