diff options
Diffstat (limited to 'meta-ti-bsp/recipes-security')
-rw-r--r-- | meta-ti-bsp/recipes-security/optee/optee-os-ti.inc | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-ti.inc b/meta-ti-bsp/recipes-security/optee/optee-os-ti.inc index 9140d12d..20f88127 100644 --- a/meta-ti-bsp/recipes-security/optee/optee-os-ti.inc +++ b/meta-ti-bsp/recipes-security/optee/optee-os-ti.inc | |||
@@ -8,7 +8,6 @@ EXTRA_OEMAKE:append:am62axx = " CFG_TEE_CORE_LOG_LEVEL=1" | |||
8 | 8 | ||
9 | do_compile:append:k3() { | 9 | do_compile:append:k3() { |
10 | cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin | 10 | cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin |
11 | cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin.unsigned | ||
12 | cp ${B}/core/tee.elf ${B}/bl32.elf | 11 | cp ${B}/core/tee.elf ${B}/bl32.elf |
13 | } | 12 | } |
14 | 13 | ||
@@ -39,53 +38,9 @@ do_compile:append:dra7xx() { | |||
39 | optee_sign_legacyhs | 38 | optee_sign_legacyhs |
40 | } | 39 | } |
41 | 40 | ||
42 | # Signing procedure for K3 devices | ||
43 | optee_sign_k3hs() { | ||
44 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${B}/core/tee-pager_v2.bin ${B}/bl32.bin | ||
45 | cp ${B}/core/tee-pager_v2.bin ${B}/bl32.bin.unsigned | ||
46 | cp ${B}/core/tee.elf ${B}/bl32.elf | ||
47 | } | ||
48 | |||
49 | do_compile:append:am65xx-hs-evm() { | ||
50 | optee_sign_k3hs | ||
51 | } | ||
52 | |||
53 | do_compile:append:am64xx-evm() { | ||
54 | optee_sign_k3hs | ||
55 | } | ||
56 | |||
57 | do_compile:append:am62xx-evm() { | ||
58 | optee_sign_k3hs | ||
59 | } | ||
60 | |||
61 | do_compile:append:am62xx-lp-evm() { | ||
62 | optee_sign_k3hs | ||
63 | } | ||
64 | |||
65 | do_compile:append:am62axx-evm() { | ||
66 | optee_sign_k3hs | ||
67 | } | ||
68 | |||
69 | do_compile:append:j721e-hs-evm() { | ||
70 | optee_sign_k3hs | ||
71 | } | ||
72 | |||
73 | do_compile:append:j7200-hs-evm() { | ||
74 | optee_sign_k3hs | ||
75 | } | ||
76 | |||
77 | do_compile:append:j721s2-hs-evm() { | ||
78 | optee_sign_k3hs | ||
79 | } | ||
80 | |||
81 | do_compile:append:j784s4-hs-evm() { | ||
82 | optee_sign_k3hs | ||
83 | } | ||
84 | |||
85 | do_install:append() { | 41 | do_install:append() { |
86 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true | 42 | install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true |
87 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true | 43 | install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true |
88 | install -m 644 ${B}/bl32.bin.unsigned ${D}${nonarch_base_libdir}/firmware/ || true | ||
89 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true | 44 | install -m 644 ${B}/bl32.elf ${D}${nonarch_base_libdir}/firmware/ || true |
90 | } | 45 | } |
91 | 46 | ||
@@ -106,7 +61,6 @@ do_deploy:append:dra7xx() { | |||
106 | 61 | ||
107 | do_deploy:append:k3() { | 62 | do_deploy:append:k3() { |
108 | ln -sf optee/bl32.bin ${DEPLOYDIR}/ | 63 | ln -sf optee/bl32.bin ${DEPLOYDIR}/ |
109 | ln -sf optee/bl32.bin.unsigned ${DEPLOYDIR}/ | ||
110 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ | 64 | ln -sf optee/bl32.elf ${DEPLOYDIR}/ |
111 | } | 65 | } |
112 | 66 | ||