AnsweredAssumed Answered

u-boot cpu speed

Question asked by David Luberger on Nov 20, 2018
Latest reply on Nov 29, 2018 by David Luberger

I realize it's not a "supported" feature, but I really need to set the cpu speed to a lower setting during boot. I know I can set the default governor in the kernel configuration, but how do i do that for u-boot? I'm fine with modifying the source code, I just don't see where to do that. I looked at arch/arm/cpu/armv7/mx7/soc.c and i see some code for displaying speed grades, but nothing about actually setting the speed. i don't see anywhere to set the speed via register settings in the board.c file either.  I'm using the mx6sxsabresd board. my custom board will not work if i can't limit the power draw, and it seems right now i can only do that in the rootfs via frequency governors. in u-boot and kernel, i want those to be forced to always use the lowest cpu frequency possible (which seems to be 198 MHz).