[PATCH xenomai-images v2 0/4] test riscv in xenomai-images CI

Tobias Schaffner <[email protected]>
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
Hi all,

this enables RISC-V testing in the Xenomai Images CI.

It runs the EVL test suite on both qemu-riscv64 as well as the StarFive
VisionFive2.

See the last successful run here:
https://gitlab.com/Xenomai/xenomai-images/-/pipelines/2500187079

Changes since v1 (the RFC):
 * Do not depend on meta-isar but add the visionfive2 BSP to xenomai-images
 * Use the latest openSBI version but stick to u-boot 2025.07 which is
   unfortunately the last version that supports booting from SD-Card.
 * Use the risc-v defconfig of linux kernel 7.0 and add the needed debug and
   nfs switches in additional sections in the end. Factoring out the snippets
   for all architectures can be discussed in later patch sets.
 * Only run the tests on the qemu05 runner (tag: SIEMENS_ERL_QEMU) as long
   as qemu01 runs on the outdated qemu 7.2.2 which hangs up with riscv
   workloads from time to time.

Tobias Schaffner (4):
  ci: Build and test the evl risc-v port on qemu
  ci: Fix deploy script to handle multiple DTB files
  riscv: Add StarFive VisionFive2 board support
  ci: run ci tests on StarFive VisionFive2

 ci/lib/gitlab-ci-base.yml                     |  59 ++-
 ci/lib/kernel/head.yml                        |  26 ++
 conf/machine/qemu-riscv64.conf                |   1 -
 conf/machine/starfive-visionfive2.conf        |  21 ++
 kas/board/starfive-visionfive2.yaml           |  15 +
 .../opensbi-starfive-visionfive2_1.8.1.bb     |  18 +
 .../u-boot-starfive-visionfive2_2025.07.bb    |  30 ++
 recipes-kernel/linux/files/common_nodbg.cfg   |   2 +
 recipes-kernel/linux/files/riscv64_defconfig  | 335 ++++++++++++++++++
 scripts/deploy_to_aws.sh                      |   9 +-
 tests/jobs/xenomai-qemu-riscv64.yml           |  95 +++++
 tests/jobs/xenomai-starfive-visionfive2.yml   |  69 ++++
 wic/starfive-visionfive2.wks                  |  23 ++
 13 files changed, 692 insertions(+), 11 deletions(-)
 create mode 100644 conf/machine/starfive-visionfive2.conf
 create mode 100644 kas/board/starfive-visionfive2.yaml
 create mode 100644 recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.8.1.bb
 create mode 100644 recipes-bsp/u-boot/u-boot-starfive-visionfive2_2025.07.bb
 create mode 100644 recipes-kernel/linux/files/riscv64_defconfig
 create mode 100644 tests/jobs/xenomai-qemu-riscv64.yml
 create mode 100644 tests/jobs/xenomai-starfive-visionfive2.yml
 create mode 100644 wic/starfive-visionfive2.wks

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.