In any boot mode of the i.MX8M processor, the code execution starts from the Boot ROM code that performs some initial SoC configuration and then loads the software from a boot media according to the boot configuration, selected by the BOOT_CFG[15:0] signals or corresponding e-fuses. For details, please refer to the Section 6.1 "System Boot" of the i.MX8M Reference Manual document, available on the processor's Documentation web page:
https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-proces...
For details on the Cortex-A53 core configuration and operation, please refer to the corresponding documentation by ARM:
https://developer.arm.com/ip-products/processors/cortex-a/cortex-a53
NXP by itself does not provide any software for Cortex-A series cores bare metal development. Only some OS-based Board Support Package kits (BSPs) are available:
https://www.nxp.com/design/software/embedded-software/i-mx-software:IMX-SW
The MCUXpresso SDK (with and without FreeRTOS support) is available for Cortex-M series cores, embedded in some i.MX series processors:
https://mcuxpresso.nxp.com/en/welcome
Best Regards,
Artur