Skip to contentSkip to conversation

Update Zephyr version to 2.6.0-rc1

PATCH In review Wojciech Zmuda 4 participants 8 messages May 18, 2021 – May 19, 2021 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

cover Update Zephyr version to 2.6.0-rc1

From: Wojciech Zmuda <[email protected]>

2.6.0-rc1 has been released 9 days ago and contains a vast number of improvements. Release notes available here:
https://github.com/zephyrproject-rtos/zephyr/releases/tag/v2.6.0-rc1

I'm sending this patch set on behalf of the original author Zbigniew Bodek <[email protected]>

Zbigniew Bodek (2):
zephyr-kernel-src-2.6.0-rc1.inc: Add support for zephyr kernel version

    2.6.0-rc1

zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

 .../zephyr-kernel/zephyr-kernel-src-2.6.0-rc1.inc      | 10 ++++++++++
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc     |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0-rc1.inc
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/2 zephyr-kernel-src-2.6.0-rc1.inc: Add support for zephyr kernel version 2.6.0-rc1

From: Zbigniew Bodek <[email protected]>

This version can be selected defining
PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"

---
 .../zephyr-kernel/zephyr-kernel-src-2.6.0-rc1.inc      | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0-rc1.inc
recipes-kernel/zephyr-kernel/zephyr-kernel-src-2.6.0-rc1.inc new file +10 -0
new file mode 100644
index 0000000..6ea1593
@@ -0,0 +1,10 @@
+SRCREV_FORMAT = "default_cmsis"
+SRCREV_default = "v2.6.0-rc1"
+SRCREV_cmsis = "c3bd2094f92d574377f7af2aec147ae181aa5f8e"
+SRCREV_nordic = "574493fe29c79140df4827ab5d4a23df79d03681"
+SRCREV_stm32 = "f8ff8d25aa0a9e65948040c7b47ec67f3fa300df"
+SRCREV_open-amp = "6010f0523cbc75f551d9256cf782f173177acdef"
+SRCREV_libmetal = "39d049d4ae68e6f6d595fce7de1dcfc1024fb4eb"
+SRCREV_tinycrypt = "3e9a49d2672ec01435ffbf0d788db6d95ef28de0"
+
+PV = "2.6.0-rc1+git${SRCPV}"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 2/2 zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

In reply to Wojciech Zmuda

From: Zbigniew Bodek <[email protected]>

---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -1
index 5ee40d4..9fc08ba 100644
@@ -2,7 +2,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
 
 # Default to a stable version
-PREFERRED_VERSION_zephyr-kernel ??= "2.5.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"
 include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
 
 inherit cmake
Signature · 1 line
2.25.1
#3 lore raw

Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 4 lines · Wojciech Zmuda

From: Zbigniew Bodek <[email protected]>

Do we really want to have Zephyr on a release candidate? IMHO, we should never be doing this, as we should want the kernel in meta-zephyr to be as stable as possible. If this is really desired, perhaps a master-next branch for things like this.

Thanks,
Jon

Quoted 23 lines
---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -2
index 5ee40d4..9fc08ba 100644
@@ -2,7 +2,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
 
 # Default to a stable version
-PREFERRED_VERSION_zephyr-kernel ??= "2.5.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"
 include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
 
 inherit cmake
--

2.25.1

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw

Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 6 lines · Zbigniew Bodek

Hello Jon,

Thanks for your comment. I will try to answer.
This change is to include following bug fix: https://github.com/zephyrproject-rtos/zephyr/pull/33251
I can also see we've had multiple RC versions in the past but in principle, I'm not against your suggestion to have master-next, etc. So where should we go from here?

My recommendation would be to pull that patch out and apply it directly on top of v2.5.0 (assuming that is feasible). Maybe even asking the upstream zephyr project to port this to v2.5.0 and make it v2.5.1 would be the optimal solution.

As far as a master-next branch, that would be up to Naveen.

Quoted 46 lines

Kind regards
Zbigniew

-----Original Message-----
From: Jon Mason [mailto:[email protected]]
Sent: 18 May, 2021 17:17
To: Wojciech Zmuda <[email protected]>
Cc: [email protected]; Zbigniew Bodek <[email protected]>
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 4 lines · Wojciech Zmuda

From: Zbigniew Bodek <[email protected]>

Do we really want to have Zephyr on a release candidate? IMHO, we should never be doing this, as we should want the kernel in meta-zephyr to be as stable as possible. If this is really desired, perhaps a master-next branch for things like this.

Thanks,
Jon

Quoted 24 lines
---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -2
index 5ee40d4..9fc08ba 100644
@@ -2,7 +2,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"
 
 # Default to a stable version
-PREFERRED_VERSION_zephyr-kernel ??= "2.5.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"
 include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
 
 inherit cmake
--

2.25.1

#6 lore raw

Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 20 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Jon Mason
Sent: Wednesday, May 19, 2021 12:00 AM
To: Zbigniew Bodek <[email protected]>
Cc: Wojciech Zmuda <[email protected]>; [email protected]
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 7 lines · Zbigniew Bodek

Hello Jon,

Thanks for your comment. I will try to answer.
This change is to include following bug fix:
https://github.com/zephyrproject-rtos/zephyr/pull/33251
I can also see we've had multiple RC versions in the past but in principle, I'm

Quoted 7 lines

not against your suggestion to have master-next, etc. So where should we go from here?

My recommendation would be to pull that patch out and apply it directly on top of v2.5.0 (assuming that is feasible). Maybe even asking the upstream zephyr project to port this to v2.5.0 and make it
v2.5.1 would be the optimal solution.

[Naveen] We can wait for stable release. If it is urgent, we can carry patches for bug fixes, in case upstream does not give dot release !

Quoted 55 lines

As far as a master-next branch, that would be up to Naveen.

Quoted 14 lines

Kind regards
Zbigniew

-----Original Message-----
From: Jon Mason [mailto:[email protected]]
Sent: 18 May, 2021 17:17
To: Wojciech Zmuda <[email protected]>
Cc: [email protected]; Zbigniew Bodek <[email protected]>
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc:
set default preferred version to 2.6.0-rc1

On Tue, May 18, 2021 at 8:30 AM Wojciech Zmuda <[email protected]>

Quoted 6 lines · wrote:
Quoted 4 lines

From: Zbigniew Bodek <[email protected]>

Do we really want to have Zephyr on a release candidate? IMHO, we

should never be doing this, as we should want the kernel in meta-zephyr to be as stable as possible. If this is really desired, perhaps a master-next branch for things like this.

Quoted 8 lines

Thanks,
Jon

Quoted 4 lines
---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 7 lines

recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc LICENSE = "Apache-2.0" · line 2

Quoted 7 lines
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +0 -0
index 5ee40d4..9fc08ba 100644
@@ -2,7 +2,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM =

"file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"

Quoted 13 lines
Quoted 13 lines
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -2
 # Default to a stable version
-PREFERRED_VERSION_zephyr-kernel ??= "2.5.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"
 include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
 
 inherit cmake
--

2.25.1

#7 lore raw

Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Hello everybody, thanks for your comments.

Let's abandon this patch then. Judging by meta-zephyr commit history we guessed that bumping up the rev to -rc is compliant with your policy. In that case we, as meta-zephyr users, will just wait for the upstream to reach stable 2.6.0.

Regards,
Wojciech

Quoted 93 lines · Naveen Kumar
Quoted 11 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Jon Mason
Sent: Wednesday, May 19, 2021 12:00 AM
To: Zbigniew Bodek <[email protected]>
Cc: Wojciech Zmuda <[email protected]>; [email protected]
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

Quoted 9 lines
Quoted 7 lines · Zbigniew Bodek

Hello Jon,

Thanks for your comment. I will try to answer.
This change is to include following bug fix:
https://github.com/zephyrproject-rtos/zephyr/pull/33251
I can also see we've had multiple RC versions in the past but in

principle, I'm

Quoted 1 line

not against your suggestion to have master-next, etc. So where should we

go

Quoted 3 lines

from here?

My recommendation would be to pull that patch out and apply it directly

on

Quoted 1 line

top of v2.5.0 (assuming that is feasible). Maybe even asking the

upstream

Quoted 2 lines

zephyr project to port this to v2.5.0 and make it
v2.5.1 would be the optimal solution.

[Naveen] We can wait for stable release. If it is urgent, we can carry patches for bug fixes, in case upstream does not give dot release !

Quoted 16 lines

As far as a master-next branch, that would be up to Naveen.

Quoted 13 lines

Kind regards
Zbigniew

-----Original Message-----
From: Jon Mason [mailto:[email protected]]
Sent: 18 May, 2021 17:17
To: Wojciech Zmuda <[email protected]>
Cc: [email protected]; Zbigniew Bodek <[email protected]>
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc:
set default preferred version to 2.6.0-rc1

Quoted 1 line

On Tue, May 18, 2021 at 8:30 AM Wojciech Zmuda <[email protected]>

Quoted 8 lines
Quoted 6 lines · wrote:
Quoted 4 lines

From: Zbigniew Bodek <[email protected]>

Do we really want to have Zephyr on a release candidate? IMHO, we

should never be doing this, as we should want the kernel in meta-zephyr

to

Quoted 1 line

be as stable as possible. If this is really desired, perhaps a

master-next

Quoted 30 lines

branch for things like this.

Quoted 8 lines

Thanks,
Jon

Quoted 4 lines
---
 recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 7 lines

recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc LICENSE = "Apache-2.0" · line 2

Quoted 7 lines
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +0 -0
index 5ee40d4..9fc08ba 100644
@@ -2,7 +2,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM =

"file://LICENSE;md5=fa818a259cbed7ce8bc2a22d35a464fc"

Quoted 13 lines
Quoted 13 lines
recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc +1 -2
 # Default to a stable version
-PREFERRED_VERSION_zephyr-kernel ??= "2.5.0"
+PREFERRED_VERSION_zephyr-kernel ??= "2.6.0-rc1"
 include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
 
 inherit cmake
--

2.25.1

#8 lore raw

Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set default preferred version to 2.6.0-rc1

In reply to Naveen Saini

Hi,

Quoted 23 lines · Naveen Saini
Quoted 23 lines

-----Original Message-----
From: [email protected] <mailto:yocto%40lists.yoctoproject.org> <[email protected] <mailto:yocto%40lists.yoctoproject.org>> On Behalf Of Jon Mason
Sent: Wednesday, May 19, 2021 12:00 AM
To: Zbigniew Bodek <[email protected] <mailto:zbigniew.bodek%40huawei.com>>
Cc: Wojciech Zmuda <[email protected] <mailto:zmuda.w%40gmail.com>>; [email protected] <mailto:yocto%40lists.yoctoproject.org>
Subject: Re: [yocto] [meta-zephyr][PATCH 2/2] zephyr-kernel-src.inc: set
default preferred version to 2.6.0-rc1

Quoted 7 lines · On Tue, May 18, 2021 at 11:24 AM Zbigniew Bodek <[email protected]…

Hello Jon,

Thanks for your comment. I will try to answer.
This change is to include following bug fix:
https://github.com/zephyrproject-rtos/zephyr/pull/33251
I can also see we've had multiple RC versions in the past but in principle, I'm

not against your suggestion to have master-next, etc. So where should we go from here?

Quoted 6 lines
Quoted 4 lines

My recommendation would be to pull that patch out and apply it directly on top of v2.5.0 (assuming that is feasible). Maybe even asking the upstream zephyr project to port this to v2.5.0 and make it
v2.5.1 would be the optimal solution.

[Naveen] We can wait for stable release. If it is urgent, we can carry patches for bug fixes, in case upstream does not give dot release !

Even if we don't have the 2.6.0-rc1 release default (to which I agree), I still think having support for it (as a non default) is beneficial. Especially given that 2.6.0 will be an LTS so people might want early (opt-in) support for the time being.

Signature · 2 lines
Andrei Gherzan 
gpg: rsa4096/D4D94F67AD0E9640