Skip to contentSkip to conversation

recipes-kernel: Add GLSDK specific kernel tree for omap-a15

PATCH In review Siddharth Heroor 3 participants 5 messages Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 recipes-kernel: Add GLSDK specific kernel tree for omap-a15

* 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

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.

cc Mrinmayee Hingolikar <[email protected]>
---
 .../{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
recipes-kernel/linux/linux-ti-glsdk/defconfig renamed from recipes-kernel/linux/linux-ti-staging/defconfig +0 -0
similarity index 100%
copy from recipes-kernel/linux/linux-ti-staging/defconfig
copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +31 -0
new file mode 100644
index 0000000..2746188
@@ -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 \
+          "
Signature · 1 line
1.7.0.4
#1 lore raw

You forgot v2 portion now, sorry... :)

Quoted 11 lines · Siddharth Heroor

* 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.

Quoted 69 lines

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.

cc Mrinmayee Hingolikar <[email protected]>
---
 .../{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
recipes-kernel/linux/linux-ti-glsdk/defconfig renamed from recipes-kernel/linux/linux-ti-staging/defconfig +0 -0
similarity index 100%
copy from recipes-kernel/linux/linux-ti-staging/defconfig
copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +31 -0
new file mode 100644
index 0000000..2746188
@@ -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 \
+          "
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 1 line · Denys Dmytriyenko

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.

Quoted 87 lines · Siddharth Heroor
Quoted 11 lines

* 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.

Quoted 69 lines

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.

cc Mrinmayee Hingolikar <[email protected]>
---
 .../{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
recipes-kernel/linux/linux-ti-glsdk/defconfig renamed from recipes-kernel/linux/linux-ti-staging/defconfig +0 -0
similarity index 100%
copy from recipes-kernel/linux/linux-ti-staging/defconfig
copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +31 -0
new file mode 100644
index 0000000..2746188
@@ -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 \
+          "
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
Acked-by on v3 1/1
#4 lore raw
In reply to Siddharth Heroor
Quoted 98 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Heroor, Siddharth
Sent: Thursday, June 27, 2013 11:00 AM
To: [email protected]
Subject: [meta-ti] [PATCHv3] recipes-kernel: Add GLSDK specific kernel tree for omap-a15

* 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

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.

cc Mrinmayee Hingolikar <[email protected]>

---
.../{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

recipes-kernel/linux/linux-ti-glsdk/defconfig renamed from recipes-kernel/linux/linux-ti-staging/defconfig +0 -0
similarity index 100%
copy from recipes-kernel/linux/linux-ti-staging/defconfig
copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
recipes- renamed from recipes-kernel/linux/linux-ti-glsdk_3.8.bb +0 -0

kernel/linux/linux-ti-glsdk_3.8.bb
new file mode 100644
index 0000000..2746188

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +2 -0
@@ -0,0 +1,31 @@
+SECTION = "kernel"
+DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK

product"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +2 -0
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +8 -0
+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"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +14 -0
+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

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +3 -0
+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} \

recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +2 -1
+           file://defconfig \
+          "
--

1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#3 lore raw
In reply to Siddharth Heroor
Quoted 8 lines · Siddharth Heroor
Quoted 1 line · Denys Dmytriyenko

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.

Quoted 87 lines
Quoted 86 lines · Siddharth Heroor
Quoted 11 lines

* 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.

Quoted 69 lines

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.

cc Mrinmayee Hingolikar <[email protected]>
---
 .../{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
recipes-kernel/linux/linux-ti-glsdk/defconfig renamed from recipes-kernel/linux/linux-ti-staging/defconfig +0 -0
similarity index 100%
copy from recipes-kernel/linux/linux-ti-staging/defconfig
copy to recipes-kernel/linux/linux-ti-glsdk/defconfig
recipes-kernel/linux/linux-ti-glsdk_3.8.bb new file +31 -0
new file mode 100644
index 0000000..2746188
@@ -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 \
+          "
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti