diff options
author | Mahesh Radhakrishnan <m-radhakrishnan2@ti.com> | 2020-03-11 00:33:05 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2020-03-13 16:43:33 +0000 |
commit | be84ceb167d186ae91adffbdbc6e4a13531b3997 (patch) | |
tree | d76a51087599b58a0dc1a79c4165f10ad82588d8 | |
parent | df3561f686b07845b5a2ad23e4223644a88784e2 (diff) | |
download | meta-ti-be84ceb167d186ae91adffbdbc6e4a13531b3997.tar.gz |
sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-bsp/sciclient/sciclient-rtos_git.bb | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/recipes-bsp/sciclient/sciclient-rtos_git.bb b/recipes-bsp/sciclient/sciclient-rtos_git.bb index 6a3d79c3..3bd07278 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}" | |||
14 | 14 | ||
15 | PR = "r0" | 15 | PR = "r0" |
16 | 16 | ||
17 | DEPENDS_append = " osal-rtos common-csl-ip-rtos" | 17 | DEPENDS_append = " osal-rtos common-csl-ip-rtos openssl-native" |
18 | 18 | ||
19 | # Build with make instead of XDC | 19 | # Build with make instead of XDC |
20 | TI_PDK_XDCMAKE = "0" | 20 | TI_PDK_XDCMAKE = "0" |
@@ -60,6 +60,41 @@ do_compile() { | |||
60 | tar -cf sciclient.tar --exclude='*.tar' ./* | 60 | tar -cf sciclient.tar --exclude='*.tar' ./* |
61 | } | 61 | } |
62 | 62 | ||
63 | |||
64 | do_compile_prepend_am65xx-hs-evm() { | ||
65 | |||
66 | cd ${SCICLIENT_ROOTPATH} | ||
67 | |||
68 | # Saving the GP firmware to a different GP name | ||
69 | cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin | ||
70 | |||
71 | cd ${SCICLIENT_ROOTPATH}/tools | ||
72 | # Create the .bin file for HS | ||
73 | ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages | ||
74 | cd - | ||
75 | } | ||
76 | |||
77 | do_compile_prepend_am65xx-evm() { | ||
78 | |||
79 | cd ${SCICLIENT_ROOTPATH}/tools | ||
80 | |||
81 | # Create the .bin file for GP, PG1 | ||
82 | ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages | ||
83 | # Create the .bin file for GP, PG2 | ||
84 | ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages | ||
85 | |||
86 | cd - | ||
87 | } | ||
88 | |||
89 | |||
90 | do_compile_prepend_j7-evm() { | ||
91 | |||
92 | cd ${SCICLIENT_ROOTPATH}/tools | ||
93 | # Create the .bin file for GP | ||
94 | ${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages | ||
95 | cd - | ||
96 | } | ||
97 | |||
63 | do_install() { | 98 | do_install() { |
64 | cd ${SCICLIENT_ROOTPATH} | 99 | cd ${SCICLIENT_ROOTPATH} |
65 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient | 100 | install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient |