Skip to contentSkip to conversation

Update Isar revision

PATCH MOESSBAUER, Felix 2 participants 2 messages Aug 13 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · Felix Moessbauer via lists.cip- project.org

By that, we also need to update the firmware deployment again, as the previous interface was incompatible with sstate in combination with hash equivalence.

Hmm... this breaks as our kernel source package is arch / machine specific, which breaks the single-source rule.

We need to clarify if isar in general should append -${MACHINE} to the kernel source package, or if this is a downstream problem.

For machine specific kernels that are anyways just built for a single target, it does not matter. But here we build the same kernel under the same name for multiple targets.

Felix

Quoted 67 lines
---
 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(-)
kas-cip.yml +1 -1
index 5ed7ad2..4fcdec6 100644
@@ -22,7 +22,7 @@ repos:
 
   isar:
     url: https://github.com/ilbers/isar.git
-    commit: 481db3b2e8949336576e50a78aaf5d101f52c8d2
+    commit: 86c761e45e446c01874c0a36394f8be1f7d938d3
     layers:
       meta:
 
recipes-bsp/opensbi/opensbi-qemu-riscv64_1.7.bb +1 -1
index 9c2bece..3f51dc4 100644
@@ -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}"
 }
recipes-bsp/trusted-firmware-a/trusted-firmware-a-qemu-arm64_2.13.0.bb +2 -2
index 7fcd144..e07342d 100644
@@ -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
 }
recipes-bsp/u-boot/u-boot-qemu-common.inc +1 -1
index 18f871b..c20787a 100644
@@ -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"
 }
Signature · 1 line
2.55.0
#2 lore raw
Quoted 9 lines · Felix (FT RPD CED OES-DE)
Quoted 3 lines · Felix Moessbauer via lists.cip- project.org

By that, we also need to update the firmware deployment again, as the previous interface was incompatible with sstate in combination with hash equivalence.

Hmm... this breaks as our kernel source package is arch / machine specific, which breaks the single-source rule.

Quoted 7 lines

We need to clarify if isar in general should append -${MACHINE} to the kernel source package, or if this is a downstream problem.

For machine specific kernels that are anyways just built for a single target, it does not matter. But here we build the same kernel under the same name for multiple targets.

Hmm, it should be machine-specific. Is the cip kernel config causing this?

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center