How do I know whether ARM Trustzone is in use or not?

528 Views Asked by At

I have a testboard, CPU is A72. I see that A72 supports Trustzone, but how do I know whether Trustzone is in use or not? Thanks.

1

There are 1 best solutions below

0
Frant On

Since the target is a RK3399 running Linux, this is likely that Arm Trusted Firmware, implementing TrustZone for Aarch64, is being used.

You can check by looking at the documentation, build procedure or source code of your Linux distribution. For example, Armbian is using ATF.

If you have a serial console connected to your system, you should see ATF log messages at boot time - You can find a USB-TTL adapter for $1.50 those days.

I suggested you provide more information on the distribution you are using, but Googling using your distribution name and 'ATF' or 'Arm Trusted Firmware' will likely answer your question if you choose not to.