Hi,
could you tell me please which OPP is used during kernel boot, and whether it is possible to control this?
Thanks and best regards,
Bob.
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.
Hi,
could you tell me please which OPP is used during kernel boot, and whether it is possible to control this?
Thanks and best regards,
Bob.
Hi Bob,
I assume that you are asking about MPU. The MPU Boots at OPP Nominal. However in kernel
you can always change the OPP by changing the cpufreq governor to userspace.
Once you boot to kernel:
echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Then:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
will give you the available frequencies.
You can pick one of them say 'x' then:
echo x > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
This changes the OPP as per your need.
Best Regards,
Keerthy
Hi Keerthy,
Thanks. What I would really like is for the kernel to boot using the maximum clock frequency (opp_high I guess). Is that possible?
Then once booted, I can then use the technique you describe to adjust the frequency as needed for the application.
Best regards,
Bob.
Hi Bob,
There is an FAQ on the older version of u-boot:
Let me know if that helps you.
Best Regards,
Keerthy