mbox series

[isar-cip-core,00/12] Add qemu-riscv64 target, refactorings, kernel updates, CI fix

Message ID cover.1664902098.git.jan.kiszka@siemens.com (mailing list archive)
Headers show
Series Add qemu-riscv64 target, refactorings, kernel updates, CI fix | expand

Message

Jan Kiszka Oct. 4, 2022, 4:48 p.m. UTC
CIP has decided to add RISC-V 64-bit as architecture to the support
scope of kernel 5.10-cip. This implies adding a new reference target,
qemu-riscv64, for which this series adds support to isar-cip-core.

As we know, only Debian bookworm may introduce riscv64 as official port,
so we need to go with sid ports for now, using snapshot.debian.org with
a fixed date as "stable" baseline. Please be patient during the first
download, it can easily take more than half an hour, but Isar is caching
the results for any later rebuild. And as I do not trust that even this
works reliably, I'm refraining from adding the new target to CI for now.

And this works around current CI issues with deb.debian.org downloads
when running in a AWS environment by allows to set DISTRO_APT_PREMIRRORS
at gitlab project level.

Jan

Jan Kiszka (12):
  ci: Allow to set per-project DISTRO_APT_PREMIRRORS
  Kconfig: Introduce hidden ARCH configs
  Kconfig: Hide kernel 4.4 for arm64 targets
  start-qemu: Rework usage output
  Bump kas header version to 12
  kas: Drop defaults from bblayers_conf_header
  linux-cip: Update to 4.19.259-cip82, 5.10.145-cip17 and
    5.10.145-cip17-rt7
  Update Isar revision
  deploy-cip-core: Use multi-threaded compression
  Add qemu-riscv64 target
  customizations: Mask hvc0 console under qemu-riscv64
  start-qemu: Add support for RISC-V

 .gitlab-ci.yml                                |  1 +
 Kconfig                                       | 45 +++++++++++++++++++
 .../distro/cip-core-sid-ports.conf            |  7 +--
 conf/distro/debian-sid-ports.list             |  2 +
 conf/distro/debian-sid.list                   |  2 +
 .../machine/qemu-riscv64.conf                 |  6 +--
 doc/README.secureboot.md                      |  2 +-
 kas-cip.yml                                   |  9 ++--
 kas/board/bbb.yml                             |  2 +-
 kas/board/hihope-rzg2m.yml                    |  2 +-
 kas/board/iwg20m.yml                          |  2 +-
 kas/board/qemu-amd64.yml                      |  2 +-
 kas/board/qemu-arm.yml                        |  2 +-
 kas/board/qemu-arm64.yml                      |  2 +-
 .../buster.yml => board/qemu-riscv64.yml}     |  7 +--
 kas/board/simatic-ipc227e.yml                 |  2 +-
 kas/opt/4.19.yml                              |  2 +-
 kas/opt/4.4.yml                               |  2 +-
 kas/opt/5.10.yml                              |  2 +-
 kas/opt/bullseye.yml                          |  2 +-
 kas/opt/buster.yml                            |  2 +-
 kas/opt/ebg-secure-boot-snakeoil.yml          |  2 +-
 kas/opt/ebg-swu.yml                           |  2 +-
 kas/opt/kernel-panic.yml                      |  2 +-
 kas/opt/kernelci.yml                          |  2 +-
 kas/opt/rt.yml                                |  2 +-
 kas/opt/security.yml                          |  2 +-
 kas/opt/{buster.yml => sid-ports.yml}         |  4 +-
 kas/opt/swupdate.yml                          |  2 +-
 kas/opt/targz-img.yml                         |  2 +-
 kas/opt/test.yml                              |  2 +-
 kas/opt/wic-targz-img.yml                     |  2 +-
 recipes-core/customizations/customizations.bb |  8 ++++
 ....bb => linux-cip-rt_5.10.145-cip17-rt7.bb} |  2 +-
 ...7-cip81.bb => linux-cip_4.19.259-cip82.bb} |  2 +-
 ...0-cip16.bb => linux-cip_5.10.145-cip17.bb} |  2 +-
 scripts/deploy-cip-core.sh                    |  2 +-
 start-qemu.sh                                 | 29 +++++++++---
 38 files changed, 125 insertions(+), 49 deletions(-)
 copy kas/opt/buster.yml => conf/distro/cip-core-sid-ports.conf (50%)
 create mode 100644 conf/distro/debian-sid-ports.list
 create mode 100644 conf/distro/debian-sid.list
 copy kas/opt/buster.yml => conf/machine/qemu-riscv64.conf (65%)
 copy kas/{opt/buster.yml => board/qemu-riscv64.yml} (55%)
 copy kas/opt/{buster.yml => sid-ports.yml} (79%)
 rename recipes-kernel/linux/{linux-cip-rt_5.10.140-cip16-rt6.bb => linux-cip-rt_5.10.145-cip17-rt7.bb} (72%)
 rename recipes-kernel/linux/{linux-cip_4.19.257-cip81.bb => linux-cip_4.19.259-cip82.bb} (72%)
 rename recipes-kernel/linux/{linux-cip_5.10.140-cip16.bb => linux-cip_5.10.145-cip17.bb} (72%)