...
The easiest way to build and run a complete stack is through OP-TEE. The following commands will download all components and build them, in about thirty minutes on a fast machine.
Code Block |
---|
mkdir v1.0cca-eac5v2 cd v1.0cca-eac5v2 repo init -u https://git.codelinaro.org/linaro/dcap/op-tee/manifest.git -b v1.0-eac5cca/v2 -m qemu_v8_cca.xml repo sync -j8 --no-clone-bundle cd build make -j8 CCA_SUPPORT=y toolchains make -j8 CCA_SUPPORT=y |
...
Images can be found in under v1.0cca-eac5v2/out/
and v1.0cca-eac5v2/out-br/
. The following command launches system emulation QEMU with the RME feature enabled, running TF-A, RMM and the Linux host.
...
This should launch 4 new terminals, i.e Firmware, Host, Secure and Realm. Output from the boot process will start flowing in the Firmware terminal followed by the Host terminal. The build environment automatically makes the v1.0cca-eac5 v2
directory available to the host VM via 9p.
Read on for the details of the software stack, or skip to the following section to boot a Realm guest.
...