You can refer to this https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-Disable-the-DM-Verity-option-in-y...