Hi Wang
Thanks for your query. FEAT_HCRX is a mandatory extension for Armv8.7 which means that it must be present in Armv9.2 as well. The FVP needs to have the right Arch revision specified and TF-A needs to be updated
to enable the register access for Realm world. We would recommend using Shrinkwrap to build and test CCA firmware components.
This page has instructions for testing local copy of TF-RMM using Shrinkwrap :
https://tf-rmm.readthedocs.io/en/latest/getting_started/building-with-shrinkwrap.html
An example cmd line for testing the latest TF-RMM from local source dir with TFTF would be:
# shrinkwrap build --btvar=RMM_SRC=${PWD} rmm-tftf.yaml --no-sync=rmm --btvar TFA_REVISION=v2.12.0 --btvar TFTF_REVISION=v2.12.0
# shrinkwrap run rmm-tftf.yaml
The TFA_REVISION build variable is used so that Shrinkwrap will pin TF-A to the v2.12.0 release tag.
Best Regards
Soby Mathew
From:
王海旺 <m202472136@hust.edu.cn>
Sent: Friday, November 22, 2024 7:45 AM
To: tf-rmm@lists.trustedfirmware.org
Subject: [tf-rmm] problem about tf-rmm latest version
hello tf-rmm group,
Recently I'm learning ARM CCA.But I have trouble running the latest version TF-RMM.It failed at runtime/ core/
in func rmm_arch_init.When try to do write_hcrx_el2 action it paniced.So it looks like the FVP doesn't have the hcrx_el2 register.I'm using the
FVP_Base_RevC-2xAEMvA_11.27_19. It's the latest version in the arm's offical
website.The
tf-rmm-v0.5.0 works fine.So I'm wondering how do you test latest version TF-RMM.It
would be appreciated if you could reply.
Best,
Wang.