I've tried to startup the imx8mm_evk target with latest upstream TF-A synced at commit 1309c6c80519 ("Merge changes from topic "fix_fip_in_emmc_boot" into integration"), but experienced the hang after TF-A initialization.
Following is the boot log that can be recorded until the hand occurs:
U-Boot SPL 2022.10-rc4-00052-g3d079881b7 (Sep 09 2022 - 16:44:52 +0200) No pmic SEC0: RNG instantiated Normal Boot WDT: Started watchdog@30280000 with servicing (60s timeout) Trying to boot from MMC1 NOTICE: BL31: v2.7(release):v2.7.0-359-g1309c6c80 NOTICE: BL31: Built : 14:42:36, Sep 9 2022
Bisecting into the tree, I was able to narrow it down to the offending commit with Change-Id: I72d4cf4d8ecc549a832d1c36055fbe95866747fe, which when reverted - allows the boot process to complete to U-Boot prompt.
I am not totally sure which part of the change caused such a hang. Can this be looked into by the author of the change to advise how this can be solved?