On 14.01.22 20:44, Fabio Estevam wrote: > Hi Marcel, > > On Fri, Jan 14, 2022 at 3:10 PM Marcel Ziswiler > <marcel.ziswi...@toradex.com> wrote: > >> Strange, remember, I am working on Verdin iMX8M Mini support [1] and run >> that stuff more or less daily. >> However, as you can see in that patch series, I build the imx-sdma driver >> now as a module just like already >> merged for imx_v6_v7_defconfig. As I also do have an imx8mm-evk laying >> around somewhere I can give that a try >> as well. I keep you posted... > > Just noticed that when using the TF-A from NXP: imx-atf branch: > imx_5.4.47_2.2.0 the 5.16 kernel boots fine. > > When using the mainline TF-A (v2.5 or v2.6) the board hangs with 5.16
I remember having lockup issues with the mainline TF-A and i.MX8MM when it came to power domain handling (with older kernels and preliminary power domain support). I never tracked this down, but switched to the NXP TF-A for the time being. IIRC the mainline TF-A doesn't enable the USB power domains per default, while the NXP TF-A does and there are probably other differences. With the latest GPCv2 and BLK-CTRL code in the kernel it should work either way, but there still might be some unresolved problems.