| Dennis Huang | 291d4d2 | 2014-04-23 14:41:43 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. |
| 3 | * |
| 4 | * Permission is hereby granted, free of charge, to any person obtaining |
| 5 | * a copy of this software and associated documentation files |
| 6 | * (the "Software"), to deal in the Software without restriction, |
| 7 | * including without limitation the rights to use, copy, modify, merge, |
| 8 | * publish, distribute, sublicense, and/or sell copies of the Software, |
| 9 | * and to permit persons to whom the Software is furnished to do so, |
| 10 | * subject to the following conditions: |
| 11 | * |
| 12 | * The above copyright notice and this permission notice shall be |
| 13 | * included in all copies or substantial portions of the Software. |
| 14 | * |
| 15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 16 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 17 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 18 | * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
| 19 | * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
| 20 | * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
| 21 | * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 22 | */ |
| 23 | |
| 24 | - Directory structure |
| 25 | 1. tlk: tlk core |
| 26 | 2. lib: required libraries |
| 27 | 3. tlk_driver: Linux driver between NS/S worlds |
| 28 | 4. daemon: a proxy agent in NS world for TLK |
| 29 | 5. tasks: containing secure task (TA) |
| 30 | 6. tools: toolchain to build tlk |
| 31 | |
| 32 | - To make tlk image, including 1 and 2, |
| 33 | cd tlk |
| Dennis Huang | a04adcd | 2014-10-10 16:37:10 -0700 | [diff] [blame] | 34 | ./build <platform> |
| Dennis Huang | 291d4d2 | 2014-04-23 14:41:43 -0700 | [diff] [blame] | 35 | # <platform> could be either "t124" or "t132" |
| 36 | |
| Dennis Huang | a04adcd | 2014-10-10 16:37:10 -0700 | [diff] [blame] | 37 | - The result binary will be "../build-<platform>/lk" |
| Dennis Huang | 291d4d2 | 2014-04-23 14:41:43 -0700 | [diff] [blame] | 38 | |
| 39 | - Item 3 and 4 will be relased in source as example only. They will not be part of the final image. |
| 40 | |
| 41 | - Item 6 will not be included in the release. Audiences of this package need to get the toolchain and populate this directory. |
| 42 | Required toolchain are |
| 43 | tools/aarch64-linux-android-4.8: for 64-bit TLK |
| 44 | tools/arm-eabi-4.7: for 32-bit TLK |
| 45 | |
| 46 | Tools could be obtained from |
| 47 | https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8 |
| 48 | https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7 |
| 49 | |
| 50 | |