This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

What flow should I execute to make cache and MMU work properly when I turn into non secure world?

In A7 platform with TZ extension , I know that there is a virtual MMU for non secure world, and I think it should be enabled after entering non secure world.

But the most confusing thing is that what has to be done with cache-----clean , invalidate or doing nothing?

Is there any special attention needed to make it work?

Parents
  • Nothing special - in general you can just run the same platform boot code that you would in a non-TrustZone system. The one main exception is that there are a few parts of CP15 which are secure modify only, so those settings have to be set up by the secure system before handing over control.

    HTH,
    Pete

Reply
  • Nothing special - in general you can just run the same platform boot code that you would in a non-TrustZone system. The one main exception is that there are a few parts of CP15 which are secure modify only, so those settings have to be set up by the secure system before handing over control.

    HTH,
    Pete

Children