How to easily run a SCMI server in various Execution Environments
Under construction
Running SCMI server with OP-TEE
...
Similarly, SCMI server is not enabled by default for qemu_v8 platform but a PR is under review to enable compiling OPTEEOP-TEE os with SCMI server: https://github.com/OP-TEE/build/pull/695. In the meantime, a manifest using the PR has been created https://github.com/vingu-linaro/manifest/tree/optee-with-scmi .
You just need to add WITH_SCMI=y option in the make command to enable the SCMI server. The whole sequence to use the pending PRs can be summarized:
$ mkdir <project-dir>
...
$ repo init -u https://github.com/OPvingu-TEElinaro/manifest.git -b optee-with-scmi -m qemu_v8.xml
$ repo sync
$ cd build
...
When booting with SCMI server, we use a dedicated DT instead of the one that is built on the fly by Qemu in order to provide a scmi node. The dts file is available in the build/qemu_v8 directory if someone needs to change it and is based on the dtb generated by Qemu.
...