ck802t
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Alibaba TrustZone/TEE Software Development Kit For IoT Devices Version 1.0 DESCRIPTION The software package is the Software Development Kit (SDK) of Alibaba TrustZone/TEE solution. It is the development environment of YoC devices. LAYOUT $ ├── build -- the build-related materials │ ├── b -- the build script │ └── srv_path_list.log -- the log to describe the services integrated to the TEE binary ├── docs -- the document set of the SDK │ └── README -- this file ├── samples -- the sample code set │ └── xor -- the sample code of building a Client Application (CA) and its Trusted Application (TA) ├── src -- the code and binary of the SDK │ ├── app -- the application set (CA and TA) of Alibaba TEE solution │ ├── ntw -- the non-secure code and its binary │ └── tw -- the secure code and its binary ├── test -- the tese cases and sample test bed │ ├── test_bed -- the sample non-secure test bed. │ └── testcases -- the tee test cases, include CA/TA. └── tools -- the toolkit └── build_tw -- the tool to build secure binary TOOLCHAIN Alibaba TrustZone/TEE SDK is built according to the architecture that the SDK serves. Now it is for C-Sky and its toolchain version is "csky-abiv2-elf-tools-x86_64-minilibc-20151217". SAMPLE There is a sample code for developping a CA and its TA accordingly. You could find it in $/samples/xor. BUILD Go into $/build and run: ./b ---- for release version, TEST=N in tee.cfg ./b test ---- for test version, TEST=Y in tee.cfg The outputs are: 1. non-secure world (or non-trusted world) There are two object files for non-secure world: $/src/ntw/tee_drv.o and $/samples/xor/ntw/xor_stub.o 2. secure world (or trusted world) There is one binary file for secure world: $/out/tee_tw.bin 3. test cases and test bed There is one binary file of non-secure world which include tee_drv, test CAs and test beds :$/out/test_bed.bin RUN Use CDS to flash tee_tw.bin and test_bed.bin and run; Copyright (C) 2016 The YunOS Project. All rights reserved.