Skip to contentSkip to conversation

Update for ci

PATCH Applied Q. Gylstorff 2 participants 5 messages Aug 27, 2019

lore
Share & tools
lore
#0 lore raw

cover Update for ci

From: Quirin Gylstorff <[email protected]>

Add all supported targets to ci and mention the targets in README. Fix arm64 builds in ci.

Quirin Gylstorff (3):
README: Add subsection physical targets
ci: Add new boards to ci
distro/include: Allow overwrite PREFERRED_VERSION

 .gitlab-ci.yml                          | 18 ++++++++++++++----
 README.md                               |  7 ++++++-
 conf/distro/include/xenomai-version.inc |  2 +-
 3 files changed, 21 insertions(+), 6 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/3 README: Add subsection physical targets

From: Quirin Gylstorff <[email protected]>

List all physical targets with their kas-yml files.

---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
README.md +6 -1
index e6b2349..f65eac7 100644
@@ -30,7 +30,12 @@ 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.
 
-Physical targets will generate ready-to-boot images under
+### Physical Targets
+
+This repository contains recipes for x86 (`board-simatic-ipc227e`),
+armhf(`board-beagle-bone-black`) and arm64(`board-hikey`) targets.
+
+Each physical target will generate ready-to-boot images under
 `build/tmp/deploy/images/`. To flash, e.g., the HiKey image to an SD card, run
 
     dd if=build/tmp/deploy/images/hikey/demo-image-hikey-xenomai-demo-hikey.wic.img \
Signature · 1 line
2.20.1
#2 lore raw

PATCH 2/3 ci: Add new boards to ci

In reply to Q. Gylstorff

From: Quirin Gylstorff <[email protected]>

To build the new boards add them to the ci configuration.

---
 .gitlab-ci.yml | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
.gitlab-ci.yml +14 -4
index 89d2b29..deecfb1 100644
@@ -5,23 +5,33 @@ variables:
   https_proxy: "$HTTPS_PROXY"
   ftp_proxy: "$FTP_PROXY"
   no_proxy: "$NO_PROXY"
-build:amd64:
+build:qemu-amd64:
   stage: build
   image: kasproject/kas-isar:latest
   script:
     - kas build kas.yml:board-qemu-amd64.yml
-build:armhf:
+build:qemu-armhf:
   stage: build
   image: kasproject/kas-isar:latest
   script:
     - kas build kas.yml:board-qemu-armhf.yml
-build:arm64:
+build:qemu-arm64:
   stage: build
   image: kasproject/kas-isar:latest
   script:
     - kas build kas.yml:board-qemu-arm64.yml
-build:hikey:
+build:board-hikey:
   stage: build
   image: kasproject/kas-isar:latest
   script:
     - kas build kas.yml:board-hikey.yml
+build:board-beaglebone:
+  stage: build
+  image: kasproject/kas-isar:latest
+  script:
+    - kas build kas.yml:board-beagle-bone-black.yml
+build:board-x86-64-efi:
+  stage: build
+  image: kasproject/kas-isar:latest
+  script:
+    - kas build kas.yml:board-x86-64-efi.yml
Signature · 1 line
2.20.1
#3 lore raw

PATCH 3/3 distro/include: Allow overwrite PREFERRED_VERSION

In reply to Q. Gylstorff

From: Quirin Gylstorff <[email protected]>

To build arm64 PREFERRED_VERSION_linux-xenomai must be set to 4.14% instead of 4.19 for next. To allow overwrites by machine configurations change the operator from = to ?=.

---
 conf/distro/include/xenomai-version.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/distro/include/xenomai-version.inc +1 -1
index f14f458..524ca39 100644
@@ -14,4 +14,4 @@ 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) }"
+PREFERRED_VERSION_linux-xenomai ?= "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai','${XENOMAI_STABLE_VERSION_LIST}','${XENOMAI_STABLE_KERNEL_VERSION}','${XENOMAI_NEXT_KERNEL_VERSION}',d) }"
Signature · 1 line
2.20.1
Applied
#4 lore raw
In reply to Q. Gylstorff
Quoted 10 lines · Q. Gylstorff

From: Quirin Gylstorff <[email protected]>

Add all supported targets to ci and mention the targets in README. Fix arm64 builds in ci.

Quirin Gylstorff (3):
README: Add subsection physical targets
ci: Add new boards to ci
distro/include: Allow overwrite PREFERRED_VERSION

Quoted 5 lines
  .gitlab-ci.yml                          | 18 ++++++++++++++----
  README.md                               |  7 ++++++-
  conf/distro/include/xenomai-version.inc |  2 +-
  3 files changed, 21 insertions(+), 6 deletions(-)

Thanks, applied.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux