Skip to contentSkip to conversation

common-csl-ip-rtos: drop unnecessary dependency on ti-sysbios

PATCH In review Denys Dmytriyenko 2 participants 3 messages Mar 13, 2021 – Apr 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 common-csl-ip-rtos: drop unnecessary dependency on ti-sysbios

It appears common-csl-ip-rtos does not require ti-sysbios dependency to build, but ti-pdk.bbclass adds it by default. While most of PDK-based components do require ti-sysbios to be built from sources, it is safe to remove it from CSL, reducing the dependency tree for special cases like PRU FW based on CSL, but not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

---
 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +1 -0
index 98b2d13..6479d9f 100644
@@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_append = "|c66x|k3"
 inherit ti-pdk
 
 DEPENDS_remove = "${PN}"
+DEPENDS_remove = "ti-sysbios"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
Signature · 1 line
2.7.4
#1 lore raw

I see this hasn't been merged, nor got any comments. W/o patchwork access I won't be able to keep track of all the patches sent and applied...

Quoted 31 lines · Denys Dmytriyenko

It appears common-csl-ip-rtos does not require ti-sysbios dependency to build, but ti-pdk.bbclass adds it by default. While most of PDK-based components do require ti-sysbios to be built from sources, it is safe to remove it from CSL, reducing the dependency tree for special cases like PRU FW based on CSL, but not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

---
 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +1 -0
index 98b2d13..6479d9f 100644
@@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_append = "|c66x|k3"
 inherit ti-pdk
 
 DEPENDS_remove = "${PN}"
+DEPENDS_remove = "ti-sysbios"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
Signature · 1 line
2.7.4
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

Looks good to me. Will take care of integration tomorrow.

On Apr 2, 2021 9:19 PM, Denys Dmytriyenko <[email protected]> wrote:
I see this hasn't been merged, nor got any comments. W/o patchwork access I won't be able to keep track of all the patches sent and applied...

Quoted 29 lines · Denys Dmytriyenko

It appears common-csl-ip-rtos does not require ti-sysbios dependency to build, but ti-pdk.bbclass adds it by default. While most of PDK-based components do require ti-sysbios to be built from sources, it is safe to remove it from CSL, reducing the dependency tree for special cases like PRU FW based on CSL, but not needing ti-sysbios.

This only affects firmwares built from sources against PDK and CSL, not when RTOS firmwares are delivered in binary form for newer K3 platforms.

Build-tested on am335x, am57xx, k2g and am65xx.

---
 recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-bsp/common-csl-ip/common-csl-ip-rtos_git.bb +1 -1
index 98b2d13..6479d9f 100644
@@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_append = "|c66x|k3"
 inherit ti-pdk
 
 DEPENDS_remove = "${PN}"
+DEPENDS_remove = "ti-sysbios"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
--
Quoted 2 lines

2.7.4

--
Regards,
Denys Dmytriyenko <[email protected]>
PGP: 0x420902729A92C964 - https://denix.org/0x420902729A92C964
Fingerprint: 25FC E4A5 8A72 2F69 1186 6D76 4209 0272 9A92 C964