From 88d94ef02988376c22bf493e40ba339b2572236e Mon Sep 17 00:00:00 2001 From: Aymeric Aillet Date: Fri, 20 Sep 2019 16:48:04 +0200 Subject: [Community] Add optee packages recipes Allow us to use the xtest suite and examples in order to test the functionning of optee. More information on the optee official website. Add a user-app example. Allow us to build a custom app working in both optee side. Fix optee examples recipe. Allow us to to access functions from examples TA's from other apps. BUG-AGL: SPEC-3030 Change-Id: I28f2c117dfa7a66ef2ebc0ede2ec32d7b218b549 Signed-off-by: Aymeric Aillet --- .../recipes-bsp/optee/optee-test/optee_xtest_fix.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-rcar-gen3/recipes-bsp/optee/optee-test/optee_xtest_fix.diff (limited to 'meta-rcar-gen3/recipes-bsp/optee/optee-test/optee_xtest_fix.diff') diff --git a/meta-rcar-gen3/recipes-bsp/optee/optee-test/optee_xtest_fix.diff b/meta-rcar-gen3/recipes-bsp/optee/optee-test/optee_xtest_fix.diff new file mode 100644 index 0000000..5067086 --- /dev/null +++ b/meta-rcar-gen3/recipes-bsp/optee/optee-test/optee_xtest_fix.diff @@ -0,0 +1,13 @@ +diff --git a/host/xtest/regression_6000.c b/host/xtest/regression_6000.c +index 336ea14..2379e43 100644 +--- a/host/xtest/regression_6000.c ++++ b/host/xtest/regression_6000.c +@@ -82,6 +82,8 @@ static uint32_t fs_id_for_tee_storage_private(void) + return TEE_STORAGE_PRIVATE_REE; + #elif defined(CFG_RPMB_FS) + return TEE_STORAGE_PRIVATE_RPMB; ++#else ++ return TEE_STORAGE_PRIVATE; + #endif + } + -- cgit 1.2.3-korg