All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] linux-keystone: Update to linux kernel version 3.10
@ 2014-02-04 19:16 Sam Nelson
  2014-02-04 22:41 ` Maupin, Chase
  2014-02-05 19:45 ` Denys Dmytriyenko
  0 siblings, 2 replies; 6+ messages in thread
From: Sam Nelson @ 2014-02-04 19:16 UTC (permalink / raw)
  To: meta-ti

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

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
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%)

diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig 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
diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb b/recipes-kernel/linux/linux-keystone_3.10.bb
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
--- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
+++ b/recipes-kernel/linux/linux-keystone_3.10.bb
@@ -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\
-          "
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] linux-keystone: Update to linux kernel version 3.10
  2014-02-04 19:16 [PATCH v3] linux-keystone: Update to linux kernel version 3.10 Sam Nelson
@ 2014-02-04 22:41 ` Maupin, Chase
  2014-02-04 23:15   ` Denys Dmytriyenko
  2014-02-05 19:45 ` Denys Dmytriyenko
  1 sibling, 1 reply; 6+ messages in thread
From: Maupin, Chase @ 2014-02-04 22:41 UTC (permalink / raw)
  To: Nelson, Sam, meta-ti

>-----Original Message-----
>From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
>bounces@yoctoproject.org] On Behalf Of Nelson, Sam
>Sent: Tuesday, February 04, 2014 2:17 PM
>To: meta-ti@yoctoproject.org
>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
>
>Signed-off-by: Sam Nelson <sam.nelson@ti.com>
>
>---
>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%)
>
>diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig
>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
>diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb
>b/recipes-kernel/linux/linux-keystone_3.10.bb
>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
>--- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
>+++ b/recipes-kernel/linux/linux-keystone_3.10.bb
>@@ -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 = ""

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

>
>-SRC_URI = "git://arago-project.org/git/projects/linux-
>keystone.git;protocol=git;branch=${BRANCH}\
>-           file://defconfig\
>-          "
>--
>1.7.9.5
>
>_______________________________________________
>meta-ti mailing list
>meta-ti@yoctoproject.org
>https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] linux-keystone: Update to linux kernel version 3.10
  2014-02-04 22:41 ` Maupin, Chase
@ 2014-02-04 23:15   ` Denys Dmytriyenko
  2014-02-05 13:37     ` Maupin, Chase
  0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2014-02-04 23:15 UTC (permalink / raw)
  To: Maupin, Chase; +Cc: meta-ti

On Tue, Feb 04, 2014 at 10:41:46PM +0000, Maupin, Chase wrote:
> >-----Original Message-----
> >From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> >bounces@yoctoproject.org] On Behalf Of Nelson, Sam
> >Sent: Tuesday, February 04, 2014 2:17 PM
> >To: meta-ti@yoctoproject.org
> >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
> >
> >Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >
> >---
> >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%)
> >
> >diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig
> >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
> >diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb
> >b/recipes-kernel/linux/linux-keystone_3.10.bb
> >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
> >--- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
> >+++ b/recipes-kernel/linux/linux-keystone_3.10.bb
> >@@ -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 = ""
> 
> 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.


> >-SRC_URI = "git://arago-project.org/git/projects/linux-
> >keystone.git;protocol=git;branch=${BRANCH}\
> >-           file://defconfig\
> >-          "
> >--
> >1.7.9.5
> >
> >_______________________________________________
> >meta-ti mailing list
> >meta-ti@yoctoproject.org
> >https://lists.yoctoproject.org/listinfo/meta-ti
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] linux-keystone: Update to linux kernel version 3.10
  2014-02-04 23:15   ` Denys Dmytriyenko
@ 2014-02-05 13:37     ` Maupin, Chase
  0 siblings, 0 replies; 6+ messages in thread
From: Maupin, Chase @ 2014-02-05 13:37 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti

>-----Original Message-----
>From: Dmytriyenko, Denys
>Sent: Tuesday, February 04, 2014 6:16 PM
>To: Maupin, Chase
>Cc: Nelson, Sam; meta-ti@yoctoproject.org
>Subject: Re: [meta-ti] [PATCH v3] linux-keystone: Update to linux
>kernel version 3.10
>
>On Tue, Feb 04, 2014 at 10:41:46PM +0000, Maupin, Chase wrote:
>> >-----Original Message-----
>> >From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
>> >bounces@yoctoproject.org] On Behalf Of Nelson, Sam
>> >Sent: Tuesday, February 04, 2014 2:17 PM
>> >To: meta-ti@yoctoproject.org
>> >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
>> >
>> >Signed-off-by: Sam Nelson <sam.nelson@ti.com>
>> >
>> >---
>> >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%)
>> >
>> >diff --git a/recipes-kernel/linux/linux-keystone-
>3.8.4/defconfig
>> >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
>> >diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb
>> >b/recipes-kernel/linux/linux-keystone_3.10.bb
>> >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
>> >--- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
>> >+++ b/recipes-kernel/linux/linux-keystone_3.10.bb
>> >@@ -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 = ""
>>
>> 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.

OK.  Makes sense.  Thanks and Ack

>
>
>> >-SRC_URI = "git://arago-project.org/git/projects/linux-
>> >keystone.git;protocol=git;branch=${BRANCH}\
>> >-           file://defconfig\
>> >-          "
>> >--
>> >1.7.9.5
>> >
>> >_______________________________________________
>> >meta-ti mailing list
>> >meta-ti@yoctoproject.org
>> >https://lists.yoctoproject.org/listinfo/meta-ti
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] linux-keystone: Update to linux kernel version 3.10
  2014-02-04 19:16 [PATCH v3] linux-keystone: Update to linux kernel version 3.10 Sam Nelson
  2014-02-04 22:41 ` Maupin, Chase
@ 2014-02-05 19:45 ` Denys Dmytriyenko
  2014-02-05 22:48   ` Nelson, Sam
  1 sibling, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2014-02-05 19:45 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-ti

On Tue, Feb 04, 2014 at 02:16:32PM -0500, Sam Nelson wrote:
> - Updated Source URL & version
> - Added device tree file
> - Added LOADADDR extra args
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> ---
> 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

-- 
Denys


> ---
> ---
>  .../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%)
> 
> diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig 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
> diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb b/recipes-kernel/linux/linux-keystone_3.10.bb
> 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
> --- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
> +++ b/recipes-kernel/linux/linux-keystone_3.10.bb
> @@ -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\
> -          "
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v3] linux-keystone: Update to linux kernel version 3.10
  2014-02-05 19:45 ` Denys Dmytriyenko
@ 2014-02-05 22:48   ` Nelson, Sam
  0 siblings, 0 replies; 6+ messages in thread
From: Nelson, Sam @ 2014-02-05 22:48 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-ti

Thanks for clarifying.

> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Wednesday, February 05, 2014 2:45 PM
> To: Nelson, Sam
> Cc: meta-ti@yoctoproject.org
> Subject: Re: [meta-ti] [PATCH v3] linux-keystone: Update to linux kernel
> version 3.10
> 
> On Tue, Feb 04, 2014 at 02:16:32PM -0500, Sam Nelson wrote:
> > - Updated Source URL & version
> > - Added device tree file
> > - Added LOADADDR extra args
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> >
> > ---
> > 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.
[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.
> 
> 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
> 
> 
> > ---
> > ---
> >  .../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%)
> >
> > diff --git a/recipes-kernel/linux/linux-keystone-3.8.4/defconfig 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
> > diff --git a/recipes-kernel/linux/linux-keystone_3.8.4.bb b/recipes-
> kernel/linux/linux-keystone_3.10.bb
> > 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
> > --- a/recipes-kernel/linux/linux-keystone_3.8.4.bb
> > +++ b/recipes-kernel/linux/linux-keystone_3.10.bb
> > @@ -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\
> > -          "
> > --
> > 1.7.9.5
> >
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-05 22:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-04 19:16 [PATCH v3] linux-keystone: Update to linux kernel version 3.10 Sam Nelson
2014-02-04 22:41 ` Maupin, Chase
2014-02-04 23:15   ` Denys Dmytriyenko
2014-02-05 13:37     ` Maupin, Chase
2014-02-05 19:45 ` Denys Dmytriyenko
2014-02-05 22:48   ` Nelson, Sam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.