This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM437x ondemand DVFS causing random crashes

Other Parts Discussed in Thread: TPS65218

Dear List

We are facing a reproducible issue with the am437x on a ti kernel 4.1.18 when enabling cpufreq "ondemand" governor.

If we keep the default Opp Modes which include frequency and voltage scaling on vdd_mpu ( we do exclude OPP 50 - 300Mhz from the list) we still can cause the kernel to panic or oops on various points.

The only way to "fix this issue" is changing the freq/volt table and fix all the voltages to 1.325v ( which is the voltage for 1Ghz mode). like this at arch/arm/mach-omap2/opp43xx_data.c:


static struct omap_opp_def am43xx_es1_0_opp_list[] __initdata = {
    /* MPU OPP1 - OPP50 */
    OPP_INITIALIZER("mpu", false, 300000000, 1325000),
    /* MPU OPP2 - OPP100 */
    OPP_INITIALIZER("mpu", false, 600000000, 1325000),
    /* MPU OPP3 - OPP120 */
    OPP_INITIALIZER("mpu", false, 720000000, 1325000),
    /* MPU OPP3 - OPPTurbo */
    OPP_INITIALIZER("mpu", false, 800000000, 1325000),
    /* MPU OPP4 - OPPNitro */
    OPP_INITIALIZER("mpu", false, 1000000000, 1325000),
};

So it seems any voltage switching causes an unstable behaviour.

 I did notice that u-boot does use also a different voltage table for the IDK kits.

Any hints or things i miss ?

Regards Robert