Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to easily run a SCMI server in various Execution Environment

Under construction

Running SCMI server with OP-TEE

The easiest way to test the SCMI server in OP-TEE is to built it for qemu armv8Armv8. OP-TEE documentation provides detailed information to build a qemu armv8 Armv8 dev environment here.

The SCP-firmware is not yet part of the manifest but a PR is under review to add it : https://github.com/OP-TEE/manifest/pull/252

...

You just need to add WITH_SCMI=y option in the make command like the below

...

. The whole sequence can be summarized:

$ mkdir <project-dir>

$ cd <project-dir>

$ repo init -u https://github.com/OP-TEE/manifest.git -m qemu_v8.xml

$ repo sync

$ cd build

$ make toolchains

$ make run WITH_SCMI=y

When booting with SCMI server, we use a dedicated DT instead of the one that is built on the fly by Qemu. The dts file is available in the build/qemu_v8 directory if someone needs to change it and It is based on the dtb generated by Qemu.

...