AnsweredAssumed Answered

Freeze at boot when initializing clock gate status

Question asked by Thierry Bultel on Jan 8, 2015
Latest reply on May 11, 2016 by Michaël Burtin



On a sabrelite-like board with rel_imx_3.10.17_1.0.2_ga, I have got a freeze when rebooting.

This is very reproducible.


The freeze does not happen when cold booting,

as long as the power is kept off for more than about 15 seconds.


With earlyprink enabled, and by adding some printascii, I have been able to find out

the place where the freeze happens.


It is in imx6q_clocks_init,

when doing


writel_relaxed(1 << CCM_CCGR_OFFSET(0), base + 0x7c);


... nothing happens after.


The only way to be able to boot is to power off the board for about 15 seconds

Does anyone have an idea of what may happen ?


Best regards