From: Jon Mason <jon.mason@arm.com>
To: meta-arm@lists.yoctoproject.org
Subject: [PATCH 2/2] arm/wic: consolidate QEMU U-Boot WKS files
Date: Mon, 23 Nov 2026 10:35:05 -0600 [thread overview]
Message-ID: <20261123163505.14583-2-jon.mason@arm.com> (raw)
In-Reply-To: <20261123163505.14583-1-jon.mason@arm.com>
Replace the qemuarm and qemuarm64 WKS files with one template.
The only layout difference is the U-Boot config file name,
which each machine now supplies.
Signed-off-by: Jon Mason <jon.mason@arm.com>
---
meta-arm/conf/machine/qemuarm-secureboot.conf | 3 ++-
meta-arm/conf/machine/qemuarm64-secureboot.conf | 3 ++-
meta-arm/files/wic/{qemuarm.wks => qemu-u-boot.wks.in} | 2 +-
meta-arm/files/wic/qemuarm64.wks | 4 ----
4 files changed, 5 insertions(+), 7 deletions(-)
rename meta-arm/files/wic/{qemuarm.wks => qemu-u-boot.wks.in} (80%)
delete mode 100644 meta-arm/files/wic/qemuarm64.wks
diff --git a/meta-arm/conf/machine/qemuarm-secureboot.conf b/meta-arm/conf/machine/qemuarm-secureboot.conf
index 2787472bfdbf..abd4c50fc9f6 100644
--- a/meta-arm/conf/machine/qemuarm-secureboot.conf
+++ b/meta-arm/conf/machine/qemuarm-secureboot.conf
@@ -16,7 +16,8 @@ QB_KERNEL_CMDLINE_APPEND = ""
IMAGE_FSTYPES += "wic wic.qcow2"
-WKS_FILE ?= "qemuarm.wks"
+WKS_FILE ?= "qemu-u-boot.wks.in"
+QEMU_WKS_CONFIGFILE = "qemuarm.cfg"
WKS_FILE_DEPENDS = "trusted-firmware-a"
#FIXME - in 2.15.0, new logic for pen hold the SMP cores was added, which breaks this platform. Hold this back until it can be resolved.
PREFERRED_VERSION_trusted-firmware-a ?= "2.14.%"
diff --git a/meta-arm/conf/machine/qemuarm64-secureboot.conf b/meta-arm/conf/machine/qemuarm64-secureboot.conf
index 102166312036..360d265e38fb 100644
--- a/meta-arm/conf/machine/qemuarm64-secureboot.conf
+++ b/meta-arm/conf/machine/qemuarm64-secureboot.conf
@@ -17,7 +17,8 @@ QB_KERNEL_ROOT = "/dev/vda2"
IMAGE_FSTYPES += "wic wic.qcow2"
-WKS_FILE ?= "qemuarm64.wks"
+WKS_FILE ?= "qemu-u-boot.wks.in"
+QEMU_WKS_CONFIGFILE = "qemuarm64.cfg"
WKS_FILE_DEPENDS:append = " trusted-firmware-a"
IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPE}"
diff --git a/meta-arm/files/wic/qemuarm.wks b/meta-arm/files/wic/qemu-u-boot.wks.in
similarity index 80%
rename from meta-arm/files/wic/qemuarm.wks
rename to meta-arm/files/wic/qemu-u-boot.wks.in
index ccd53c286b0c..9d0fb81134aa 100644
--- a/meta-arm/files/wic/qemuarm.wks
+++ b/meta-arm/files/wic/qemu-u-boot.wks.in
@@ -1,4 +1,4 @@
-bootloader --ptable gpt --configfile="qemuarm.cfg"
+bootloader --ptable gpt --configfile="${QEMU_WKS_CONFIGFILE}"
part /boot --ondisk=vda --align 64 --size=100M --active --source bootimg-partition --fstype=ext4 --label boot --sourceparams="loader=u-boot"
part / --ondisk=vda --source rootfs --fstype=ext4 --label root
diff --git a/meta-arm/files/wic/qemuarm64.wks b/meta-arm/files/wic/qemuarm64.wks
deleted file mode 100644
index 9df44c20ee5c..000000000000
--- a/meta-arm/files/wic/qemuarm64.wks
+++ /dev/null
@@ -1,4 +0,0 @@
-bootloader --ptable gpt --configfile="qemuarm64.cfg"
-
-part /boot --ondisk=vda --align 64 --size=100M --active --source bootimg-partition --fstype=ext4 --label boot --sourceparams="loader=u-boot"
-part / --ondisk=vda --source rootfs --fstype=ext4 --label root
--
2.54.0 (Apple Git-157)
prev parent reply other threads:[~2026-11-23 16:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 16:35 [PATCH 1/2] arm-bsp/wic: consolidate EFI disk WKS files Jon Mason
2026-11-23 16:35 ` Jon Mason [this message]
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=20261123163505.14583-2-jon.mason@arm.com \
--to=jon.mason@arm.com \
--cc=meta-arm@lists.yoctoproject.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.