We are migrating iMX6SL based board to iMX kernel 5.4. Just after u-boot starts the kernel, kernel stuck at early boot. By enabling early print logs, we have found that kernel fails in setup_arch() function in setup.c file.
This is the commit after which we are starting seeing this issue. Prior to mentioned commit, kernel boots fine.
commit 4d546d4a1e15addd03ab1d48a315abbb7d07f4e2
Author: Anson Huang <Anson.Huang@nxp.com>
Date: Thu Apr 18 12:54:29 2019 +0800
ARM: imx: add suspend/resume with FastMix OFF support
This patch adds suspend/resume with FastMix OFF support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Above commit has many power management related changes so it is not clear what exactly could cause an error. That's why I would really appreciate any help from NXP community.
One more detail: our board is using DDR3 memory and we suspect that this can be an issue because there are some references in kernel code which make as think that iMX6SL default memory is assumed to be LPDDR.
For example, this commit .