I bought a Hikey board recently(CPU-Hi6220V;SoC-Kirin 620) and was ready to test its TrustZone feature. I find one doc in this official repo.
Unfortunately, there is no detailed description on how to use TrustZone feature in the doc <i>Hi6220V100_Multi-Mode_Application_Processor_Function_Description.pdf</i>. For example, in chapter 1.3.2, it says “Each interrupt source can be set to secure interrupt source or non-secure interrupt source.” But it doesn’t tell me how to do it, e.g. which bit in what register should be set. This seems to be the only documentation available so far.
Does anyone know some other docs about how to use TrustZone in Hikey? Any help would be appreciated.
Thanks in advance.