Skip to contentSkip to conversation

ti-sci-fw add k3r5 as COMPATIBLE_MACHINE

PATCH New Aniket Limaye 1 participant 3 messages Sep 28, 2023

lore
Share & tools
lore
#0 lore raw

cover ti-sci-fw add k3r5 as COMPATIBLE_MACHINE

ti-sci-fw: only packages fw for r5f, so add k3r5 as COMPATIBLE_MACHINE
u-boot: remove ti-sci-fw from DEPENDS:k3. Only the r5f build should depend on ti-sci-fw

Aniket Limaye (2):
recipes-bsp: u-boot-ti.inc: Remove ti-sci-fw from DEPENDS for k3
machine
recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE

 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc       | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 recipes-bsp: u-boot-ti.inc: Remove ti-sci-fw from DEPENDS for k3 machine

ti-sci-fw should be needed by the binman u-boot build only for the k3r5 machines and not for the k3 machines

---
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 1 -
 1 file changed, 1 deletion(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +0 -1
index 5292517b..c957feb0 100644
@@ -30,7 +30,6 @@ DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native python3-se
 DEPENDS += "python3-pyelftools-native python3-pyyaml-native python3-jsonschema-native"
 
 # SYSFW/TIFS Firmware
-DEPENDS:append:k3 = " ti-sci-fw"
 DEPENDS:append:k3r5 = " ti-sci-fw"
 
 DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 2/2 recipes-bsp:ti-sci-fw: Add k3r5 as COMPATIBLE_MACHINE

In reply to Aniket Limaye

This recipe only provides the sysfw binaries compiled for the r5

---
 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -0
index 5ad1e688..ab9356b6 100644
@@ -2,6 +2,7 @@ SUMMARY = "TI SYSFW/TIFS Firmware"
 
 require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
 
+COMPATIBLE_MACHINE = "k3r5"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 CFLAGS[unexport] = "1"
Signature · 1 line
2.34.1