|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| cert/ | H | 05-Jun-2025 | - | 240 | 220 |
| client_export/public/ | H | 05-Jun-2025 | - | 3,324 | 1,710 |
| export-ta_arm32/ | H | 05-Jun-2025 | - | 307,798 | 191,052 |
| export-ta_arm64/ | H | 05-Jun-2025 | - | 307,731 | 191,022 |
| host/ | H | 05-Jun-2025 | - | 124,767 | 95,433 |
| scripts/ | H | 05-Jun-2025 | - | 184 | 129 |
| ta/ | H | 05-Jun-2025 | - | 21,493 | 15,415 |
| tools/ | H | 05-Jun-2025 | - | 298 | 234 |
| Android.mk | H A D | 05-Jun-2025 | 5.4 KiB | 177 | 130 |
| CMakeLists.txt | H A D | 05-Jun-2025 | 1.2 KiB | 35 | 30 |
| CMakeToolchain.txt | H A D | 05-Jun-2025 | 64 | 4 | 2 |
| LICENSE.md | H A D | 05-Jun-2025 | 254 | 6 | 4 |
| Makefile | H A D | 05-Jun-2025 | 2.5 KiB | 104 | 87 |
| README.md | H A D | 05-Jun-2025 | 387 | 11 | 7 |
| README_FOR_RK.md | H A D | 05-Jun-2025 | 1.1 KiB | 42 | 30 |
| build.sh | H A D | 05-Jun-2025 | 4.3 KiB | 135 | 115 |
| ndk_build.sh | H A D | 05-Jun-2025 | 251 | 3 | 2 |
| typedefs.checkpatch | H A D | 05-Jun-2025 | 20 | 3 | 2 |
README_FOR_RK.md
1########### OP-TEE testsuite and demo by Rockchip ##########
2
3The optee_test git contains the source code for the TEE
4test suite in Linux using the ARM(R) TrustZone(R) technology.
5
6##### HOWTO build the testsuite #####
7
81 build optee_client first
9* mm Android.mk in optee_client to build Dynamic Library:
10 libteec.so and Executable Binary: tee_supplicant.
11
122 build CA/TA
13* mm Android.mk in optee_test to build CA(Client Application,
14 running in normal world) and TA(Trust Application, running
15 in secure world).
16
17* OR if you only have NDK environment, you can use build.sh
18 to build TA and use ndk_build.sh to build CA.
19
20##### HOWTO run the testsuite #####
21
221 adb push the files mentioned above to machine.
23* put libteec.so in /system/lib/ and tee_supplicant in /system/bin/.
24* put CA in /system/bin/.
25* mkdir optee_armtz in /system/lib, then put TA in system/lib/optee_armtz.
26
272 run tee_supplicant
28* run tee_supplicant as root in background.
29 $ su
30 # tee_supplicant &
31
323 run CA
33* run CA.
34 # testapp
35 # testapp_storage
36 ...
37
38##### NOTICE #####
39
401 After each boot, you need run tee_supplicant first, otherwise CA/TA
41 can not complete interaction.
42