How to easily run a SCMI server in various Execution Environments
Under construction
Running SCMI server with OP-TEE
...
You just need to add WITH_SCMI=y option in the make command to enable the SCMI server. The whole sequence to setup a dev envoronnement environment with a SCMI server can be summarized:
...
$ repo init -u https://github.com/OPvingu-TEElinaro/manifest.git -m qemu_v8.xml -b optee-with-scmi
$ repo sync
$ cd build
$ make toolchains
...
The configuration of the scmi server is located in the directory : <project-dir>/SCP-firmware/product/optee-/fvp/fw/
. The following scmi protocols have been enable with mock devices:
...
You will have to build a kernel image using the branch above and to prepare a rootfs with your favorite tool. Then start the FVP with:
shrinkwrap -I docker.io/shrinkwraptool/base-full:latest run --rtvar=KERNEL=<path-to-Image> --rtvar=ROOTFS=<path-to-rootfs> ffa-tftf.yaml
...