Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
odroid_go_advance:application_note:overclock [2021/03/26 14:11]
joy.cho [The Available List of CPU Frequency]
odroid_go_advance:application_note:overclock [2021/03/26 15:35] (current)
joy.cho [Kernel Update]
Line 1: Line 1:
-====== How to run overclock on OGA/OGS ======+====== How to run CPU overclock on OGA/OGS ======
 Officially, we recommend to use 1.296GHz of max CPU frequency to operate OGA/OGS system stably.\\ Officially, we recommend to use 1.296GHz of max CPU frequency to operate OGA/OGS system stably.\\
-For users who want to boost system performance by setting CPU clock higher even at the risk, we provide an interface to set max CPU frequency flexibly.+For users who want to boost system performance by setting CPU clock higher even at the risk, we provide an interface to set max CPU frequency flexibly.\\
  
-<WRAP round important>​ 
-The Kernel version must be 4.4.189-42 or higher.\\ 
  
-odroid@goadvance:~$ uname -a\\ +The base logic of cpu overclock comes from the following github of RRVL kernel.\\ 
-Linux goadvance ​4.4.189-42 ​#1 SMP Thu Mar 25 15:00:07 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux+https://​github.com/​valadaa48/​linux/​commits/​rrvl\\ 
 +This overclock scheme became possible thanks to the forum user, valadaa48 and RRVL members.\\ 
 + 
 + 
 +Please refer to related history and further discussions here in this forum thread.\\ 
 +https://​forum.odroid.com/​viewtopic.php?​f=187&​t=37452 
 + 
 +==== Kernel Update ==== 
 +<WRAP round important>​ 
 +To use this scheme, the kernel version must be **4.4.189-42** or higher.
 </​WRAP>​ </​WRAP>​
 +Please update the kernel package from your Ubuntu ES image as following,​\\
 +then reboot the system.
 +<code bash target>
 +$ sudo apt update
 +$ sudo apt upgrade -y
 +$ sudo reboot
 +</​code>​
 +Then, please confirm the kernel version.
 +<code bash target>
 +$ uname -a
 +Linux goadvance 4.4.189-42 #1 SMP Thu Mar 25 15:00:07 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
 +</​code>​
  
 ==== The Available List of CPU Frequency ==== ==== The Available List of CPU Frequency ====
 +
 |  frequency ​ |  notation on boot.ini ​ | |  frequency ​ |  notation on boot.ini ​ |
 |  1.512 GHz  |  "​1512" ​               | |  1.512 GHz  |  "​1512" ​               |
Line 24: Line 44:
 |  408 MHz    |  "​408" ​                | |  408 MHz    |  "​408" ​                |
 ==== Adjust CPU Max Frequency by modifying boot.ini ==== ==== Adjust CPU Max Frequency by modifying boot.ini ====
 +You can assign max cpu frequency using **max_cpufreq** in boot.ini.\\
 +Default max cpu frequency is set as 1.296GHz if there is no option with **max_cpufreq** in boot.ini.\\
 +
 +=== example 1 - 1.416 GHz ===
 +<​code>​
 +# Boot Arguments
 +setenv bootargs "​root=UUID='​e139ce78-9841-40fe-8823-96a304a09859'​ rootwait rw fsck.repair=yes net.ifnames=0 fbcon=rotate:​3 console=/​dev/​ttyFIQ0 quiet splash plymouth.ignore-serial-consoles consoleblank=0"​
 +
 +setenv bootargs ${bootargs} max_cpufreq=1416
 +</​code>​
 +<​code>​
 +root@goadvance:​~#​ cat /​sys/​devices/​system/​cpu/​cpufreq/​policy0/​scaling_available_frequencies ​
 +408000 600000 1008000 1200000 1296000 1368000 1416000 ​
 +</​code>​
 +=== example 2 - 1.296 GHz ===
 +<​code>​
 +# Boot Arguments
 +setenv bootargs "​root=UUID='​e139ce78-9841-40fe-8823-96a304a09859'​ rootwait rw fsck.repair=yes net.ifnames=0 fbcon=rotate:​3 console=/​dev/​ttyFIQ0 quiet splash plymouth.ignore-serial-consoles consoleblank=0"​
 +
 +setenv bootargs ${bootargs} max_cpufreq=1296
 +</​code>​
 +Or without max_cpufreq that is defined in boot.ini, max cpu frequency set as 1.296GHz by default.
 +<​code>​
 +root@goadvance:​~#​ cat /​sys/​devices/​system/​cpu/​cpufreq/​policy0/​scaling_available_frequencies ​
 +408000 600000 1008000 1200000 1296000
 +</​code>​