I do not know you are using linux or android BSP, you can refer to this https://www.nxp.com/docs/en/user-guide/IMX_ANDROID_SECURITY_USERS_GUIDE.pdf