1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-07 03:11:59 +00:00

sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Mahesh Radhakrishnan
2020-03-11 00:33:05 +00:00
committed by Denys Dmytriyenko
parent c5045c8c29
commit 9d4240be7b
+36 -1
View File
@@ -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