Skip to contentSkip to conversation

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

PATCH Superseded Siddharth Heroor 3 participants 3 messages Jun 27, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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
cc Mrinmayee Hingolikar <[email protected]>
---
 .../{linux-ti-staging => linux-ti-glsdk}/defconfig |    0
 ...nux-ti-staging_3.8.bb => linux-ti-glsdk_3.8.bb} |   16 ++++------------
 2 files changed, 4 insertions(+), 12 deletions(-)
 copy recipes-kernel/linux/{linux-ti-staging => linux-ti-glsdk}/defconfig (100%)
 copy recipes-kernel/linux/{linux-ti-staging_3.8.bb => linux-ti-glsdk_3.8.bb} (51%)
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 renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +4 -12
similarity index 51%
copy from recipes-kernel/linux/linux-ti-staging_3.8.bb
copy to recipes-kernel/linux/linux-ti-glsdk_3.8.bb
index 29ffebc..8d66f84 100644
@@ -1,5 +1,5 @@
 SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI devices"
+DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK product"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 KERNEL_IMAGETYPE = "uImage"
@@ -9,22 +9,14 @@ inherit kernel
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
-# 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"
+COMPATIBLE_MACHINE = "omap-a15"
 
 S = "${WORKDIR}/git"
 
-BRANCH = "ti-linux-3.8.y"
+BRANCH = "master"
 
 # This commit corresponds to ti2013.04.02 release tag
 SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc"
@@ -33,6 +25,6 @@ PV = "3.8.13"
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
 MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}"
 
-SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \
+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

Looks good. I would also recommend in the future if you create an updated version of a patch to update the patch title to reflect the new version.

Ex
[meta-ti] [PATCH v2] recipes-kernel: Add GLSDK specific kernel tree for omap-a15

On Jun 27, 2013, at 8:49 AM, "Heroor, Siddharth" <[email protected]<mailto:[email protected]>> 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

v2:
Regenerate the patch using --find-copies-harder -M

---
.../{linux-ti-staging => linux-ti-glsdk}/defconfig | 0
...nux-ti-staging_3.8.bb => linux-ti-glsdk_3.8.bb} | 16 ++++------------

2 files changed, 4 insertions(+), 12 deletions(-)

copy recipes-kernel/linux/{linux-ti-staging => linux-ti-glsdk}/defconfig (100%) copy recipes-kernel/linux/{linux-ti-staging_3.8.bb => linux-ti-glsdk_3.8.bb} (51%)

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 renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -0
similarity index 51%
copy from recipes-kernel/linux/linux-ti-staging_3.8.bb
copy to recipes-kernel/linux/linux-ti-glsdk_3.8.bb
index 29ffebc..8d66f84 100644
@@ -1,5 +1,5 @@

SECTION = "kernel"
-DESCRIPTION = "Linux kernel for TI devices"
+DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK product" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" KERNEL_IMAGETYPE = "uImage"
@@ -9,22 +9,14 @@ inherit kernel
require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc

-# 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"
+COMPATIBLE_MACHINE = "omap-a15"

S = "${WORKDIR}/git"

-BRANCH = "ti-linux-3.8.y"
+BRANCH = "master"

# This commit corresponds to ti2013.04.02 release tag
SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc"
@@ -33,6 +25,6 @@ PV = "3.8.13"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}"

-SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH} \

+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 [email protected]<mailto:[email protected]>
https://lists.yoctoproject.org/listinfo/meta-ti

#2 lore raw
In reply to Siddharth Heroor
Quoted 77 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Heroor, Siddharth
Sent: Thursday, June 27, 2013 8:49 AM
To: [email protected]
Subject: [meta-ti] [PATCH] 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
cc Mrinmayee Hingolikar <[email protected]>

---
.../{linux-ti-staging => linux-ti-glsdk}/defconfig | 0
...nux-ti-staging_3.8.bb => linux-ti-glsdk_3.8.bb} | 16 ++++---
---------

2 files changed, 4 insertions(+), 12 deletions(-)

copy recipes-kernel/linux/{linux-ti-staging => linux-ti- glsdk}/defconfig (100%)
copy recipes-kernel/linux/{linux-ti-staging_3.8.bb => linux-ti- glsdk_3.8.bb} (51%)

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 renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -0
similarity index 51%
copy from recipes-kernel/linux/linux-ti-staging_3.8.bb
copy to recipes-kernel/linux/linux-ti-glsdk_3.8.bb
index 29ffebc..8d66f84 100644
@@ -1,5 +1,5 @@

SECTION = "kernel"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +1 -1
-DESCRIPTION = "Linux kernel for TI devices"
+DESCRIPTION = "Linux kernel for TI devices supported by the GLSDK

product"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" KERNEL_IMAGETYPE = "uImage"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -0
@@ -9,22 +9,14 @@ inherit kernel

require recipes-kernel/linux/linux-dtb.inc
require recipes-kernel/linux/setup-defconfig.inc

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -5
-# 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

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -2
-# 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"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb inherit kernel · line 15

Quoted 2 lines
recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +1 -1
-COMPATIBLE_MACHINE = "ti33x|omap-a15"
+COMPATIBLE_MACHINE = "omap-a15"

Still missing the default preference change and the others I mentioned in review of v1.

Quoted 26 lines

S = "${WORKDIR}/git"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +1 -1
-BRANCH = "ti-linux-3.8.y"
+BRANCH = "master"

# This commit corresponds to ti2013.04.02 release tag SRCREV = "f3cb62a800ae37f17a3382b10d155ee02dbc83fc"

recipes-kernel/linux/linux-ti-glsdk_3.8.bb renamed from recipes-kernel/linux/linux-ti-staging_3.8.bb +0 -0
@@ -33,6 +25,6 @@ PV = "3.8.13"
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause

a rebuild
MACHINE_KERNEL_PR_append = "f+gitr${SRCPV}"

-SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux- kernel.git;protocol=git;branch=${BRANCH} \
+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
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti