Skip to contentSkip to conversation

linux-keystone: Update to linux kernel version 3.10

PATCH Superseded Sam Nelson 3 participants 6 messages Feb 4, 2014 – Feb 5, 2014

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v3 1/1 linux-keystone: Update to linux kernel version 3.10

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10
---

---
 .../defconfig                                      |    0
 ...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} |   26 +++++++++++---------
 2 files changed, 15 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-keystone-3.10}/defconfig (100%)
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-keystone_3.10.bb} (59%)
recipes-kernel/linux/linux-keystone-3.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/defconfig
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +15 -11
similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.bb
index d176f14..3ddd195 100644
@@ -3,26 +3,30 @@ 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+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
 
-# 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}"
+S = "${WORKDIR}/git"
+
+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
Quoted 79 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Nelson, Sam
Sent: Tuesday, February 04, 2014 2:17 PM
To: [email protected]
Subject: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel version 3.10

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10
---
---
.../defconfig | 0
...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} | 26
+++++++++++---------

2 files changed, 15 insertions(+), 11 deletions(-)

rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux- keystone-3.10}/defconfig (100%)
rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux- keystone_3.10.bb} (59%)

recipes-kernel/linux/linux-keystone-3.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/defconfig
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.bb
index d176f14..3ddd195 100644
@@ -3,26 +3,30 @@ DESCRIPTION = "Linux kernel for TI Keystone

devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+COMPATIBLE_MACHINE = "keystone"
+

inherit kernel

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+

KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +5 -5
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -1
+           file://defconfig\
+           "
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause

a rebuild

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

Quoted 5 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -2
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""

Why are you blanking the RDEPENDS? I'm not sure of the issue being fixed here.

Quoted 12 lines

-SRC_URI = "git://arago-project.org/git/projects/linux- keystone.git;protocol=git;branch=${BRANCH}\

recipes-kernel/linux/linux-keystone_3.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

#2 lore raw
Quoted 77 lines · Chase
Quoted 77 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Nelson, Sam
Sent: Tuesday, February 04, 2014 2:17 PM
To: [email protected]
Subject: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel version 3.10

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10
---
---
.../defconfig | 0
...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} | 26
+++++++++++---------

2 files changed, 15 insertions(+), 11 deletions(-)

rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux- keystone-3.10}/defconfig (100%)
rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux- keystone_3.10.bb} (59%)

recipes-kernel/linux/linux-keystone-3.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/defconfig
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.bb
index d176f14..3ddd195 100644
@@ -3,26 +3,30 @@ DESCRIPTION = "Linux kernel for TI Keystone

devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+COMPATIBLE_MACHINE = "keystone"
+

inherit kernel

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+

KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +5 -5
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-

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

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

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

Quoted 7 lines

-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -2
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""

Why are you blanking the RDEPENDS? I'm not sure of the issue being fixed here.

To not have the huge vmlinux image in /boot directory on the rootfs - it's only needed for oprofile, kernel profiling and debuging. MCSDK instructs users to install the image manually from the package, if they need it.

Quoted 15 lines
Quoted 11 lines

-SRC_URI = "git://arago-project.org/git/projects/linux- keystone.git;protocol=git;branch=${BRANCH}\

recipes-kernel/linux/linux-keystone_3.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
Quoted 97 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Tuesday, February 04, 2014 6:16 PM
To: Maupin, Chase
Cc: Nelson, Sam; [email protected]
Subject: Re: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel version 3.10

Quoted 29 lines · Chase
Quoted 29 lines

-----Original Message-----
From: [email protected] [mailto:meta-ti- [email protected]] On Behalf Of Nelson, Sam
Sent: Tuesday, February 04, 2014 2:17 PM
To: [email protected]
Subject: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel version 3.10

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10
---
---
.../defconfig | 0
...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} | 26
+++++++++++---------

2 files changed, 15 insertions(+), 11 deletions(-)

rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux- keystone-3.10}/defconfig (100%)
rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux- keystone_3.10.bb} (59%)

Quoted 1 line

Review

Quoted 1 line
(quoted diff) +0 -0

3.8.4/defconfig

Quoted 40 lines
Quoted 40 lines

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -0
similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.bb
index d176f14..3ddd195 100644
@@ -3,26 +3,30 @@ DESCRIPTION = "Linux kernel for TI Keystone

devices"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -0
+COMPATIBLE_MACHINE = "keystone"
+

inherit kernel

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -0
+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+

KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +4 -3
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
Quoted 8 lines

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

Quoted 8 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +1 -2
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-

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

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -1
+           file://defconfig\
+           "
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will

cause

Quoted 8 lines

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

Quoted 6 lines

a rebuild

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -2
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+S = "${WORKDIR}/git"
+
+RDEPENDS_kernel-base = ""

Why are you blanking the RDEPENDS? I'm not sure of the issue

Quoted 8 lines

being fixed here.

To not have the huge vmlinux image in /boot directory on the rootfs - it's
only needed for oprofile, kernel profiling and debuging. MCSDK instructs
users to install the image manually from the package, if they need it.

OK. Makes sense. Thanks and Ack

Quoted 17 lines
Quoted 17 lines
Quoted 9 lines

-SRC_URI = "git://arago-project.org/git/projects/linux- keystone.git;protocol=git;branch=${BRANCH}\

recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +0 -3
-           file://defconfig\
-          "
--

1.7.9.5

Quoted 4 lines

_______________________________________________
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

#4 lore raw
In reply to Sam Nelson
Quoted 10 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10

Ok, I think Chase and I have confused you a bit here...

Initially, you already had the recipe named as linux-keystone_3.10.bb and I made a comment that you might want to consider setting PV = "3.10.10" to indicate this stable version in the resulting package:

http://article.gmane.org/gmane.linux.embedded.yocto.meta-ti/3285

It wasn't probably very clear, since you then renamed the recipe to linux-keystone_3.10.10.bb and after another Chase' comment reverted back to linux-keystone_3.10.bb, but still there's no PV being set to the full version.

The best illustration may be to look at the change history of our linux-ti-staging_3.12.bb recipe:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/log/recipes-kernel/linux/linux-ti-staging_3.12.bb

Take a look at those commits, but few things to note:

1. it has _3.12 in the filename, so no renames for stable updates
2. it has actual PV = "3.12.9" which follows the stable version of kernel
3. when SRCREV is updated, but PV stays the same, you bump MACHINE_KERNEL_PR
4. when SRCREV is updated along with PV, you want to reset MACHINE_KERNEL_PR

Signature · 1 line
Denys
Quoted 68 lines

---

---
 .../defconfig                                      |    0
 ...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} |   26 +++++++++++---------
 2 files changed, 15 insertions(+), 11 deletions(-)
 rename recipes-kernel/linux/{linux-keystone-3.8.4 => linux-keystone-3.10}/defconfig (100%)
 rename recipes-kernel/linux/{linux-keystone_3.8.4.bb => linux-keystone_3.10.bb} (59%)
recipes-kernel/linux/linux-keystone-3.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/defconfig
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +15 -11
similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb
rename to recipes-kernel/linux/linux-keystone_3.10.bb
index d176f14..3ddd195 100644
@@ -3,26 +3,30 @@ 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+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-linux/linux.git;protocol=git;branch=${BRANCH}\
+           file://defconfig\
+           "
 
-# 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}"
+S = "${WORKDIR}/git"
+
+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
#5 lore raw

Thanks for clarifying.

Quoted 26 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Wednesday, February 05, 2014 2:45 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel version 3.10

Quoted 10 lines · Sam Nelson

- Updated Source URL & version
- Added device tree file
- Added LOADADDR extra args

---
Changes from last revision of patch
- Added LOADADDR extra args
- Name change to from 3.10.10--> 3.10

Ok, I think Chase and I have confused you a bit here...

Initially, you already had the recipe named as linux-keystone_3.10.bb and I made a comment that you might want to consider setting PV = "3.10.10" to indicate this stable version in the resulting package:

Quoted 6 lines

http://article.gmane.org/gmane.linux.embedded.yocto.meta-ti/3285

It wasn't probably very clear, since you then renamed the recipe to linux-keystone_3.10.10.bb and after another Chase' comment reverted back to
linux-keystone_3.10.bb, but still there's no PV being set to the full version.

[Sam] OK. I will add the PV. But looks like I need to rename also linux-keystone-3.10/defconfig --> linux-keystone/defconfig to get the build working. I will send the updated patch.

Quoted 97 lines

The best illustration may be to look at the change history of our linux-ti-staging_3.12.bb recipe:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/log/recipes-
kernel/linux/linux-ti-staging_3.12.bb

Take a look at those commits, but few things to note:

1. it has _3.12 in the filename, so no renames for stable updates
2. it has actual PV = "3.12.9" which follows the stable version of kernel
3. when SRCREV is updated, but PV stays the same, you bump MACHINE_KERNEL_PR
4. when SRCREV is updated along with PV, you want to reset MACHINE_KERNEL_PR

--
Denys

Quoted 4 lines

---

---
 .../defconfig                                      |    0
 ...ux-keystone_3.8.4.bb => linux-keystone_3.10.bb} |   26 +++++++++++-----

----

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

3.10}/defconfig (100%)

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

keystone_3.10.bb} (59%)

recipes-

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

kernel/linux/linux-keystone-3.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/defconfig

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

kernel/linux/linux-keystone_3.10.bb

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

Quoted 9 lines

similarity index 59%
rename from recipes-kernel/linux/linux-keystone_3.8.4.bb rename to recipes-kernel/linux/linux-keystone_3.10.bb index d176f14..3ddd195 100644

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

"file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"

Quoted 16 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +6 -1
+COMPATIBLE_MACHINE = "keystone"
+
 inherit kernel
 
 require recipes-kernel/linux/linux-dtb.inc
 require recipes-kernel/linux/setup-defconfig.inc
 
+MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
+PR = "${MACHINE_KERNEL_PR}"
+
 KERNEL_DEVICETREE_keystone-evm = "k2hk-evm.dtb"
 
-COMPATIBLE_MACHINE = "keystone"
+KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 

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

Quoted 10 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +4 -4
-S = "${WORKDIR}/git"
+#This commit corresponds to "K2_LINUX_03.10.10_13.12"
+SRCREV = "335d14b1c2ce23585835243126c6acba89067ecf"
 
-BRANCH = "sept-2013/master"
+BRANCH = "master"
 
-# This commit corresponds to K2_LINUX_03.08.04_13.09 tag
-SRCREV = "20a48dc5309c4434650baef2b6072b5f1016f946"
+SRC_URI = "git://git.ti.com/keystone-

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

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

Quoted 4 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +2 -1
+           file://defconfig\
+           "
 
-# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a

rebuild

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

Quoted 7 lines
recipes-kernel/linux/linux-keystone_3.10.bb renamed from recipes-kernel/linux/linux-keystone_3.8.4.bb +3 -3
-MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
-PR = "${MACHINE_KERNEL_PR}"
+S = "${WORKDIR}/git"
+
+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.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