Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta-arago-distro/conf/distro/arago.conf | 1 +
.../recipes-security/optee/optee-os_git.bbappend | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/meta-arago-distro/conf/distro/arago.conf
b/meta-arago-distro/conf/distro/arago.conf
index 6ea41989..bc786a77 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -52,6 +52,7 @@ KERNEL_IMAGETYPES_am57xx-hs-evm = "zImage fitImage"
KERNEL_IMAGETYPES_am437x-hs-evm = "zImage fitImage"
KERNEL_IMAGETYPES_am335x-hs-evm = "zImage fitImage"
KERNEL_IMAGETYPES_am65xx-hs-evm = "Image fitImage"
+KERNEL_IMAGETYPES_j7-hs-evm = "Image fitImage"
KERNEL_IMAGETYPES_k2e-hs-evm = "zImage fitImage"
INITRAMFS_IMAGE_k2e-hs-evm = "k2-fw-initrd"
diff --git a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
index 2fb3e279..86945545 100644
--- a/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
+++ b/meta-arago-distro/recipes-security/optee/optee-os_git.bbappend
@@ -45,6 +45,16 @@ do_compile_am65xx-hs-evm() {
)
}
+do_compile_j7-hs-evm() {
+ export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+ oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
+ ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin
tee-pager.bin.signed; \
+ mv tee-pager.bin.signed ${B}/bl32.bin; \
+ cp tee.elf ${B}/bl32.elf; \
+ )
+}
+
do_install() {
#install core on boot directory
install -d ${D}/boot
--
2.17.1
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago