summaryrefslogtreecommitdiffstats
path: root/meta-ti-bsp/recipes-security
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2022-09-13 03:55:14 +0000
committerRyan Eatmon <reatmon@ti.com>2022-09-22 11:23:07 -0500
commit8a05ea297026a9d19710ec53314823eccc2d0b6d (patch)
tree8128288e77a6c748067906fc5a6e06e16daa34e9 /meta-ti-bsp/recipes-security
parent3e05a20aeca74a62057ff80a780066887b45a4bc (diff)
downloadmeta-ti-8a05ea297026a9d19710ec53314823eccc2d0b6d.tar.gz
optee-os: Use software RNG on AM62x and J721s2
The TRNG driver is not currently functional for these two platforms. Disable the TRNG driver until fixed. Reported-by: Vignesh Raghavendra <vigneshr@ti.com> Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Praneeth Bajjuri <praneeth@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-security')
-rw-r--r--meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
index 60e8c391..5d50a04f 100644
--- a/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
+++ b/meta-ti-bsp/recipes-security/optee/optee-os_%.bbappend
@@ -5,6 +5,9 @@ DEPENDS:append:ti-soc = " python3-cryptography-native"
5 5
6EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}" 6EXTRA_OEMAKE:append:k3 = "${@ ' CFG_CONSOLE_UART='+ d.getVar('OPTEE_K3_USART') if d.getVar('OPTEE_K3_USART') else ''}"
7 7
8EXTRA_OEMAKE:append:am62xx = " CFG_WITH_SOFTWARE_PRNG=y"
9EXTRA_OEMAKE:append:j721s2 = " CFG_WITH_SOFTWARE_PRNG=y"
10
8do_compile:prepend:ti-soc() { 11do_compile:prepend:ti-soc() {
9 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG} 12 export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
10} 13}