From patchwork Wed Jan 14 09:24:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frazer Carsley X-Patchwork-Id: 78671 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4928ED31A32 for ; Wed, 14 Jan 2026 09:25:23 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.6620.1768382722775139252 for ; Wed, 14 Jan 2026 01:25:22 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: frazer.carsley@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B6F6B497; Wed, 14 Jan 2026 01:25:15 -0800 (PST) Received: from e138143.cambridge.arm.com (e138143.arm.com [10.1.25.147]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 975B93F694; Wed, 14 Jan 2026 01:25:21 -0800 (PST) From: frazer.carsley@arm.com To: meta-arm@lists.yoctoproject.org Cc: Frazer Carsley Subject: [PATCH 1/3] arm/images: ensured consistent firmware deployment Date: Wed, 14 Jan 2026 09:24:50 +0000 Message-ID: <20260114092452.286544-2-frazer.carsley@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114092452.286544-1-frazer.carsley@arm.com> References: <20260114092452.286544-1-frazer.carsley@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Jan 2026 09:25:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6841 From: Frazer Carsley For builds using multiconfig, all of the firmware binaries listed were being placed in the ${DEPLOYDIR} directly without preserving their directory hierarchy. This meant that paths to firmware binaries relative to the ${DEPLOYDIR} differed between builds depending on whether multiconfig was enabled or not. Signed-off-by: Frazer Carsley --- meta-arm/recipes-bsp/images/firmware-deploy-image.bb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta-arm/recipes-bsp/images/firmware-deploy-image.bb b/meta-arm/recipes-bsp/images/firmware-deploy-image.bb index 2f347f0b..85bdc952 100644 --- a/meta-arm/recipes-bsp/images/firmware-deploy-image.bb +++ b/meta-arm/recipes-bsp/images/firmware-deploy-image.bb @@ -18,11 +18,14 @@ do_deploy() { firmware_loc=$(echo "${TMPDIR}" | sed "s/${TCLIBC}/musl/") firmware_loc="${firmware_loc}_${MACHINE}/deploy/images/${MACHINE}" for firmware in ${FIRMWARE_BINARIES}; do - echo "cp -av ${firmware_loc}/${firmware} ${DEPLOYDIR}/" - cp -av "${firmware_loc}/${firmware}" ${DEPLOYDIR}/ + # Preserve the directory structure when copying + subdir="$(dirname -- "${firmware}")" + mkdir -p "${DEPLOYDIR}"/"${subdir}" + echo "cp -av ${firmware_loc}/${firmware} ${DEPLOYDIR}/${subdir}" + cp -av "${firmware_loc}/${firmware}" ${DEPLOYDIR}/"${subdir}" if [ -L "${firmware_loc}/${firmware}" ]; then - echo "cp -av ${firmware_loc}/$(readlink ${firmware_loc}/${firmware}) ${DEPLOYDIR}/" - cp -av "${firmware_loc}/$(readlink ${firmware_loc}/${firmware})" ${DEPLOYDIR}/ + echo "cp -av ${firmware_loc}/$(readlink ${firmware_loc}/${firmware}) ${DEPLOYDIR}/${subdir}" + cp -av "${firmware_loc}/$(readlink ${firmware_loc}/${firmware})" ${DEPLOYDIR}/${subdir} fi done } From patchwork Wed Jan 14 09:24:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frazer Carsley X-Patchwork-Id: 78673 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1EE3DD31A33 for ; Wed, 14 Jan 2026 09:25:33 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.6513.1768382724266192838 for ; Wed, 14 Jan 2026 01:25:24 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: frazer.carsley@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EF042339; Wed, 14 Jan 2026 01:25:16 -0800 (PST) Received: from e138143.cambridge.arm.com (e138143.arm.com [10.1.25.147]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CF5413F694; Wed, 14 Jan 2026 01:25:22 -0800 (PST) From: frazer.carsley@arm.com To: meta-arm@lists.yoctoproject.org Cc: Frazer Carsley Subject: [PATCH 2/3] arm-bsp/docs:corstone1000: update paths Date: Wed, 14 Jan 2026 09:24:51 +0000 Message-ID: <20260114092452.286544-3-frazer.carsley@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114092452.286544-1-frazer.carsley@arm.com> References: <20260114092452.286544-1-frazer.carsley@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Jan 2026 09:25:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6842 From: Frazer Carsley The paths for these files has changed due to the change to the trusted-firmware-m recipe now using the custom firmware.bbclass. Signed-off-by: Frazer Carsley --- meta-arm-bsp/documentation/corstone1000/user-guide.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-arm-bsp/documentation/corstone1000/user-guide.rst b/meta-arm-bsp/documentation/corstone1000/user-guide.rst index 5f807f39..f4f4c794 100644 --- a/meta-arm-bsp/documentation/corstone1000/user-guide.rst +++ b/meta-arm-bsp/documentation/corstone1000/user-guide.rst @@ -988,7 +988,7 @@ Use the following commands to generate the `capsule_config.json` file, which is build/tmp/work/corstone1000_${TARGET}-poky-linux-musl/corstone1000-flash-firmware-image/1.0/sources/corstone1000-flash-firmware-image-1.0/dummy.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/trusted-firmware-m/bl2_signed.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/trusted-firmware-m/tfm_s_signed.bin \ - build/tmp/deploy/images/corstone1000-${TARGET}/signed_fip-corstone1000.bin \ + build/tmp/deploy/images/corstone1000-${TARGET}/signed_fip.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/Image.gz-initramfs-corstone1000-${TARGET}.bin \ build/tmp/work/corstone1000_${TARGET}-poky-linux-musl/corstone1000-flash-firmware-image/1.0/sources/corstone1000-flash-firmware-image-1.0/dummy.bin \ --update_image_indexes 5 1 2 3 4 6 \ @@ -1047,7 +1047,7 @@ Use the following commands to generate the `capsule_config.json` file, which is build/tmp/work/corstone1000_${TARGET}-poky-linux-musl/corstone1000-flash-firmware-image/1.0/sources/corstone1000-flash-firmware-image-1.0/dummy.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/trusted-firmware-m/bl2_signed.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/trusted-firmware-m/tfm_s_signed.bin \ - build/tmp/deploy/images/corstone1000-${TARGET}/signed_fip-corstone1000.bin \ + build/tmp/deploy/images/corstone1000-${TARGET}/signed_fip.bin \ build/tmp/deploy/images/corstone1000-${TARGET}/Image.gz-initramfs-corstone1000-${TARGET}.bin \ build/tmp/work/corstone1000_${TARGET}-poky-linux-musl/corstone1000-flash-firmware-image/1.0/sources/corstone1000-flash-firmware-image-1.0/dummy.bin \ --update_image_indexes 5 1 2 3 4 6 \ From patchwork Wed Jan 14 09:24:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frazer Carsley X-Patchwork-Id: 78672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23B49D31A35 for ; Wed, 14 Jan 2026 09:25:33 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.6621.1768382725176241865 for ; Wed, 14 Jan 2026 01:25:25 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: frazer.carsley@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 321FA1424; Wed, 14 Jan 2026 01:25:18 -0800 (PST) Received: from e138143.cambridge.arm.com (e138143.arm.com [10.1.25.147]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1375D3F694; Wed, 14 Jan 2026 01:25:23 -0800 (PST) From: frazer.carsley@arm.com To: meta-arm@lists.yoctoproject.org Cc: Frazer Carsley Subject: [PATCH 3/3] arm-bsp/conf:corstone1000: update bl1.bin path Date: Wed, 14 Jan 2026 09:24:52 +0000 Message-ID: <20260114092452.286544-4-frazer.carsley@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260114092452.286544-1-frazer.carsley@arm.com> References: <20260114092452.286544-1-frazer.carsley@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 14 Jan 2026 09:25:33 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6843 From: Frazer Carsley The path changed when the trusted-firmware-m recipe began to inherit firmware.bbclass. Signed-off-by: Frazer Carsley --- meta-arm-bsp/conf/machine/corstone1000-fvp.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arm-bsp/conf/machine/corstone1000-fvp.conf b/meta-arm-bsp/conf/machine/corstone1000-fvp.conf index 9fa2a63d..ecdb4e19 100644 --- a/meta-arm-bsp/conf/machine/corstone1000-fvp.conf +++ b/meta-arm-bsp/conf/machine/corstone1000-fvp.conf @@ -32,7 +32,7 @@ FVP_CONSOLES[se] = "secenc_terminal" FASTSIM_DISABLE_TA = "0" # FVP Parameters -FVP_CONFIG[se.trustedBootROMloader.fname] ?= "bl1.bin" +FVP_CONFIG[se.trustedBootROMloader.fname] ?= "trusted-firmware-m/bl1.bin" FVP_CONFIG[board.xnvm_size] ?= "64" FVP_CONFIG[se.trustedSRAM_config] ?= "6" FVP_CONFIG[se.BootROM_config] ?= "3"