* [xenomai-images][PATCH] kernel/linux-xenomai: Update versions
@ 2019-08-14 14:24 Q. Gylstorff
2019-08-19 10:17 ` [PATCH v2] " Q. Gylstorff
0 siblings, 1 reply; 8+ messages in thread
From: Q. Gylstorff @ 2019-08-14 14:24 UTC (permalink / raw)
To: xenomai
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and
x86 builds. Currently there is no 4.19 for arm64 available, therefore
pin to 4.14.%.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
conf/machine/qemu-arm64.conf | 1 +
recipes-kernel/linux/linux-xenomai_4.14.bb | 10 +++++-----
recipes-kernel/linux/linux-xenomai_4.19.bb | 21 +++++++++++++++++++++
3 files changed, 27 insertions(+), 5 deletions(-)
create mode 100644 recipes-kernel/linux/linux-xenomai_4.19.bb
diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
index a633095..283b3aa 100644
--- a/conf/machine/qemu-arm64.conf
+++ b/conf/machine/qemu-arm64.conf
@@ -12,3 +12,4 @@
require qemu-machine.inc
DISTRO_ARCH = "arm64"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
diff --git a/recipes-kernel/linux/linux-xenomai_4.14.bb b/recipes-kernel/linux/linux-xenomai_4.14.bb
index 49ede27..14030d6 100644
--- a/recipes-kernel/linux/linux-xenomai_4.14.bb
+++ b/recipes-kernel/linux/linux-xenomai_4.14.bb
@@ -12,15 +12,15 @@
require recipes-kernel/linux/linux-xenomai.inc
SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.14.y"
-SRCREV_amd64 = "eb0ab801116e0268358f1ca250251f02e82eed4a"
-PV_amd64 = "4.14.111+"
+SRCREV_amd64 = "fdfa1aff4578edf6a03e2e77ea20bf7f97863954"
+PV_amd64 = "4.14.134+"
SRC_URI_append_arm64 = " git://gitlab.denx.de/Xenomai/ipipe-arm64.git;protocol=https;branch=stable/4.14.78-arm64"
SRCREV_arm64 = "dec5e42fd43de238df816b31cadfb83b268b7136"
PV_arm64 = "4.14.78+"
-SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.85-arm"
-SRCREV_armhf = "35a84af5b7e3193e90ee129a91054657c02e8248"
-PV_armhf = "4.14.85+"
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.96-arm"
+SRCREV_armhf = "723539db0d5a1c995c9bb5524abe311a97b33e43"
+PV_armhf = "4.14.96+"
S = "${WORKDIR}/git"
diff --git a/recipes-kernel/linux/linux-xenomai_4.19.bb b/recipes-kernel/linux/linux-xenomai_4.19.bb
new file mode 100644
index 0000000..9af5659
--- /dev/null
+++ b/recipes-kernel/linux/linux-xenomai_4.19.bb
@@ -0,0 +1,21 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require recipes-kernel/linux/linux-xenomai.inc
+
+SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.19.y"
+SRCREV_amd64 = "d8ca6738bdff660d033ce755db55e7fe5210379a"
+PV_amd64 = "4.19.60+"
+
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;nobranch=1;tag=ipipe-core-4.19.33-arm-2"
+PV_armhf = "4.19.33+"
+
+S = "${WORKDIR}/git"
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2] kernel/linux-xenomai: Update versions
2019-08-14 14:24 [xenomai-images][PATCH] kernel/linux-xenomai: Update versions Q. Gylstorff
@ 2019-08-19 10:17 ` Q. Gylstorff
2019-08-20 15:17 ` [xenomai-images][PATCH v3] " Q. Gylstorff
0 siblings, 1 reply; 8+ messages in thread
From: Q. Gylstorff @ 2019-08-19 10:17 UTC (permalink / raw)
To: xenomai
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and
x86 builds. Currently there is no 4.19 for arm64 available, therefore
pin to 4.14.%.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
V2:
- set arm64 kernel to 4.14 for hikey board configuration.
conf/machine/hikey.conf | 2 ++
conf/machine/qemu-arm64.conf | 1 +
recipes-kernel/linux/linux-xenomai_4.14.bb | 10 +++++-----
recipes-kernel/linux/linux-xenomai_4.19.bb | 21 +++++++++++++++++++++
4 files changed, 29 insertions(+), 5 deletions(-)
create mode 100644 recipes-kernel/linux/linux-xenomai_4.19.bb
diff --git a/conf/machine/hikey.conf b/conf/machine/hikey.conf
index fc199ab..7a70ccd 100644
--- a/conf/machine/hikey.conf
+++ b/conf/machine/hikey.conf
@@ -14,4 +14,6 @@ DISTRO_ARCH = "arm64"
IMAGE_TYPE = "wic-img"
IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
+
IMAGE_PREINSTALL_append = " firmware-ti-connectivity"
diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
index a633095..283b3aa 100644
--- a/conf/machine/qemu-arm64.conf
+++ b/conf/machine/qemu-arm64.conf
@@ -12,3 +12,4 @@
require qemu-machine.inc
DISTRO_ARCH = "arm64"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
diff --git a/recipes-kernel/linux/linux-xenomai_4.14.bb b/recipes-kernel/linux/linux-xenomai_4.14.bb
index 49ede27..14030d6 100644
--- a/recipes-kernel/linux/linux-xenomai_4.14.bb
+++ b/recipes-kernel/linux/linux-xenomai_4.14.bb
@@ -12,15 +12,15 @@
require recipes-kernel/linux/linux-xenomai.inc
SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.14.y"
-SRCREV_amd64 = "eb0ab801116e0268358f1ca250251f02e82eed4a"
-PV_amd64 = "4.14.111+"
+SRCREV_amd64 = "fdfa1aff4578edf6a03e2e77ea20bf7f97863954"
+PV_amd64 = "4.14.134+"
SRC_URI_append_arm64 = " git://gitlab.denx.de/Xenomai/ipipe-arm64.git;protocol=https;branch=stable/4.14.78-arm64"
SRCREV_arm64 = "dec5e42fd43de238df816b31cadfb83b268b7136"
PV_arm64 = "4.14.78+"
-SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.85-arm"
-SRCREV_armhf = "35a84af5b7e3193e90ee129a91054657c02e8248"
-PV_armhf = "4.14.85+"
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.96-arm"
+SRCREV_armhf = "723539db0d5a1c995c9bb5524abe311a97b33e43"
+PV_armhf = "4.14.96+"
S = "${WORKDIR}/git"
diff --git a/recipes-kernel/linux/linux-xenomai_4.19.bb b/recipes-kernel/linux/linux-xenomai_4.19.bb
new file mode 100644
index 0000000..9af5659
--- /dev/null
+++ b/recipes-kernel/linux/linux-xenomai_4.19.bb
@@ -0,0 +1,21 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require recipes-kernel/linux/linux-xenomai.inc
+
+SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.19.y"
+SRCREV_amd64 = "d8ca6738bdff660d033ce755db55e7fe5210379a"
+PV_amd64 = "4.19.60+"
+
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;nobranch=1;tag=ipipe-core-4.19.33-arm-2"
+PV_armhf = "4.19.33+"
+
+S = "${WORKDIR}/git"
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [xenomai-images][PATCH v3] kernel/linux-xenomai: Update versions
2019-08-19 10:17 ` [PATCH v2] " Q. Gylstorff
@ 2019-08-20 15:17 ` Q. Gylstorff
2019-08-21 10:07 ` steven.seeger flightsystems.net
2019-08-22 14:50 ` [xenomai-images][PATCH v4] " Q. Gylstorff
0 siblings, 2 replies; 8+ messages in thread
From: Q. Gylstorff @ 2019-08-20 15:17 UTC (permalink / raw)
To: xenomai
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and
x86 builds. Currently there is no 4.19 for arm64 available, therefore
pin to 4.14.%.
The Kernel version and Xenomai version depend on each other. Add a
distro include with selects the kernel version according to the current
xenomai version.
| xenomai version | kernel version |
| stable | 4.14 |
| 3.0.x | 4.14 |
| master | 4.19 |
| next | 4.19 |
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
V2:
- set arm64 kernel to 4.14 for hikey board configuration.
V3:
- add xenomai-version.inc to select kernel version according to
xenomai version.
conf/distro/include/xenomai-version.inc | 16 ++++++++++++++++
conf/distro/xenomai-demo.conf | 1 +
conf/machine/hikey.conf | 2 ++
conf/machine/qemu-arm64.conf | 1 +
recipes-kernel/linux/linux-xenomai_4.14.bb | 10 +++++-----
recipes-kernel/linux/linux-xenomai_4.19.bb | 21 +++++++++++++++++++++
6 files changed, 46 insertions(+), 5 deletions(-)
create mode 100644 conf/distro/include/xenomai-version.inc
create mode 100644 recipes-kernel/linux/linux-xenomai_4.19.bb
diff --git a/conf/distro/include/xenomai-version.inc b/conf/distro/include/xenomai-version.inc
new file mode 100644
index 0000000..92909d9
--- /dev/null
+++ b/conf/distro/include/xenomai-version.inc
@@ -0,0 +1,16 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+XENOMAI_NEXT_KERNEL_VERSION = "4.19%"
+XENOMAI_STABLE_VERSION_LIST = "stable 3.0 3.0% 3.0.% 3.0.9"
+XENOMAI_STABLE_KERNEL_VERSION = "4.14%"
+
+PREFERRED_VERSION_linux-xenomai = "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai','${XENOMAI_STABLE_VERSION_LIST}','${XENOMAI_STABLE_KERNEL_VERSION}','${XENOMAI_NEXT_KERNEL_VERSION}',d) }"
diff --git a/conf/distro/xenomai-demo.conf b/conf/distro/xenomai-demo.conf
index 1fb7838..44df79f 100644
--- a/conf/distro/xenomai-demo.conf
+++ b/conf/distro/xenomai-demo.conf
@@ -10,6 +10,7 @@
#
require conf/distro/debian-stretch.conf
+include conf/distro/include/xenomai-version.inc
HOST_DISTRO ?= "debian-stretch"
diff --git a/conf/machine/hikey.conf b/conf/machine/hikey.conf
index fc199ab..7a70ccd 100644
--- a/conf/machine/hikey.conf
+++ b/conf/machine/hikey.conf
@@ -14,4 +14,6 @@ DISTRO_ARCH = "arm64"
IMAGE_TYPE = "wic-img"
IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
+
IMAGE_PREINSTALL_append = " firmware-ti-connectivity"
diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
index a633095..283b3aa 100644
--- a/conf/machine/qemu-arm64.conf
+++ b/conf/machine/qemu-arm64.conf
@@ -12,3 +12,4 @@
require qemu-machine.inc
DISTRO_ARCH = "arm64"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
diff --git a/recipes-kernel/linux/linux-xenomai_4.14.bb b/recipes-kernel/linux/linux-xenomai_4.14.bb
index 49ede27..14030d6 100644
--- a/recipes-kernel/linux/linux-xenomai_4.14.bb
+++ b/recipes-kernel/linux/linux-xenomai_4.14.bb
@@ -12,15 +12,15 @@
require recipes-kernel/linux/linux-xenomai.inc
SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.14.y"
-SRCREV_amd64 = "eb0ab801116e0268358f1ca250251f02e82eed4a"
-PV_amd64 = "4.14.111+"
+SRCREV_amd64 = "fdfa1aff4578edf6a03e2e77ea20bf7f97863954"
+PV_amd64 = "4.14.134+"
SRC_URI_append_arm64 = " git://gitlab.denx.de/Xenomai/ipipe-arm64.git;protocol=https;branch=stable/4.14.78-arm64"
SRCREV_arm64 = "dec5e42fd43de238df816b31cadfb83b268b7136"
PV_arm64 = "4.14.78+"
-SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.85-arm"
-SRCREV_armhf = "35a84af5b7e3193e90ee129a91054657c02e8248"
-PV_armhf = "4.14.85+"
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.96-arm"
+SRCREV_armhf = "723539db0d5a1c995c9bb5524abe311a97b33e43"
+PV_armhf = "4.14.96+"
S = "${WORKDIR}/git"
diff --git a/recipes-kernel/linux/linux-xenomai_4.19.bb b/recipes-kernel/linux/linux-xenomai_4.19.bb
new file mode 100644
index 0000000..9af5659
--- /dev/null
+++ b/recipes-kernel/linux/linux-xenomai_4.19.bb
@@ -0,0 +1,21 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require recipes-kernel/linux/linux-xenomai.inc
+
+SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.19.y"
+SRCREV_amd64 = "d8ca6738bdff660d033ce755db55e7fe5210379a"
+PV_amd64 = "4.19.60+"
+
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;nobranch=1;tag=ipipe-core-4.19.33-arm-2"
+PV_armhf = "4.19.33+"
+
+S = "${WORKDIR}/git"
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [xenomai-images][PATCH v3] kernel/linux-xenomai: Update versions
2019-08-20 15:17 ` [xenomai-images][PATCH v3] " Q. Gylstorff
@ 2019-08-21 10:07 ` steven.seeger flightsystems.net
2019-08-21 10:42 ` Jan Kiszka
2019-08-22 14:50 ` [xenomai-images][PATCH v4] " Q. Gylstorff
1 sibling, 1 reply; 8+ messages in thread
From: steven.seeger flightsystems.net @ 2019-08-21 10:07 UTC (permalink / raw)
To: xenomai
Hi Quirin. It looks like I need to move powerpc over to 4.19 as well. I have
been discussing this with some industry partners.
Steven
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [xenomai-images][PATCH v3] kernel/linux-xenomai: Update versions
2019-08-21 10:07 ` steven.seeger flightsystems.net
@ 2019-08-21 10:42 ` Jan Kiszka
2019-08-21 13:51 ` Quirin Gylstorff
0 siblings, 1 reply; 8+ messages in thread
From: Jan Kiszka @ 2019-08-21 10:42 UTC (permalink / raw)
To: steven.seeger flightsystems.net, xenomai, Quirin Gylstorff
On 21.08.19 12:07, steven.seeger flightsystems.net via Xenomai wrote:
> Hi Quirin. It looks like I need to move powerpc over to 4.19 as well. I have
> been discussing this with some industry partners.
>
In fact, there is even no ppc support for xenomai-images yet. At least a qemu
virtual test target would be of high value, though.
I was briefly discussing this with Quirin, but there are some risks,
effort-wise. First, we have no idea if Debian/Isar will "just work" for a ppc32
target - likely no one did that before, though adding MIPS to Isar was trivial.
And then we have no idea about the required qemu-system setup to test the
result. I mean, we could have a look but we may quickly need support by a ppc
expert or need to stop again when things become too nasty.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [xenomai-images][PATCH v3] kernel/linux-xenomai: Update versions
2019-08-21 10:42 ` Jan Kiszka
@ 2019-08-21 13:51 ` Quirin Gylstorff
0 siblings, 0 replies; 8+ messages in thread
From: Quirin Gylstorff @ 2019-08-21 13:51 UTC (permalink / raw)
To: Jan Kiszka, steven.seeger flightsystems.net, xenomai
On 8/21/19 12:42 PM, Jan Kiszka wrote:
> On 21.08.19 12:07, steven.seeger flightsystems.net via Xenomai wrote:
>> Hi Quirin. It looks like I need to move powerpc over to 4.19 as well.
>> I have
>> been discussing this with some industry partners.
>>
>
> In fact, there is even no ppc support for xenomai-images yet. At least a
> qemu virtual test target would be of high value, though.
>
> I was briefly discussing this with Quirin, but there are some risks,
> effort-wise. First, we have no idea if Debian/Isar will "just work" for
> a ppc32 target - likely no one did that before, though adding MIPS to
> Isar was trivial. And then we have no idea about the required
> qemu-system setup to test the result. I mean, we could have a look but
> we may quickly need support by a ppc expert or need to stop again when
> things become too nasty.
>
After a short look into it: Adding ppc32 to Debian/Isar could take some
major effort as Debian no longer supports the ppc32 architecture[1].
[1] https://www.debian.org/ports/powerpc/
Quirin
^ permalink raw reply [flat|nested] 8+ messages in thread
* [xenomai-images][PATCH v4] kernel/linux-xenomai: Update versions
2019-08-20 15:17 ` [xenomai-images][PATCH v3] " Q. Gylstorff
2019-08-21 10:07 ` steven.seeger flightsystems.net
@ 2019-08-22 14:50 ` Q. Gylstorff
2019-08-22 15:02 ` Jan Kiszka
1 sibling, 1 reply; 8+ messages in thread
From: Q. Gylstorff @ 2019-08-22 14:50 UTC (permalink / raw)
To: xenomai
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and
x86 builds. Currently there is no 4.19 for arm64 available, therefore
pin to 4.14.%.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
V2:
- set arm64 kernel to 4.14 for hikey board configuration.
V3:
- add xenomai-version.inc to select kernel version according to
xenomai version.
V4:
- Add comment for version selector
- Update integration into nexV4:
- Add comment for version selector
- Update for merge after t
conf/distro/include/xenomai-version.inc | 17 +++++++++++++++++
conf/distro/xenomai-demo.conf | 1 +
conf/machine/hikey.conf | 2 ++
conf/machine/qemu-arm64.conf | 1 +
recipes-kernel/linux/linux-xenomai_4.14.bb | 10 +++++-----
recipes-kernel/linux/linux-xenomai_4.19.bb | 21 +++++++++++++++++++++
6 files changed, 47 insertions(+), 5 deletions(-)
create mode 100644 conf/distro/include/xenomai-version.inc
create mode 100644 recipes-kernel/linux/linux-xenomai_4.19.bb
diff --git a/conf/distro/include/xenomai-version.inc b/conf/distro/include/xenomai-version.inc
new file mode 100644
index 0000000..f14f458
--- /dev/null
+++ b/conf/distro/include/xenomai-version.inc
@@ -0,0 +1,17 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+XENOMAI_NEXT_KERNEL_VERSION = "4.19%"
+XENOMAI_STABLE_VERSION_LIST = "stable 3.0 3.0% 3.0.% 3.0.9"
+XENOMAI_STABLE_KERNEL_VERSION = "4.14%"
+# if PREFERRED_VERSION_xenomai contains any item from XENOMAI_STABLE_VERSION_LIST use
+# XENOMAI_STABLE_KERNEL_VERSION
+PREFERRED_VERSION_linux-xenomai = "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai','${XENOMAI_STABLE_VERSION_LIST}','${XENOMAI_STABLE_KERNEL_VERSION}','${XENOMAI_NEXT_KERNEL_VERSION}',d) }"
diff --git a/conf/distro/xenomai-demo.conf b/conf/distro/xenomai-demo.conf
index 2610548..333d532 100644
--- a/conf/distro/xenomai-demo.conf
+++ b/conf/distro/xenomai-demo.conf
@@ -10,6 +10,7 @@
#
require conf/distro/debian-buster.conf
+include conf/distro/include/xenomai-version.inc
HOST_DISTRO ?= "debian-buster"
diff --git a/conf/machine/hikey.conf b/conf/machine/hikey.conf
index 4972e4d..465e06e 100644
--- a/conf/machine/hikey.conf
+++ b/conf/machine/hikey.conf
@@ -14,6 +14,8 @@ DISTRO_ARCH = "arm64"
IMAGE_TYPE = "wic-img"
IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
+
IMAGE_PREINSTALL_append = " firmware-ti-connectivity"
PREFERRED_VERSION_xenomai = "next"
\ No newline at end of file
diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
index 472f619..9e1d984 100644
--- a/conf/machine/qemu-arm64.conf
+++ b/conf/machine/qemu-arm64.conf
@@ -13,3 +13,4 @@ require qemu-machine.inc
DISTRO_ARCH = "arm64"
PREFERRED_VERSION_xenomai = "next"
+PREFERRED_VERSION_linux-xenomai = "4.14.%"
diff --git a/recipes-kernel/linux/linux-xenomai_4.14.bb b/recipes-kernel/linux/linux-xenomai_4.14.bb
index 49ede27..14030d6 100644
--- a/recipes-kernel/linux/linux-xenomai_4.14.bb
+++ b/recipes-kernel/linux/linux-xenomai_4.14.bb
@@ -12,15 +12,15 @@
require recipes-kernel/linux/linux-xenomai.inc
SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.14.y"
-SRCREV_amd64 = "eb0ab801116e0268358f1ca250251f02e82eed4a"
-PV_amd64 = "4.14.111+"
+SRCREV_amd64 = "fdfa1aff4578edf6a03e2e77ea20bf7f97863954"
+PV_amd64 = "4.14.134+"
SRC_URI_append_arm64 = " git://gitlab.denx.de/Xenomai/ipipe-arm64.git;protocol=https;branch=stable/4.14.78-arm64"
SRCREV_arm64 = "dec5e42fd43de238df816b31cadfb83b268b7136"
PV_arm64 = "4.14.78+"
-SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.85-arm"
-SRCREV_armhf = "35a84af5b7e3193e90ee129a91054657c02e8248"
-PV_armhf = "4.14.85+"
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.96-arm"
+SRCREV_armhf = "723539db0d5a1c995c9bb5524abe311a97b33e43"
+PV_armhf = "4.14.96+"
S = "${WORKDIR}/git"
diff --git a/recipes-kernel/linux/linux-xenomai_4.19.bb b/recipes-kernel/linux/linux-xenomai_4.19.bb
new file mode 100644
index 0000000..9af5659
--- /dev/null
+++ b/recipes-kernel/linux/linux-xenomai_4.19.bb
@@ -0,0 +1,21 @@
+#
+# Xenomai Real-Time System
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+require recipes-kernel/linux/linux-xenomai.inc
+
+SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.19.y"
+SRCREV_amd64 = "d8ca6738bdff660d033ce755db55e7fe5210379a"
+PV_amd64 = "4.19.60+"
+
+SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;nobranch=1;tag=ipipe-core-4.19.33-arm-2"
+PV_armhf = "4.19.33+"
+
+S = "${WORKDIR}/git"
--
2.20.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [xenomai-images][PATCH v4] kernel/linux-xenomai: Update versions
2019-08-22 14:50 ` [xenomai-images][PATCH v4] " Q. Gylstorff
@ 2019-08-22 15:02 ` Jan Kiszka
0 siblings, 0 replies; 8+ messages in thread
From: Jan Kiszka @ 2019-08-22 15:02 UTC (permalink / raw)
To: Q. Gylstorff, xenomai
On 22.08.19 16:50, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>
> Kernel 4.14 will soon be deprecated. Add kernel 4.19 for armhf and
> x86 builds. Currently there is no 4.19 for arm64 available, therefore
> pin to 4.14.%.
>
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
> V2:
> - set arm64 kernel to 4.14 for hikey board configuration.
> V3:
> - add xenomai-version.inc to select kernel version according to
> xenomai version.
> V4:
> - Add comment for version selector
> - Update integration into nexV4:
> - Add comment for version selector
> - Update for merge after t
> conf/distro/include/xenomai-version.inc | 17 +++++++++++++++++
> conf/distro/xenomai-demo.conf | 1 +
> conf/machine/hikey.conf | 2 ++
> conf/machine/qemu-arm64.conf | 1 +
> recipes-kernel/linux/linux-xenomai_4.14.bb | 10 +++++-----
> recipes-kernel/linux/linux-xenomai_4.19.bb | 21 +++++++++++++++++++++
> 6 files changed, 47 insertions(+), 5 deletions(-)
> create mode 100644 conf/distro/include/xenomai-version.inc
> create mode 100644 recipes-kernel/linux/linux-xenomai_4.19.bb
>
> diff --git a/conf/distro/include/xenomai-version.inc b/conf/distro/include/xenomai-version.inc
> new file mode 100644
> index 0000000..f14f458
> --- /dev/null
> +++ b/conf/distro/include/xenomai-version.inc
> @@ -0,0 +1,17 @@
> +#
> +# Xenomai Real-Time System
> +#
> +# Copyright (c) Siemens AG, 2019
> +#
> +# Authors:
> +# Quirin Gylstorff <quirin.gylstorff@siemens.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +XENOMAI_NEXT_KERNEL_VERSION = "4.19%"
> +XENOMAI_STABLE_VERSION_LIST = "stable 3.0 3.0% 3.0.% 3.0.9"
> +XENOMAI_STABLE_KERNEL_VERSION = "4.14%"
> +# if PREFERRED_VERSION_xenomai contains any item from XENOMAI_STABLE_VERSION_LIST use
> +# XENOMAI_STABLE_KERNEL_VERSION
> +PREFERRED_VERSION_linux-xenomai = "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai','${XENOMAI_STABLE_VERSION_LIST}','${XENOMAI_STABLE_KERNEL_VERSION}','${XENOMAI_NEXT_KERNEL_VERSION}',d) }"
> diff --git a/conf/distro/xenomai-demo.conf b/conf/distro/xenomai-demo.conf
> index 2610548..333d532 100644
> --- a/conf/distro/xenomai-demo.conf
> +++ b/conf/distro/xenomai-demo.conf
> @@ -10,6 +10,7 @@
> #
>
> require conf/distro/debian-buster.conf
> +include conf/distro/include/xenomai-version.inc
>
> HOST_DISTRO ?= "debian-buster"
>
> diff --git a/conf/machine/hikey.conf b/conf/machine/hikey.conf
> index 4972e4d..465e06e 100644
> --- a/conf/machine/hikey.conf
> +++ b/conf/machine/hikey.conf
> @@ -14,6 +14,8 @@ DISTRO_ARCH = "arm64"
> IMAGE_TYPE = "wic-img"
> IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
>
> +PREFERRED_VERSION_linux-xenomai = "4.14.%"
> +
> IMAGE_PREINSTALL_append = " firmware-ti-connectivity"
>
> PREFERRED_VERSION_xenomai = "next"
> \ No newline at end of file
> diff --git a/conf/machine/qemu-arm64.conf b/conf/machine/qemu-arm64.conf
> index 472f619..9e1d984 100644
> --- a/conf/machine/qemu-arm64.conf
> +++ b/conf/machine/qemu-arm64.conf
> @@ -13,3 +13,4 @@ require qemu-machine.inc
>
> DISTRO_ARCH = "arm64"
> PREFERRED_VERSION_xenomai = "next"
> +PREFERRED_VERSION_linux-xenomai = "4.14.%"
> diff --git a/recipes-kernel/linux/linux-xenomai_4.14.bb b/recipes-kernel/linux/linux-xenomai_4.14.bb
> index 49ede27..14030d6 100644
> --- a/recipes-kernel/linux/linux-xenomai_4.14.bb
> +++ b/recipes-kernel/linux/linux-xenomai_4.14.bb
> @@ -12,15 +12,15 @@
> require recipes-kernel/linux/linux-xenomai.inc
>
> SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.14.y"
> -SRCREV_amd64 = "eb0ab801116e0268358f1ca250251f02e82eed4a"
> -PV_amd64 = "4.14.111+"
> +SRCREV_amd64 = "fdfa1aff4578edf6a03e2e77ea20bf7f97863954"
> +PV_amd64 = "4.14.134+"
>
> SRC_URI_append_arm64 = " git://gitlab.denx.de/Xenomai/ipipe-arm64.git;protocol=https;branch=stable/4.14.78-arm64"
> SRCREV_arm64 = "dec5e42fd43de238df816b31cadfb83b268b7136"
> PV_arm64 = "4.14.78+"
>
> -SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.85-arm"
> -SRCREV_armhf = "35a84af5b7e3193e90ee129a91054657c02e8248"
> -PV_armhf = "4.14.85+"
> +SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;branch=stable/4.14.96-arm"
> +SRCREV_armhf = "723539db0d5a1c995c9bb5524abe311a97b33e43"
> +PV_armhf = "4.14.96+"
>
> S = "${WORKDIR}/git"
> diff --git a/recipes-kernel/linux/linux-xenomai_4.19.bb b/recipes-kernel/linux/linux-xenomai_4.19.bb
> new file mode 100644
> index 0000000..9af5659
> --- /dev/null
> +++ b/recipes-kernel/linux/linux-xenomai_4.19.bb
> @@ -0,0 +1,21 @@
> +#
> +# Xenomai Real-Time System
> +#
> +# Copyright (c) Siemens AG, 2019
> +#
> +# Authors:
> +# Quirin Gylstorff <quirin.gylstorff@siemens.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +require recipes-kernel/linux/linux-xenomai.inc
> +
> +SRC_URI_append_amd64 = " git://gitlab.denx.de/Xenomai/ipipe-x86.git;protocol=https;branch=ipipe-x86-4.19.y"
> +SRCREV_amd64 = "d8ca6738bdff660d033ce755db55e7fe5210379a"
> +PV_amd64 = "4.19.60+"
> +
> +SRC_URI_append_armhf = " git://gitlab.denx.de/Xenomai/ipipe-arm.git;protocol=https;nobranch=1;tag=ipipe-core-4.19.33-arm-2"
> +PV_armhf = "4.19.33+"
> +
> +S = "${WORKDIR}/git"
>
Thanks, applied.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-08-22 15:02 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14 14:24 [xenomai-images][PATCH] kernel/linux-xenomai: Update versions Q. Gylstorff
2019-08-19 10:17 ` [PATCH v2] " Q. Gylstorff
2019-08-20 15:17 ` [xenomai-images][PATCH v3] " Q. Gylstorff
2019-08-21 10:07 ` steven.seeger flightsystems.net
2019-08-21 10:42 ` Jan Kiszka
2019-08-21 13:51 ` Quirin Gylstorff
2019-08-22 14:50 ` [xenomai-images][PATCH v4] " Q. Gylstorff
2019-08-22 15:02 ` Jan Kiszka
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.