All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev
@ 2017-02-18 19:50 paul
  2017-02-18 19:50 ` [meta-raspberrypi][PATCH RFC 1/3] linux-raspberrypi_dev: Use AUTOREV paul
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: paul @ 2017-02-18 19:50 UTC (permalink / raw)
  To: yocto

From: Paul Barker <paul@paulbarker.me.uk>

This is currently an RFC as I'd like some input from Khem and anyone else
interested in this before these patches get merged.

The hope is that by using AUTOREV we won't have to update the _dev recipe so
frequently in the future.

The third patch depends on a change not yet committed to oe-core. Please apply
the following patch if you'd like to test this:
    http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132499.html

Paul Barker (3):
  linux-raspberrypi_dev: Use AUTOREV
  linux-raspberrypi_dev: Allow branch override
  linux-raspberrypi_dev: Disable version sanity check

 recipes-kernel/linux/linux-raspberrypi_dev.bb | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.11.0



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

* [meta-raspberrypi][PATCH RFC 1/3] linux-raspberrypi_dev: Use AUTOREV
  2017-02-18 19:50 [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev paul
@ 2017-02-18 19:50 ` paul
  2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 2/3] linux-raspberrypi_dev: Allow branch override paul
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: paul @ 2017-02-18 19:50 UTC (permalink / raw)
  To: yocto

From: Paul Barker <paul@paulbarker.me.uk>

The development branches of linux-raspberrypi are rebased frequently. To
avoid fetch failures caused by out-of-date git hashes we need to use
AUTOREV.

LINUX_VERSION may need to be overridden in local.conf to match the
upstream version.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 recipes-kernel/linux/linux-raspberrypi_dev.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
index e45903b..8079e24 100644
--- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
@@ -2,7 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
 
 LINUX_VERSION ?= "4.10.0-rc8"
 
-SRCREV = "9aa91f43583fdb07306f962e6ee6797fba1cc62d"
+SRCREV = "${AUTOREV}"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.10.y \
            file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \
 "
-- 
2.11.0



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

* [meta-raspberrypi][PATCH RFC 2/3] linux-raspberrypi_dev: Allow branch override
  2017-02-18 19:50 [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev paul
  2017-02-18 19:50 ` [meta-raspberrypi][PATCH RFC 1/3] linux-raspberrypi_dev: Use AUTOREV paul
@ 2017-02-18 19:51 ` paul
  2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check paul
  2017-02-19  2:56 ` [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev Khem Raj
  3 siblings, 0 replies; 7+ messages in thread
From: paul @ 2017-02-18 19:51 UTC (permalink / raw)
  To: yocto

From: Paul Barker <paul@paulbarker.me.uk>

This makes the linux-raspberrypi_dev recipe more flexible by allowing
the kernel branch to be overridden in local.conf.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 recipes-kernel/linux/linux-raspberrypi_dev.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
index 8079e24..88c164b 100644
--- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
@@ -1,9 +1,10 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
 
 LINUX_VERSION ?= "4.10.0-rc8"
+LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y"
 
 SRCREV = "${AUTOREV}"
-SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.10.y \
+SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINUX_RPI_DEV_BRANCH} \
            file://0001-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch \
 "
 require linux-raspberrypi.inc
-- 
2.11.0



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

* [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check
  2017-02-18 19:50 [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev paul
  2017-02-18 19:50 ` [meta-raspberrypi][PATCH RFC 1/3] linux-raspberrypi_dev: Use AUTOREV paul
  2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 2/3] linux-raspberrypi_dev: Allow branch override paul
@ 2017-02-18 19:51 ` paul
  2017-02-19  4:08   ` Andrei Gherzan
  2017-02-19  2:56 ` [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev Khem Raj
  3 siblings, 1 reply; 7+ messages in thread
From: paul @ 2017-02-18 19:51 UTC (permalink / raw)
  To: yocto

From: Paul Barker <paul@paulbarker.me.uk>

After this change, LINUX_VERSION should not need to be changed every time
upstream bumps the kernel version.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
---
 recipes-kernel/linux/linux-raspberrypi_dev.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
index 88c164b..89ee908 100644
--- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
@@ -1,6 +1,6 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
 
-LINUX_VERSION ?= "4.10.0-rc8"
+LINUX_VERSION ?= "4.10"
 LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y"
 
 SRCREV = "${AUTOREV}"
@@ -13,3 +13,7 @@ require linux-raspberrypi.inc
 # set by default in rpi-4.8.y and later branches so we need to provide it
 # manually. This value unused if KERNEL_IMAGETYPE is not uImage.
 KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
+
+# Disable version check so that we don't have to edit this recipe every time
+# upstream bumps the version
+KERNEL_VERSION_SANITY_SKIP = "1"
-- 
2.11.0



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

* Re: [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev
  2017-02-18 19:50 [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev paul
                   ` (2 preceding siblings ...)
  2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check paul
@ 2017-02-19  2:56 ` Khem Raj
  2017-02-19  3:49   ` Andrei Gherzan
  3 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2017-02-19  2:56 UTC (permalink / raw)
  To: Paul Barker; +Cc: yocto

On Sat, Feb 18, 2017 at 11:50 AM,  <paul@paulbarker.me.uk> wrote:
> From: Paul Barker <paul@paulbarker.me.uk>
>
> This is currently an RFC as I'd like some input from Khem and anyone else
> interested in this before these patches get merged.
>
> The hope is that by using AUTOREV we won't have to update the _dev recipe so
> frequently in the future.

for dev I am fine with it.

>
> The third patch depends on a change not yet committed to oe-core. Please apply
> the following patch if you'd like to test this:
>     http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132499.html
>
> Paul Barker (3):
>   linux-raspberrypi_dev: Use AUTOREV
>   linux-raspberrypi_dev: Allow branch override
>   linux-raspberrypi_dev: Disable version sanity check
>
>  recipes-kernel/linux/linux-raspberrypi_dev.bb | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
>
> --
> 2.11.0
>


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

* Re: [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev
  2017-02-19  2:56 ` [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev Khem Raj
@ 2017-02-19  3:49   ` Andrei Gherzan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2017-02-19  3:49 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]

On Sat, Feb 18, 2017 at 06:56:18PM -0800, Khem Raj wrote:
> On Sat, Feb 18, 2017 at 11:50 AM,  <paul@paulbarker.me.uk> wrote:
> > From: Paul Barker <paul@paulbarker.me.uk>
> >
> > This is currently an RFC as I'd like some input from Khem and anyone else
> > interested in this before these patches get merged.
> >
> > The hope is that by using AUTOREV we won't have to update the _dev recipe so
> > frequently in the future.
>
> for dev I am fine with it.

Looks good for me too.

>
> >
> > The third patch depends on a change not yet committed to oe-core. Please apply
> > the following patch if you'd like to test this:
> >     http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132499.html
> >
> > Paul Barker (3):
> >   linux-raspberrypi_dev: Use AUTOREV
> >   linux-raspberrypi_dev: Allow branch override
> >   linux-raspberrypi_dev: Disable version sanity check
> >
> >  recipes-kernel/linux/linux-raspberrypi_dev.bb | 11 ++++++++---
> >  1 file changed, 8 insertions(+), 3 deletions(-)
> >
> > --
> > 2.11.0
> >

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

* Re: [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check
  2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check paul
@ 2017-02-19  4:08   ` Andrei Gherzan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrei Gherzan @ 2017-02-19  4:08 UTC (permalink / raw)
  To: paul; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1478 bytes --]

On Sat, Feb 18, 2017 at 07:51:01PM +0000, paul@paulbarker.me.uk wrote:
> From: Paul Barker <paul@paulbarker.me.uk>
>
> After this change, LINUX_VERSION should not need to be changed every time
> upstream bumps the kernel version.
>
> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
> ---
>  recipes-kernel/linux/linux-raspberrypi_dev.bb | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi_dev.bb b/recipes-kernel/linux/linux-raspberrypi_dev.bb
> index 88c164b..89ee908 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_dev.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_dev.bb
> @@ -1,6 +1,6 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.9:"
>
> -LINUX_VERSION ?= "4.10.0-rc8"
> +LINUX_VERSION ?= "4.10"
>  LINUX_RPI_DEV_BRANCH ?= "rpi-4.10.y"
>
>  SRCREV = "${AUTOREV}"
> @@ -13,3 +13,7 @@ require linux-raspberrypi.inc
>  # set by default in rpi-4.8.y and later branches so we need to provide it
>  # manually. This value unused if KERNEL_IMAGETYPE is not uImage.
>  KERNEL_EXTRA_ARGS += "LOADADDR=0x00008000"
> +
> +# Disable version check so that we don't have to edit this recipe every time
> +# upstream bumps the version
> +KERNEL_VERSION_SANITY_SKIP = "1"
> --
> 2.11.0
>

This one depends on [yocto] [meta-raspberrypi][PATCH] linux-raspberrypi:
Fix uImage build on 4.9.y and later.

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

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

end of thread, other threads:[~2017-02-19  4:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18 19:50 [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev paul
2017-02-18 19:50 ` [meta-raspberrypi][PATCH RFC 1/3] linux-raspberrypi_dev: Use AUTOREV paul
2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 2/3] linux-raspberrypi_dev: Allow branch override paul
2017-02-18 19:51 ` [meta-raspberrypi][PATCH RFC 3/3] linux-raspberrypi_dev: Disable version sanity check paul
2017-02-19  4:08   ` Andrei Gherzan
2017-02-19  2:56 ` [meta-raspberrypi][PATCH RFC 0/3] Use AUTOREV in linux-raspberrypi_dev Khem Raj
2017-02-19  3:49   ` Andrei Gherzan

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.