Skip to contentSkip to conversation

linux-keystone: Create recipe for linux-keystone kernel version 3.10

PATCH In review Sam Nelson 3 participants 4 messages Jan 31, 2014

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v2 1/1 linux-keystone: Create recipe for linux-keystone kernel version 3.10

- Updated Source URL & version
- Added device tree file

-----
Changes from last patch
Renamed recipe from 3.10--> 3.10.10
Removed directory path from dtb file
Removed do_deploy_append
----

---
 .../defconfig                                      |    0
 ...keystone_3.8.4.bb => linux-keystone_3.10.10.bb} |   25 +++++++++++---------
 2 files changed, 14 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-keystone-3.10.10}/defconfig (100%)
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-keystone_3.10.10.bb} (50%)
recipes-kernel/linux/linux-keystone-3.10.10/defconfig renamed from recipes-kernel/linux/linux-keystone-3.8.4/defconfig +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-keystone-3.8.4/defconfig
rename to recipes-kernel/linux/linux-keystone-3.10.10/defconfig
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +14 -11
similarity index 50%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.10.bb
index d176f14..a5c113e 100644
@@ -3,26 +3,29 @@ DESCRIPTION = "Linux kernel for TI Keystone devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+COMPATIBLE_MACHINE = "keystone"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+MACHINE_KERNEL_PR_append = "a"
+
+CORTEXA8FIXUP = "no"
+
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-S = "${WORKDIR}/git"
+BRANCH = "master"
 
-BRANCH = "sept-2013/master"
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+S = "${WORKDIR}/git"
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+RDEPENDS_kernel-base = ""
 
-SRC_URI = "git://arago-project.org/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH}\
-           file://defconfig\
-          "
Signature · 1 line
1.7.9.5
#1 lore raw

Sam,

This is much better! And easier to compare against the previous version too. I'll take it as is, although there are couple very minor comments below...

Quoted 6 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file

-----

Should be exactly "---" as the one below or instead of that, so it won't go into the commit message.

Quoted 25 lines

Changes from last patch
Renamed recipe from 3.10--> 3.10.10
Removed directory path from dtb file
Removed do_deploy_append
----

---
 .../defconfig                                      |    0
 ...keystone_3.8.4.bb => linux-keystone_3.10.10.bb} |   25 +++++++++++---------
 2 files changed, 14 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-keystone-3.10.10}/defconfig (100%)
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-keystone_3.10.10.bb} (50%)
recipes-kernel/linux/linux-keystone-3.10.10/defconfig renamed from recipes-kernel/linux/linux-keystone-3.8.4/defconfig +0 -0
similarity index 100%
rename from recipes-kernel/linux/linux-keystone-3.8.4/defconfig
rename to recipes-kernel/linux/linux-keystone-3.10.10/defconfig
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
similarity index 50%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.10.bb
index d176f14..a5c113e 100644
@@ -3,26 +3,29 @@ DESCRIPTION = "Linux kernel for TI Keystone devices"
 LICENSE = "GPLv2"

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 13

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
+COMPATIBLE_MACHINE = "keystone"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+MACHINE_KERNEL_PR_append = "a"

1. You might want to also add "+gitr${SRCPV}" so git commit ID gets into package version and file name. Useful when you have several builds from different points in git which are all 3.10.10 etc. But it's up to you.

2. Having PR = "${MACHINE_KERNEL_PR}" is also useful for others, when not using meta-openembedded layer and its machine_kernel_pr.bbclass...

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 15

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+
+CORTEXA8FIXUP = "no"

I don't think this is needed any more...

Quoted 33 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +8 -11
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-S = "${WORKDIR}/git"
+BRANCH = "master"
 
-BRANCH = "sept-2013/master"
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+S = "${WORKDIR}/git"
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+RDEPENDS_kernel-base = ""
 
-SRC_URI = "git://arago-project.org/git/projects/linux-keystone.git;protocol=git;branch=${BRANCH}\
-           file://defconfig\
-          "
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw
Quoted 52 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Dmytriyenko, Denys
Sent: Friday, January 31, 2014 1:07 AM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] linux-keystone: Create recipe for linux-keystone kernel version 3.10

Sam,

This is much better! And easier to compare against the previous version too.
I'll take it as is, although there are couple very minor comments below...

Quoted 6 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file

-----

Should be exactly "---" as the one below or instead of that, so it won't go
into the commit message.

Quoted 8 lines

Changes from last patch
Renamed recipe from 3.10--> 3.10.10
Removed directory path from dtb file
Removed do_deploy_append
----

---
 .../defconfig                                      |    0
 ...keystone_3.8.4.bb => linux-keystone_3.10.10.bb} |   25

+++++++++++---------

Quoted 2 lines
 2 files changed, 14 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-

keystone-3.10.10}/defconfig (100%)

Quoted 1 line
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-

keystone_3.10.10.bb} (50%)

Review

Quoted 2 lines
(quoted diff) +0 -0

b/recipes-kernel/linux/linux-keystone-3.10.10/defconfig

Review

Quoted 4 lines

similarity index 100%
rename from recipes-kernel/linux/linux-keystone-3.8.4/defconfig rename to recipes-kernel/linux/linux-keystone-3.10.10/defconfig

(quoted diff) +0 -0

b/recipes-kernel/linux/linux-keystone_3.10.10.bb

Quoted 6 lines

recipes-kernel/linux/linux-keystone_3.10.10.bb

Quoted 6 lines

similarity index 50%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb rename to recipes-kernel/linux/linux-keystone_3.10.10.bb index d176f14..a5c113e 100644

recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0

I would comment that since 3.10 is an LTS and you probably expect updates to it maybe having the release version is not a good idea. For example just call it 3.10 and set the version to 3.10.10 inside the recipe or just leave it 3.10 and set KVER rather than chaning the recipe name for each update.

Quoted 73 lines

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone

Quoted 1 line
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
@@ -3,26 +3,29 @@ DESCRIPTION = "Linux kernel for TI Keystone

devices"

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone · line 4

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 13

Quoted 9 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
+COMPATIBLE_MACHINE = "keystone"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+MACHINE_KERNEL_PR_append = "a"

1. You might want to also add "+gitr${SRCPV}" so git commit ID gets into
package version and file name. Useful when you have several builds from
different points in git which are all 3.10.10 etc. But it's up to you.

2. Having PR = "${MACHINE_KERNEL_PR}" is also useful for others, when not
using meta-openembedded layer and its machine_kernel_pr.bbclass...

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone · line 14

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+
+CORTEXA8FIXUP = "no"

I don't think this is needed any more...

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 11 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +4 -3
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-S = "${WORKDIR}/git"
+BRANCH = "master"
 
-BRANCH = "sept-2013/master"
+SRC_URI = "git://git.ti.com/keystone-

linux/linux.git;protocol=git;branch=${BRANCH}\

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -3
+           file://defconfig\
+           "
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+S = "${WORKDIR}/git"
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will

cause a rebuild

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 5 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +1 -3
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+RDEPENDS_kernel-base = ""
 
-SRC_URI = "git://arago-project.org/git/projects/linux-

keystone.git;protocol=git;branch=${BRANCH}\

Quoted 9 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -3
-           file://defconfig\
-          "
--

1.7.9.5

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

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

#3 lore raw
In reply to Denys Dmytriyenko

Denys,
Thanks for your feedback. Appreciate it.

Quoted 118 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Friday, January 31, 2014 2:07 AM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v2] linux-keystone: Create recipe for linux- keystone kernel version 3.10

Sam,

This is much better! And easier to compare against the previous version too. I'll take it as is, although there are couple very minor comments below...

Quoted 6 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file

-----

Should be exactly "---" as the one below or instead of that, so it won't go into the commit message.

Quoted 8 lines

Changes from last patch
Renamed recipe from 3.10--> 3.10.10
Removed directory path from dtb file
Removed do_deploy_append
----

---
 .../defconfig                                      |    0
 ...keystone_3.8.4.bb => linux-keystone_3.10.10.bb} |   25 +++++++++++-----

----

Quoted 2 lines
 2 files changed, 14 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-keystone-

3.10.10}/defconfig (100%)

Quoted 1 line
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-

keystone_3.10.10.bb} (50%)

recipes-

Quoted 2 lines
recipes- renamed from recipes-kernel/linux/linux-keystone-3.8.4/defconfig +0 -0

kernel/linux/linux-keystone-3.10.10/defconfig

recipes-

Quoted 4 lines

similarity index 100%
rename from recipes-kernel/linux/linux-keystone-3.8.4/defconfig rename to recipes-kernel/linux/linux-keystone-3.10.10/defconfig

recipes- renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0

kernel/linux/linux-keystone_3.10.10.bb

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 4

Quoted 9 lines

similarity index 50%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb rename to recipes-kernel/linux/linux-keystone_3.10.10.bb index d176f14..a5c113e 100644

recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
@@ -3,26 +3,29 @@ DESCRIPTION = "Linux kernel for TI Keystone devices"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM =

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 13

Quoted 9 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
+COMPATIBLE_MACHINE = "keystone"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+MACHINE_KERNEL_PR_append = "a"

1. You might want to also add "+gitr${SRCPV}" so git commit ID gets into package version and file name. Useful when you have several builds from different points in git which are all 3.10.10 etc. But it's up to you.

2. Having PR = "${MACHINE_KERNEL_PR}" is also useful for others, when not using meta-openembedded layer and its machine_kernel_pr.bbclass...

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices" · line 14

Quoted 2 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+
+CORTEXA8FIXUP = "no"

I don't think this is needed any more...

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 11 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +4 -3
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-S = "${WORKDIR}/git"
+BRANCH = "master"
 
-BRANCH = "sept-2013/master"
+SRC_URI = "git://git.ti.com/keystone-

linux/linux.git;protocol=git;branch=${BRANCH}\

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -3
+           file://defconfig\
+           "
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+S = "${WORKDIR}/git"
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a

rebuild

recipes-kernel/linux/linux-keystone_3.10.10.bb DESCRIPTION = "Linux kernel for TI Keystone devices"

Quoted 5 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +1 -3
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+RDEPENDS_kernel-base = ""
 
-SRC_URI = "git://arago-project.org/git/projects/linux-

keystone.git;protocol=git;branch=${BRANCH}\

Quoted 9 lines
recipes-kernel/linux/linux-keystone_3.10.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -3
-           file://defconfig\
-          "
--

1.7.9.5

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