[meta-ti] [PATCHv3] recipes-kernel: Add GLSDK specific kernel tree for omap-a15

Denys Dmytriyenko denys at ti.com
Thu Jun 27 09:29:31 PDT 2013


On Thu, Jun 27, 2013 at 09:37:37PM +0530, Siddharth Heroor wrote:
> On 6/27/2013 9:35 PM, Denys Dmytriyenko wrote:
> > You forgot v2 portion now, sorry... :)
> 
> Actually, I ran with --find-copies-harder -M. As you can see in the
> patch, it identifies that defconfig is copied over, but doesn't
> recognize the kernel recipe is a file copy.
> 
> Not sure why git didn't recognize it, but the command was run.

Ah, I see. I guess with the addition of DEFAULT_PREFERENCE line the similarity 
is less than 75% with the original. I believe that is the default threshold, 
which you can lower by passing a parameter to either -M (for renames) or -C 
(for copies):

$ git format-patch -C50% --find-copies-harder -1

You can play with it and decide for yourself - at some point the similarity 
is so low, the differences are larger than the entire new file. Plus git 
starts making mistakes on low similarity copies/renames...

Either way, I will take this patch as is, no need to re-submit.


> > On Thu, Jun 27, 2013 at 09:29:32PM +0530, Siddharth Heroor wrote:
> >> * Machine compatible with only omap-a15 devices.
> >> * The TI Staging tree will not be used to maintain K3.8. Instead,
> >>   this new tree is set up as a production tree. Pending features
> >>   for 3.8 will be implemented on this tree.
> >>   - Backported features from linux mainline
> >>   - Backported bug-fixes from linux mainline and linux-stable.
> >>   - Features implemented by the GLSDK team which maybe product
> >>     specific.
> >>   This is the tree on which GLSDK kernel releases will be made.
> >> * This recipe is based off the Core SDK 2013.04.02 released kernel
> >>   recipe - recipes-kernel/linux/linux-ti-staging_3.8.bb
> > 
> > BTW, if you don't want the patch changes to show up in the git history, you 
> > can separate them with a '---' line that is after SOB/CC lines below.
> > 
> > 
> >> v2:
> >>     Regenerate the patch using --find-copies-harder -M
> >>
> >> v3:
> >>
> >> * Set DEFAULT_PREFERENCE = -1. This will be overridden in the
> >>   glsdk branding in meta-arago.
> >> * Set MACHINE_KERNEL_PR_append to 'a+'. The basis for this
> >>   recipe is linux-ti-staging_3.8.bb, but since a new recipe is
> >>   created, we reset.
> >> * Remove comment on Core SDK version to avoid confusion.
> >>
> >> Signed-off-by: Siddharth Heroor <heroor at ti.com>
> >> cc: Mrinmayee Hingolikar <mrinmayee at ti.com>
> >> ---
> >>  .../{linux-ti-staging => linux-ti-glsdk}/defconfig |    0
> >>  recipes-kernel/linux/linux-ti-glsdk_3.8.bb         |   31 ++++++++++++++++++++
> >>  2 files changed, 31 insertions(+), 0 deletions(-)
> >>  copy recipes-kernel/linux/{linux-ti-staging => linux-ti-glsdk}/defconfig (100%)
> >>  create mode 100644 recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> >>
> >> diff --git a/recipes-kernel/linux/linux-ti-staging/defconfig b/recipes-kernel/linux/linux-ti-glsdk/defconfig
> >> similarity index 100%
> >> copy from recipes-kernel/linux/linux-ti-staging/defconfig
> >> copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
> >> diff --git a/recipes-kernel/linux/linux-ti-glsdk_3.8.bb b/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> >> new file mode 100644
> >> index 0000000..2746188
> >> --- /dev/null
> >> +++ b/recipes-kernel/linux/linux-ti-glsdk_3.8.bb
> >> @@ -0,0 +1,31 @@
> >> +SECTION = "kernel"
> >> +DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK product"
> >> +LICENSE = "GPLv2"
> >> +LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
> >> +KERNEL_IMAGETYPE = "uImage"
> >> +
> >> +inherit kernel
> >> +
> >> +require recipes-kernel/linux/linux-dtb.inc
> >> +require recipes-kernel/linux/setup-defconfig.inc
> >> +
> >> +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 = "omap-a15"
> >> +
> >> +DEFAULT_PREFERENCE = "-1"
> >> +
> >> +S = "${WORKDIR}/git"
> >> +
> >> +BRANCH = "master"
> >> +
> >> +SRCREV = "4e8193eb3b7465d7f67cd8c7e6c2ed99dad1a483"
> >> +PV = "3.8.13"
> >> +
> >> +# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
> >> +MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
> >> +
> >> +SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-3-8-y-kernel.git;protocol=git;branch=${BRANCH} \
> >> +           file://defconfig \
> >> +          "
> >> -- 
> >> 1.7.0.4
> >>
> >> _______________________________________________
> >> meta-ti mailing list
> >> meta-ti at yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-ti
> 



More information about the meta-ti mailing list