Trustzone op-tee in FVP compile and test __ test

Source: Internet
Author: User
I. Pre-preparationSource code Download:
Use repo to download project source code
$repo init-u https://github.com/OP-TEE/manifest.git-m ${target}.xml [-B ${branch}]
$ repo Sync

We use target of Fvp.xml branch as Master
Use the following command to download the compiler:
Note: The download path is not recommended for modification

Make Toolchains

The author uses this method to download an error occurs:

Fatal:the remote end hung up unexpectedly3 MiB | 279.00 kib/s    
fatal:early EOF 
fatal:index-pack failed remote:counting objects

Initially identified as Git cache space is insufficient, the first download failed. After restarting, download again this error occurs but does not affect the download. Run platform Download
Use this link to enter the ARM website Download ARMV8 Basic model is our test platform FVP, note that after downloading to/devel/optee directory, if not downloaded and the Foundation_platformpkg folder moved to this directory, compile the error:

MAKEFILE:24: * * */root/devel/optee/build/. /foundation_platformpkg does not exist. Stop.
two. Compiling and testingTo use the command under directory/build:
$make all Run

Compile the Op-tee if the following error occurs:

Sed error:sed:-E expression #1, char 51:unknown option to ' s '

Please refer to this blog solution: http://blog.csdn.net/u010071291/article/details/50774082
After successful compilation, the following interface is automatically ejected
FVP Terminal_0 Interface: LINUX (RICH OS) command line interface

FVP Terminal_1 Interface: Optee__os (SECURE OS) interface

Fast MODELS-CLCD Foundation Platform Interface:

The test process and the results are consistent with the http://blog.csdn.net/u010071291/article/details/50774082.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.