All of lore.kernel.org
 help / color / mirror / Atom feed
* [thud/master][PATCH] sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin
@ 2020-02-26 21:37 Mahesh Radhakrishnan
  2020-02-27 21:28 ` [meta-ti] " Denys Dmytriyenko
       [not found] ` <15F75F9B6D48606D.22756@lists.yoctoproject.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Mahesh Radhakrishnan @ 2020-02-26 21:37 UTC (permalink / raw)
  To: meta-ti

---
 recipes-bsp/sciclient/sciclient-rtos_git.bb | 40 +++++++++++++++++++--
 1 file changed, 38 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb
index 6a3d79c3..ca3894fa 100644
--- a/recipes-bsp/sciclient/sciclient-rtos_git.bb
+++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb
@@ -7,14 +7,15 @@ TI_PDK_COMP = "ti.drv.sciclient"
 PE = "1"
 
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb"
 
 COMPATIBLE_MACHINE = "k3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-PR = "r0"
+PR = "r1"
 
 DEPENDS_append = " osal-rtos common-csl-ip-rtos"
+DEPENDS_append_k3 = " openssl-native"
 
 # Build with make instead of XDC
 TI_PDK_XDCMAKE = "0"
@@ -60,6 +61,41 @@ do_compile() {
     tar -cf sciclient.tar --exclude='*.tar' ./*
 }
 
+
+do_compile_prepend_am65xx-hs-evm() {
+
+    cd ${SCICLIENT_ROOTPATH}
+
+    # Saving the GP firmware to a different GP name
+    cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin
+    
+    cd ${SCICLIENT_ROOTPATH}/tools
+    # Create the .bin file for HS
+    ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages
+    cd -
+}
+
+do_compile_prepend_am65xx-evm() {
+
+    cd ${SCICLIENT_ROOTPATH}/tools
+
+    # Create the .bin file for GP, PG1
+    ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages
+    # Create the .bin file for GP, PG2
+    ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages
+    
+    cd -
+}
+
+
+do_compile_prepend_j7-evm() {
+
+    cd ${SCICLIENT_ROOTPATH}/tools
+    # Create the .bin file for GP
+    ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages
+    cd -
+}
+
 do_install() {
     cd ${SCICLIENT_ROOTPATH}
     install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-10 18:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-26 21:37 [thud/master][PATCH] sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin Mahesh Radhakrishnan
2020-02-27 21:28 ` [meta-ti] " Denys Dmytriyenko
     [not found] ` <15F75F9B6D48606D.22756@lists.yoctoproject.org>
2020-03-02 18:42   ` Denys Dmytriyenko
     [not found]   ` <15F890DA7571B9C2.27899@lists.yoctoproject.org>
2020-03-10 18:06     ` Denys Dmytriyenko
2020-03-10 18:33       ` Mahesh Radhakrishnan
2020-03-10 18:53         ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.