I am working on hardening the iMX 8M Mini based device and experience problems with Secure boot.
Our requirement is to be able to boot within 100ms. But with Secure boot enabled we are getting 800ms boot time from Reset deassertion to early U-boot SPL, without Secure boot the boot time is 72ms. (Measured using GPIO pulses, according to AN13369 "i.MX 8 - Boot Time Measurements Methodology").
At the same time AN4581 "i.MX Secure Boot on HABv4 Supported Devices" says that with Fast autherntication feature "The typical boot time for an image smaller than 1 MB can be reduced from 25 ms to 12 ms."
Is there any instructions how to get boot time at least 25ms with secure boot enabled? Maybe i have missed something important?