From 96202061bd81674e13ec8171f3a492a538a0a926 Mon Sep 17 00:00:00 2001 From: Mahesh Radhakrishnan Date: Wed, 11 Mar 2020 00:33:05 +0000 Subject: sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin Signed-off-by: Denys Dmytriyenko --- recipes-bsp/sciclient/sciclient-rtos_git.bb | 37 ++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb index a5aacd9f..3627cbc7 100644 --- a/recipes-bsp/sciclient/sciclient-rtos_git.bb +++ b/recipes-bsp/sciclient/sciclient-rtos_git.bb @@ -14,7 +14,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" PR = "r1" -DEPENDS_append = " osal-rtos common-csl-ip-rtos" +DEPENDS_append = " osal-rtos common-csl-ip-rtos openssl-native" # Build with make instead of XDC TI_PDK_XDCMAKE = "0" @@ -60,6 +60,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 -- cgit v1.2.3-54-g00ecf