Hi @AldoG,
I added those changes and was able to build it as well. The board doesn't get stuck now but the bootlog does mention of optee not initializing:
U-Boot SPL 2024.04-dirty (May 28 2025 - 16:32:11 +0100)
DDRINFO: start DRAM init
DDRINFO: DRAM rate 3000MTS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
SEC0: RNG instantiated
Normal Boot
Trying to boot from NAND
hab fuse not enabled
Authenticate image from DDR location 0x401fadc0...
Error: CSF header command not found
NOTICE: Do not release JR0 to NS as it can be used by HAB
NOTICE: BL31: v2.10.0 (release):automotive-15.0.0_1.1.0-dirty
NOTICE: BL31: Built : 09:45:06, May 29 2025
ERROR: Error initializing runtime service opteed_fast
U-Boot 2024.04-dirty (May 28 2025 - 16:32:11 +0100)
CPU: i.MX8MMD rev1.0 1800 MHz (running at 1200 MHz)
CPU: Commercial temperature grade (0C to 95C) at 40C
Reset cause: POR
Model: NXP i.MX8MM EVK board
DRAM: 2 GiB
optee optee: OP-TEE api uid mismatch
Core: 105 devices, 30 uclasses, devicetree: separate
NAND: 1024 MiB
MMC: FSL_SDHC: 1
Loading Environment from MMC... MMC: no card present
*** Warning - No block device, using default environment
Loading Environment from NAND... *** Warning - bad CRC, using default environment
Could you please let me know what could be the cause?
Thanks,
Rajas