Has anyone built and tested https://source.codeaurora.org/external/imx/imx-atf for the imx8m-mini as a debug build? I'm doing a board bringup not using Yocto, and I get a runtime assert in lib/xlat_tables/xlat_tables_common.c at line 388 using branch imx_4.14.78_1.0.0_ga. The default value for MAX_XLAT_TABLES in plat/imx/imx8mm/include/platform_def.h is set to 4, which is too small to encompass the default memory map declared in plat/imx/imx8mm/imx8mm_bl31_setup.c
I can only assume that people using release builds are having undetected buffer overflows.
Neil Shipp