-
Notifications
You must be signed in to change notification settings - Fork 2k
Fix over_voltage description #1698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
More questions for @popcornmix ? 😉 |
Jep, sorry for being a bid noisy today, one test lead to the next and one question to the next 😄. |
Okay, I think I got it now right. The voltages ranges in the description are true for RPi 1 (upper limit = 1.2V => static voltage with default There is still one thing incorrect: |
@popcornmix When you have a few seconds free, could you double check this for accuracy? Ta. |
I'm not sure if Pi 1 can do dynamic frequency scaling - I had always assumed it can't. |
It can, but as mentioned does not do with defaults:
While it is true for RPi1, for all other models it is wrong and should hence be clarified 🙂. |
I'd encourage you to wrap this PR up in the next week or so as we're in the process of transitioning the documentation from the current Markdown-based source format to Asciidoc. At some point soon — probably around the end of June, beginning of July — we will freeze the current documentation repo. After that time contributions and PRs based on the Markdown source will not be accepted, and any PRs that are still open will be closed. See #1911 for full details. |
The default over_voltage value equals 0 on all RPi models. This equates to a maximum voltage of 1.35V (1.2V on RPi 1). Changing over_voltage only affects the upper voltage limit by 25mA with each integer step. over_voltage_min affects the minimum voltage which defaults to 0. This equates to a minimum voltage of 1.2V. Changing over_voltage_min affects the lower voltage limit by 25mA with each integer step. Additional minor clarification with this commit: 1. The default CPU scaling governor on RPi is "powersave". A SysV service, shipped with raspi-config, changes it to "ondemand" during boot. The link to CPUFreq documentation is now pointing to an up-to-date official Linux documentation, since the previous reference is outdated and includes lots of information which does not apply on RPi. 2. The "ondemand" governor has an effect even without overclocking settings, scaling the frequency between "arm_freq" and "arm_freq_min". Only on RPi 1, these two settings are equal by default, practically disabling dynamic frequency scaling. 3. The safest option to disable dynamic clocking is to apply a static scaling governor like "powersave" or "performance", since this does not involve the risk to void warranty. Signed-off-by: MichaIng <[email protected]>
I rebased this commit onto the current master branch, no changes required. Ready from my side. |
The default
over_voltage
value equals 0 on all RPi models.This equates to a maximum voltage of 1.35V (1.2V on RPi 1).
Changing
over_voltage
only affects the upper voltage limit by 25mA with each integer step.over_voltage_min
affects the minimum voltage which defaults to 0.This equates to a minimum voltage of 1.2V.
Changing
over_voltage_min
affects the lower voltage limit by 25mA with each integer step.Additional minor clarification with this commit:
The default CPU scaling governor on RPi is
powersave
. A SysV service, shipped withraspi-config
, changes it toondemand
during boot.The link to CPUFreq documentation is now pointing to an up-to-date official Linux documentation, since the previous reference is outdated and includes lots of information which does not apply on RPi.
The
ondemand
governor has an effect even without overclocking settings, scaling the frequency betweenarm_freq
andarm_freq_min
.Only on RPi 1, these two settings are equal by default, practically disabling dynamic frequency scaling.
The safest option to disable dynamic clocking is to apply a static scaling governor like
powersave
orperformance
, since this does not involve the risk to void warranty.