Skip to contentSkip to conversation

atf, sciclient: add missing j7-hs-evm support

PATCH New Denys Dmytriyenko 1 participant 1 message May 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atf, sciclient: add missing j7-hs-evm support

From: Denys Dmytriyenko <[email protected]>

---
 recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb | 8 ++++++++
 recipes-bsp/sciclient/sciclient-rtos_git.bb                  | 1 +
 2 files changed, 9 insertions(+)
recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.2.bb +8 -0
index f15570c..ae957bf 100644
@@ -54,6 +54,14 @@ do_compile_append_am65xx-hs-evm() {
 	)
 }
 
+do_compile_append_j7-hs-evm() {
+	export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+	( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
+		mv bl31.bin bl31.bin.unsigned; \
+		${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
+	)
+}
+
 do_install() {
 	install -d ${D}/boot
 	install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin ${D}/boot/
recipes-bsp/sciclient/sciclient-rtos_git.bb +1 -0
index 7fbeb1e..deaf0b1 100644
@@ -27,6 +27,7 @@ export PDK_SCICLIENT_ROOT_PATH = "${SCICLIENT_PACKAGE_BASE}/package/all/pdk_/pac
 
 BUILD_HS = ""
 BUILD_HS_am65xx-hs-evm = "yes"
+BUILD_HS_j7-hs-evm = "yes"
 export BUILD_HS
 
 # Sciclient for am65x supports mcu1_1 in addition to the default cores in TI_PDK_LIMIT_CORES
Signature · 1 line
2.7.4