Hi,
On Sun, Feb 26, 2023 at 5:42 PM Jérôme Forissier jerome@forissier.org wrote:
Hello Jose,
On Tue, Feb 21, 2023 at 1:11 PM Shiju Jose via Linaro-open-discussions linaro-open-discussions@op-lists.linaro.org wrote:
From: Shiju Jose shiju.jose@huawei.com
Add changes to build secondary OP-TEE and run at S-EL1 for SPMC_AT_EL=2, where Hafnium is loaded at S-EL2.
This is an experimental version to test loading and booting of more than one SP.
Signed-off-by: Shiju Jose shiju.jose@huawei.com
Changes: V1 -> V2
- Changed patch subject and patch description.
- Fix for the comments from Jens Wiklander by adding separate build flags and build path for the secondary OP-TEE.
common.mk | 40 +++++++++++++++++++++ qemu_v8.mk | 41 ++++++++++++++++++++-- qemu_v8/secondary_optee_sp_manifest.dts | 46 +++++++++++++++++++++++++ qemu_v8/sp_layout.json | 4 +++ qemu_v8/spmc_el2_manifest.dts | 10 +++++- qemu_v8/tb_fw_config.dts | 4 +++ 6 files changed, 142 insertions(+), 3 deletions(-) create mode 100644 qemu_v8/secondary_optee_sp_manifest.dts
Discussing this patch on the mailing lists is fine, but please note that in order to be merged it will ultimately need to be submitted as a pull request on GitHub: https://github.com/OP-TEE/build/
In this case, I guess the intention is to get the changes into my prototype branch https://github.com/jenswi-linaro/build/tree/qemu_sel2 for running with Hafnium. I'll take another look and test it a bit before I pick it up. Please note that this branch is mainly for convenience, the patches will likely not be merged as is to the master branch once we have upstream support for Hafnium on our master branches.
Cheers, Jens
Thanks,
Jerome