
Hi Eric,
On Sun, Aug 28, 2016 at 11:47 PM, Fabio Estevam festevam@gmail.com wrote:
I was able to reproduce this problem here.
The major difference between mainline U-Boot and NXP U-Boot is that mainline U-Boot uses SPL and NXP U-Boot uses imximage.cfg to configure the DDR.
I have just created and tested the patch below against Stefano's tree: http://pastebin.com/crAe1Yr1
, which basically uses imximage.cfg from NXP U-Boot instead of SPL and the hang does not occur.
It seems to me that we need to carefully review the SPL DDR init code in mainline in order to fix this problem.
I will try to take a look at it tomorrow, but if anyone spots the DDR problem in the SPL code, then feel free to submit the patch :-)
I managed to fix the SPL DDR and now I don't see the hang.
Will send a formal patch.