Skip to content

Add qemu-riscv64 target, refactorings, kernel updates, CI fix

Jan Kiszka cip-dev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ci: Allow to set per-project DISTRO_APT_PREMIRRORS.gitlab-ci.yml kas-cip.yml+4 -00 replies
2/12Kconfig: Introduce hidden ARCH configsKconfig+30 -00 replies
3/12Kconfig: Hide kernel 4.4 for arm64 targetsKconfig+1 -00 replies
4/12start-qemu: Rework usage outputstart-qemu.sh+7 -40 replies
5/12Bump kas header version to 12doc/README.secureboot.md kas-cip.yml kas/board/bbb.yml +21 more+24 -240 replies
6/12kas: Drop defaults from bblayers_conf_headerkas-cip.yml+0 -20 replies
7/12linux-cip: Update to 4.19.259-cip82, 5.10.145-cip17 and 5.10.145-cip17-rt7recipes-kernel/linux/linux-cip-rt_5.10.145-cip17-rt7.bb recipes-kernel/linux/linux-cip_4.19.259-cip82.bb recipes-kernel/linux/linux-cip_5.10.145-cip17.bb+3 -30 replies
8/12Update Isar revisionkas-cip.yml+1 -10 replies
9/12deploy-cip-core: Use multi-threaded compressionscripts/deploy-cip-core.sh+1 -10 replies
10/12Add qemu-riscv64 targetKconfig conf/distro/cip-core-sid-ports.conf conf/distro/debian-sid-ports.list +4 more+77 -10 replies
11/12customizations: Mask hvc0 console under qemu-riscv64recipes-core/customizations/customizations.bb+8 -00 replies
12/12start-qemu: Add support for RISC-Vstart-qemu.sh+17 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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%)
Signature · 1 line
2.35.3