From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 2/4] qemuarm64: add support for ubuntu resolute
Date: Thu, 15 Oct 2026 23:15:25 +0200 [thread overview]
Message-ID: <20261015211527.3143702-3-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20261015211527.3143702-1-felix.moessbauer@siemens.com>
The ubuntu resolute target has an efi-only kernel. By that, the existing
qemuarm64 target that does direct kernel boot cannot boot the image,
leading to the long-standing CI error.
We fix this by providing creating an efi image and provide a
corresponding efiboot cmdline for QEMU for this target on
resolute.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta-isar/conf/machine/qemuarm64.conf | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/meta-isar/conf/machine/qemuarm64.conf b/meta-isar/conf/machine/qemuarm64.conf
index 4b76e5c1..5ade722d 100644
--- a/meta-isar/conf/machine/qemuarm64.conf
+++ b/meta-isar/conf/machine/qemuarm64.conf
@@ -9,8 +9,13 @@ KERNEL_NAME ?= "arm64"
KERNEL_NAME:ubuntu ?= "generic"
IMAGE_FSTYPES ?= "ext4"
+# the ubuntu kernel is an EFI zboot image, so it can only boot via UEFI from wic
+IMAGE_FSTYPES:resolute ?= "wic"
ROOTFS_EXTRA ?= "128"
+IMAGER_BOM:wic += "${GRUB_BOOTLOADER_INSTALL}"
+IMAGER_INSTALL:wic += "${GRUB_BOOTLOADER_INSTALL}"
+
QEMU_ROOTFS_DEV ?= "vda"
QEMU_ARCH ?= "aarch64"
@@ -18,6 +23,8 @@ QEMU_MACHINE ?= "virt"
QEMU_CPU ?= "cortex-a57"
# TODO: start_vm doesn't support multiline vars
QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0"
+# virtio-rng is required, cortex-a57 has no CPU RNG and systemd blocks on getrandom()
+QEMU_DISK_ARGS:resolute ?= "-drive file=##ROOTFS_IMAGE##,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -device virtio-rng-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd"
MACHINE_SERIAL ?= "ttyAMA0"
BAUDRATE_TTY ?= "115200"
--
2.55.0
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261015211527.3143702-3-felix.moessbauer%40siemens.com.
next prev parent reply other threads:[~2026-10-15 21:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 21:15 [PATCH 0/4] Fix qemu riscv64 and arm64 ubuntu resolute targets 'Felix Moessbauer' via isar-users
2026-10-15 21:15 ` [PATCH 1/4] sdimage-efi: use uuid for boot partition to support virtio disks 'Felix Moessbauer' via isar-users
2026-10-15 21:15 ` 'Felix Moessbauer' via isar-users [this message]
2026-10-15 21:15 ` [PATCH 3/4] qemuriscv64: add support for ubuntu resolute 'Felix Moessbauer' via isar-users
2026-10-15 21:15 ` [PATCH 4/4] testsuite: re-enable riscv64 and arm64 ubuntu resolute tests 'Felix Moessbauer' via isar-users
2026-10-26 16:49 ` Zhihang Wei
2026-10-27 8:59 ` 'Moessbauer, Felix' via isar-users
2026-10-29 14:20 ` [PATCH 0/4] Fix qemu riscv64 and arm64 ubuntu resolute targets Zhihang Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261015211527.3143702-3-felix.moessbauer@siemens.com \
--to=isar-users@googlegroups.com \
--cc=felix.moessbauer@siemens.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox