Re: [isar-cip-core][PATCH] Update Isar revision

Jan Kiszka <[email protected]>
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
On 13.08.26 09:07, Felix Moessbauer wrote:
> By that, we also need to update the firmware deployment again, as the
> previous interface was incompatible with sstate in combination with
> hash equivalence.
> 
> Signed-off-by: Felix Moessbauer <[email protected]>
> ---
>  kas-cip.yml                                                   | 2 +-
>  recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb               | 2 +-
>  .../trusted-firmware-a-qemu-arm64_2.13.0.bb                   | 4 ++--
>  recipes-bsp/u-boot/u-boot-qemu-common.inc                     | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/kas-cip.yml b/kas-cip.yml
> index 5ed7ad2..4fcdec6 100644
> --- a/kas-cip.yml
> +++ b/kas-cip.yml
> @@ -22,7 +22,7 @@ repos:
>  
>    isar:
>      url: https://github.com/ilbers/isar.git
> -    commit: 481db3b2e8949336576e50a78aaf5d101f52c8d2
> +    commit: 86c761e45e446c01874c0a36394f8be1f7d938d3
>      layers:
>        meta:
>  
> diff --git a/recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb b/recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb
> index 9c2bece..3f51dc4 100644
> --- a/recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb
> +++ b/recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb
> @@ -14,7 +14,7 @@ OPENSBI_BIN = "fw_payload.bin"
>  OPENSBI_EXTRA_BUILDARGS = "FW_PAYLOAD_PATH=/usr/lib/u-boot/qemu-riscv64/u-boot.bin"
>  
>  do_deploy_firmware() {
> -    dpkg --fsys-tarfile "${DEPLOYDIR}/${PN}_${PV}_${DISTRO_ARCH}.deb" | \
> +    dpkg --fsys-tarfile "${DEPLOY_DIR_DEB}/${PN}_${PV}_${DISTRO_ARCH}.deb" | \
>          tar xOf - "./usr/lib/opensbi/${MACHINE}/${OPENSBI_BIN}" \
>          > "${DEPLOYDIR_FIRMWARE}/${OPENSBI_BIN}"
>  }
> diff --git a/recipes-bsp/trusted-firmware-a/trusted-firmware-a-qemu-arm64_2.13.0.bb b/recipes-bsp/trusted-firmware-a/trusted-firmware-a-qemu-arm64_2.13.0.bb
> index 7fcd144..e07342d 100644
> --- a/recipes-bsp/trusted-firmware-a/trusted-firmware-a-qemu-arm64_2.13.0.bb
> +++ b/recipes-bsp/trusted-firmware-a/trusted-firmware-a-qemu-arm64_2.13.0.bb
> @@ -32,10 +32,10 @@ TF_A_EXTRA_BUILDARGS = " \
>  TF_A_BINARIES = "release/bl1.bin release/fip.bin"
>  
>  do_deploy_firmware() {
> -    dpkg --fsys-tarfile "${DEPLOYDIR}/trusted-firmware-a-${TF_A_NAME}_${PV}_${DISTRO_ARCH}.deb" | \
> +    dpkg --fsys-tarfile "${DEPLOY_DIR_DEB}/trusted-firmware-a-${TF_A_NAME}_${PV}_${DISTRO_ARCH}.deb" | \
>          tar xOf - "./usr/lib/trusted-firmware-a/${TF_A_NAME}/bl1.bin" \
>          > "${DEPLOYDIR_FIRMWARE}/firmware.bin"
> -    dpkg --fsys-tarfile "${DEPLOYDIR}/trusted-firmware-a-${TF_A_NAME}_${PV}_${DISTRO_ARCH}.deb" | \
> +    dpkg --fsys-tarfile "${DEPLOY_DIR_DEB}/trusted-firmware-a-${TF_A_NAME}_${PV}_${DISTRO_ARCH}.deb" | \
>          tar xOf - "./usr/lib/trusted-firmware-a/${TF_A_NAME}/fip.bin" | \
>          dd of="${DEPLOYDIR_FIRMWARE}/firmware.bin" seek=64 bs=4096 conv=notrunc
>  }
> diff --git a/recipes-bsp/u-boot/u-boot-qemu-common.inc b/recipes-bsp/u-boot/u-boot-qemu-common.inc
> index 18f871b..c20787a 100644
> --- a/recipes-bsp/u-boot/u-boot-qemu-common.inc
> +++ b/recipes-bsp/u-boot/u-boot-qemu-common.inc
> @@ -26,7 +26,7 @@ python() {
>  }
>  
>  do_deploy_firmware() {
> -    dpkg --fsys-tarfile "${DEPLOYDIR}/u-boot-${MACHINE}_${PV}_${DISTRO_ARCH}.deb" | \
> +    dpkg --fsys-tarfile "${DEPLOY_DIR_DEB}/u-boot-${MACHINE}_${PV}_${DISTRO_ARCH}.deb" | \
>          tar xOf - "./usr/lib/u-boot/${MACHINE}/${U_BOOT_BIN}" \
>          > "${DEPLOYDIR_FIRMWARE}/firmware.bin"
>  }

This is already in next.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.