Skip to contentSkip to conversation

ti-sci-fw_git: Fix issue with using gp*.bin for TISCI firmware

PATCH Superseded Yogesh Siraswar 2 participants 3 messages Oct 20, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-sci-fw_git: Fix issue with using gp*.bin for TISCI firmware

With ti-sysfs also hosting *gp-cert.bin for am64x hs-fs breaks gp. This patch removes * to directly reference the TISCI firmware

---
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -1
index ca56e1de..ef242476 100644
@@ -28,7 +28,7 @@ SYSFW_SUFFIX ?= "unknown"
 
 SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-${SYSFW_SUFFIX}"
 
-SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}*.bin"
+SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}.bin"
 
 SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
 SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Yogesh Siraswar via lists.yoctoproject.org

With ti-sysfs also hosting *gp-cert.bin for am64x hs-fs breaks gp. This patch removes * to directly reference the TISCI firmware

But wouldn't it in turn break HS platforms? That * was there specifically due to HS having multiple .bin files that need to be packaged.

Quoted 21 lines
---
 recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -1
index ca56e1de..ef242476 100644
@@ -28,7 +28,7 @@ SYSFW_SUFFIX ?= "unknown"
 
 SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-${SYSFW_SUFFIX}"
 
-SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}*.bin"
+SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}.bin"
 
 SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
 SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
Signature · 1 line
2.17.1
Signature · 4 lines
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186  6D76 4209 0272 9A92 C964
#2 lore raw
Quoted 6 lines · Denys Dmytriyenko
Quoted 2 lines · Yogesh Siraswar via lists.yoctoproject.org

With ti-sysfs also hosting *gp-cert.bin for am64x hs-fs breaks gp. This patch removes * to directly reference the TISCI firmware

But wouldn't it in turn break HS platforms? That * was there specifically due to HS having multiple .bin files that need to be packaged.

Yes, it does. Need to machine specific override for GP and HS.

Quoted 24 lines
Quoted 23 lines
---
  recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb +1 -1
index ca56e1de..ef242476 100644
@@ -28,7 +28,7 @@ SYSFW_SUFFIX ?= "unknown"
 
  SYSFW_BASE = "${SYSFW_PREFIX}-${SYSFW_SOC}-${SYSFW_SUFFIX}"
 
-SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}*.bin"
+SYSFW_TISCI = "${S}/ti-sysfw/${SYSFW_BASE}.bin"
 
  SYSFW_BINARY = "sysfw-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
  SYSFW_VBINARY = "sysfw-${PV}-${SYSFW_SOC}-${SYSFW_CONFIG}.itb"
Signature · 1 line
2.17.1