Version updates, kas menu support
cover Version updates, kas menu support
Heading towards a release as well...
Jan
Jan Kiszka (4):
xenomai: Add 3.2.1 and update other stable versions xenomai-version.inc: Add stable-head versions as well
linux-xenomai: Update to latest releases
Add kas menu support
.gitignore | 1 +
Kconfig | 148 ++++++++++++++++++
README.md | 20 ++-
conf/distro/include/xenomai-version.inc | 21 ++-
conf/distro/xenomai-demo.conf | 4 +-
opt-xenomai-3.2.x.yml | 17 ++
recipes-kernel/linux/linux-xenomai_4.19.bb | 14 +-
recipes-kernel/linux/linux-xenomai_4.4.bb | 10 +-
recipes-kernel/linux/linux-xenomai_5.10.bb | 4 +-
recipes-kernel/linux/linux-xenomai_5.4.bb | 12 +-
.../{xenomai_3.0.11.bb => xenomai_3.0.12.bb} | 2 +
.../{xenomai_3.1.1.bb => xenomai_3.1.2.bb} | 2 +
.../{xenomai_3.1.1.bb => xenomai_3.2.1.bb} | 4 +-
13 files changed, 220 insertions(+), 39 deletions(-)
create mode 100644 Kconfig
create mode 100644 opt-xenomai-3.2.x.yml
rename recipes-xenomai/xenomai/{xenomai_3.0.11.bb => xenomai_3.0.12.bb} (79%)
copy recipes-xenomai/xenomai/{xenomai_3.1.1.bb => xenomai_3.1.2.bb} (79%)
rename recipes-xenomai/xenomai/{xenomai_3.1.1.bb => xenomai_3.2.1.bb} (73%)Signature · 1 line
2.31.1
PATCH 1/4 xenomai: Add 3.2.1 and update other stable versions
From: Jan Kiszka <[email protected]>
This adds 3.2.1 as new default and bumps older stable options to 3.1.2 and 3.0.12, respectively.
Updating Xenomai releases also requires updating the mapping function in xenomai-version.inc - which was forgotten too often. Set a link via a comment at this chance.
---
conf/distro/include/xenomai-version.inc | 21 ++++++++++++++-----
conf/distro/xenomai-demo.conf | 4 ++--
opt-xenomai-3.2.x.yml | 17 +++++++++++++++
.../{xenomai_3.0.11.bb => xenomai_3.0.12.bb} | 2 ++
.../{xenomai_3.1.1.bb => xenomai_3.1.2.bb} | 2 ++
.../{xenomai_3.1.1.bb => xenomai_3.2.1.bb} | 4 +++-
6 files changed, 42 insertions(+), 8 deletions(-)
create mode 100644 opt-xenomai-3.2.x.yml
rename recipes-xenomai/xenomai/{xenomai_3.0.11.bb => xenomai_3.0.12.bb} (79%)
copy recipes-xenomai/xenomai/{xenomai_3.1.1.bb => xenomai_3.1.2.bb} (79%)
rename recipes-xenomai/xenomai/{xenomai_3.1.1.bb => xenomai_3.2.1.bb} (73%)conf/distro/include/xenomai-version.inc +16 -5
@@ -9,9 +9,20 @@ # SPDX-License-Identifier: MIT # -XENOMAI_DEFAULT_KERNEL_VERSION = "5.4%" -XENOMAI_3_0_VERSION_LIST = "3.0 3.0% 3.0.% 3.0.10" +XENOMAI_DEFAULT_KERNEL_VERSION = "5.10%" + +XENOMAI_3_0_VERSION_LIST = "3.0 3.0% 3.0.% 3.0.12" XENOMAI_3_0_KERNEL_VERSION = "4.4%" -# if PREFERRED_VERSION_xenomai contains any item from XENOMAI_3_0_VERSION_LIST use -# XENOMAI_3_0_KERNEL_VERSION -PREFERRED_VERSION_linux-xenomai ?= "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai','${XENOMAI_3_0_VERSION_LIST}','${XENOMAI_3_0_KERNEL_VERSION}','${XENOMAI_DEFAULT_KERNEL_VERSION}',d) }" + +XENOMAI_3_1_VERSION_LIST = "3.1 3.1% 3.1.% 3.1.2" +XENOMAI_3_1_KERNEL_VERSION = "5.4%" + +# If PREFERRED_VERSION_xenomai contains any item from XENOMAI_3_0_VERSION_LIST use +# XENOMAI_3_0_KERNEL_VERSION. Same for XENOMAI_3_1_VERSION_LIST. +PREFERRED_VERSION_linux-xenomai ?= \ + "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai', \ + '${XENOMAI_3_0_VERSION_LIST}', '${XENOMAI_3_0_KERNEL_VERSION}', \ + bb.utils.contains_any('PREFERRED_VERSION_xenomai', \ + '${XENOMAI_3_1_VERSION_LIST}', '${XENOMAI_3_1_KERNEL_VERSION}', \ + '${XENOMAI_DEFAULT_KERNEL_VERSION}', d), \ + d)}"
conf/distro/xenomai-demo.conf +2 -2
@@ -1,7 +1,7 @@ # # Xenomai Real-Time System # -# Copyright (c) Siemens AG, 2018 +# Copyright (c) Siemens AG, 2018-2021 # # Authors: # Jan Kiszka <[email protected]>
@@ -11,7 +11,7 @@ require conf/distro/debian-bullseye.conf -PREFERRED_VERSION_xenomai ?= "3.1%" +PREFERRED_VERSION_xenomai ?= "3.2%" include conf/distro/include/xenomai-version.inc HOST_DISTRO ?= "debian-bullseye"
opt-xenomai-3.2.x.yml new file +17 -0
@@ -0,0 +1,17 @@ +# +# Xenomai Real-Time System +# +# Copyright (c) Siemens AG, 2021 +# +# Authors: +# Jan Kiszka <[email protected]> +# +# SPDX-License-Identifier: MIT +# + +header: + version: 10 + +local_conf_header: + xenomai-3-2-x: | + PREFERRED_VERSION_xenomai = "stable-3.2.x"
recipes-xenomai/xenomai/xenomai_3.0.12.bb renamed from recipes-xenomai/xenomai/xenomai_3.0.11.bb +2 -0
@@ -11,6 +11,8 @@ require xenomai.inc +# Note: When updating PV, also update conf/distro/include/xenomai-version.inc! + SRC_URI = " \ git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=stable/v3.0.x;tag=v${PV} \ "
recipes-xenomai/xenomai/xenomai_3.1.2.bb renamed from recipes-xenomai/xenomai/xenomai_3.1.1.bb +2 -0
@@ -11,6 +11,8 @@ require xenomai.inc +# Note: When updating PV, also update conf/distro/include/xenomai-version.inc! + SRC_URI = " \ git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=stable/v3.1.x;tag=v${PV}"
recipes-xenomai/xenomai/xenomai_3.2.1.bb renamed from recipes-xenomai/xenomai/xenomai_3.1.1.bb +3 -1
@@ -11,7 +11,9 @@ require xenomai.inc +# Note: When updating PV, also update conf/distro/include/xenomai-version.inc! + SRC_URI = " \ - git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=stable/v3.1.x;tag=v${PV}" + git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=master;tag=v${PV}" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
PATCH 2/4 xenomai-version.inc: Add stable-head versions as well
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
This ensures the right version selection when using opt-xenomai-3.X.x.yml, i.e. selecting the head of the respective stable branches.
--- conf/distro/include/xenomai-version.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
conf/distro/include/xenomai-version.inc +2 -2
@@ -11,10 +11,10 @@ XENOMAI_DEFAULT_KERNEL_VERSION = "5.10%" -XENOMAI_3_0_VERSION_LIST = "3.0 3.0% 3.0.% 3.0.12" +XENOMAI_3_0_VERSION_LIST = "3.0 3.0% 3.0.% 3.0.12 stable-3.0.x" XENOMAI_3_0_KERNEL_VERSION = "4.4%" -XENOMAI_3_1_VERSION_LIST = "3.1 3.1% 3.1.% 3.1.2" +XENOMAI_3_1_VERSION_LIST = "3.1 3.1% 3.1.% 3.1.2 stable-3.1.x" XENOMAI_3_1_KERNEL_VERSION = "5.4%" # If PREFERRED_VERSION_xenomai contains any item from XENOMAI_3_0_VERSION_LIST use
Signature · 1 line
2.31.1
PATCH 3/4 linux-xenomai: Update to latest releases
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
--- recipes-kernel/linux/linux-xenomai_4.19.bb | 14 +++++++------- recipes-kernel/linux/linux-xenomai_4.4.bb | 10 +++++----- recipes-kernel/linux/linux-xenomai_5.10.bb | 4 ++-- recipes-kernel/linux/linux-xenomai_5.4.bb | 12 ++++++------ 4 files changed, 20 insertions(+), 20 deletions(-)
recipes-kernel/linux/linux-xenomai_4.19.bb +7 -7
@@ -1,7 +1,7 @@ # # Xenomai Real-Time System # -# Copyright (c) Siemens AG, 2019 +# Copyright (c) Siemens AG, 2019-2021 # # Authors: # Quirin Gylstorff <[email protected]>
@@ -12,15 +12,15 @@ require recipes-kernel/linux/linux-xenomai.inc SRC_URI_append_amd64 = " git://github.com/xenomai-ci/ipipe-x86.git;protocol=https;nobranch=1" -SRCREV_amd64 ?= "ipipe-core-4.19.192-cip50-x86-18" -PV_amd64 ?= "4.19.192+" +SRCREV_amd64 ?= "ipipe-core-4.19.207-cip58-x86-20" +PV_amd64 ?= "4.19.207+" SRC_URI_append_arm64 = " git://github.com/xenomai-ci/ipipe-arm64.git;protocol=https;nobranch=1" -SRCREV_arm64 ?= "ipipe-core-4.19.190-cip49-arm64-10" -PV_arm64 ?= "4.19.190+" +SRCREV_arm64 ?= "ipipe-core-4.19.209-cip59-arm64-12" +PV_arm64 ?= "4.19.209+" SRC_URI_append_armhf = " git://github.com/xenomai-ci/ipipe-arm.git;protocol=https;nobranch=1" -SRCREV_armhf ?= "ipipe-core-4.19.190-cip49-arm-15" -PV_armhf ?= "4.19.190+" +SRCREV_armhf ?= "ipipe-core-4.19.207-cip58-arm16" +PV_armhf ?= "4.19.207+" S = "${WORKDIR}/git"
recipes-kernel/linux/linux-xenomai_4.4.bb +5 -5
@@ -1,7 +1,7 @@ # # Xenomai Real-Time System # -# Copyright (c) Siemens AG, 2018-2020 +# Copyright (c) Siemens AG, 2018-2021 # # Authors: # Jan Kiszka <[email protected]>
@@ -12,12 +12,12 @@ require recipes-kernel/linux/linux-xenomai.inc SRC_URI_append_amd64 = " git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1" -SRCREV_amd64 ?= "ipipe-core-4.4.268-cip57-x86-28" -PV_amd64 = "4.4.268+" +SRCREV_amd64 ?= "ipipe-core-4.4.285-cip63-x86-30" +PV_amd64 = "4.4.285+" SRC_URI_append_armhf = " git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1" SRC_URI_append_armhf = " ${@ 'file://bbb_4.4.cfg' if d.getVar('MACHINE') == 'beagle-bone-black' else '' }" -SRCREV_armhf ?= "ipipe-core-4.4.268-cip57-arm-13" -PV_armhf = "4.4.268+" +SRCREV_armhf ?= "ipipe-core-4.4.285-cip63-arm-15" +PV_armhf = "4.4.285+" S = "${WORKDIR}/git"
recipes-kernel/linux/linux-xenomai_5.10.bb +2 -2
@@ -12,7 +12,7 @@ require recipes-kernel/linux/linux-xenomai.inc SRC_URI += "git://source.denx.de/xenomai/linux-dovetail.git;protocol=https;nobranch=1" -SRCREV = "v5.10.61-dovetail" -PV = "5.10.61+" +SRCREV = "v5.10.76-dovetail3" +PV = "5.10.76+" S = "${WORKDIR}/git"
recipes-kernel/linux/linux-xenomai_5.4.bb +6 -6
@@ -12,15 +12,15 @@ require recipes-kernel/linux/linux-xenomai.inc SRC_URI_append_amd64 = " git://github.com/xenomai-ci/ipipe-x86.git;protocol=https;nobranch=1" -SRCREV_amd64 ?= "ipipe-core-5.4.124-x86-5" -PV_amd64 ?= "5.4.124+" +SRCREV_amd64 ?= "ipipe-core-5.4.151-x86-7" +PV_amd64 ?= "5.4.151+" SRC_URI_append_arm64 = " git://github.com/xenomai-ci/ipipe-arm64.git;protocol=https;nobranch=1" -SRCREV_arm64 ?= "ipipe-core-5.4.119-arm64-2" -PV_arm64 ?= "5.4.119+" +SRCREV_arm64 ?= "ipipe-core-5.4.152-arm64-3" +PV_arm64 ?= "5.4.152+" SRC_URI_append_armhf = " git://github.com/xenomai-ci/ipipe-arm.git;protocol=https;nobranch=1" -SRCREV_armhf ?= "ipipe-core-5.4.119-arm-2" -PV_armhf ?= "5.4.119+" +SRCREV_armhf ?= "ipipe-core-5.4.151-arm-4" +PV_armhf ?= "5.4.151+" S = "${WORKDIR}/git"
Signature · 1 line
2.31.1
PATCH 4/4 Add kas menu support
In reply to Jan KiszkaFrom: Jan Kiszka <[email protected]>
With kas 2.6, we can provide a kconfig-like interactive menu to select the desired image configuration. Add such a menu to model the complex dependencies properly and provide an easy way to expore available options. Also update the README accordingly.
--- .gitignore | 1 + Kconfig | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 20 ++++---- 3 files changed, 158 insertions(+), 11 deletions(-) create mode 100644 Kconfig
.gitignore +1 -0
@@ -1,2 +1,3 @@ build isar +.config.yaml*
Kconfig new file +148 -0
148 lines not on this page · raw message
README.md +9 -11
@@ -13,25 +13,23 @@ from scratch. Install `kas-container` from the [kas project](https://github.com/siemens/kas): - wget https://raw.githubusercontent.com/siemens/kas/2.4/kas-container -P ~/bin/ + wget https://raw.githubusercontent.com/siemens/kas/2.6.2/kas-container -P ~/bin/ chmod a+x ~/bin/kas-container Furthermore, install docker and make sure you have required permissions to start containers. -To build, e.g., the QEMU AMD64 target inside Docker, invoke kas-container like -this: +Next invoke the configuration menu to select the desired image configuration +and start the build: - kas-container build kas.yml:board-qemu-amd64.yml + kas-container menu -This image can be run using `start-qemu.sh x86`. +If you built, e.g., a QEMU AMD64 image, this can be run using +`start-qemu.sh x86`. -The QEMU ARM64 target is selected by `... kas.yml:board-qemu-arm64.yml` and -started via `start-qemu.sh arm64`. Make sure to have `qemu-aarch64-system` -installed. - -Xenomai related debug is switched off by default. But you still can switch it -on like this: +You can also select the desired image configuration on the command line. To +build the QEMU AMD64 target with debug options enabled, invoke kas-container +like this: kas-container build kas.yml:board-qemu-amd64.yml:opt-debug.yml
Signature · 1 line
2.31.1