Overclocking Odroid-N2+, How to Guide

Post Reply
superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

I tried setting higher CPU frequencies on my N2's thru boot.ini and config.ini in Ubuntu 18.04.4 and 20.04 without success. Somehow, it was locked to Stock/1908/2004 speeds.
What's the right/safest procedure to OC and test if my newly arrived N2+ which should have unlock CPU frequencies is capable of reaching desired 2.4Ghz speeds for A73 cores and 2.0Ghz for A53 cores? please advise. OS to be install: Ubuntu-mate 20.04 with 4.9.230-92 kernel.

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by tobetter »

You already made the change properly, the max OC frequency for ODROID-N2 is 1908 / 2004.
https://wiki.odroid.com/odroid-n2/appli ... odroid-n21

User avatar
rooted
Posts: 7896
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 227 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by rooted »

tobetter wrote:You already made the change properly, the max OC frequency for ODROID-N2 is 1908 / 2004.
https://wiki.odroid.com/odroid-n2/appli ... odroid-n21
He says N2+

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

tobetter wrote:
Wed Jul 22, 2020 3:47 am
You already made the change properly, the max OC frequency for ODROID-N2 is 1908 / 2004.
https://wiki.odroid.com/odroid-n2/appli ... odroid-n21
I hope 2.4Ghz/2.0Ghz frequencies for "N2Plus" are unlock out of the box in official ubuntu 20.04 with 4.9.230-92 kernel. I need to know how to safely achieve these advertised speeds for my N2+(Plus)?

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by tobetter »

superpowter77 wrote:
Wed Jul 22, 2020 3:57 am
tobetter wrote:
Wed Jul 22, 2020 3:47 am
You already made the change properly, the max OC frequency for ODROID-N2 is 1908 / 2004.
https://wiki.odroid.com/odroid-n2/appli ... odroid-n21
I hope 2.4Ghz/2.0Ghz frequencies for "N2Plus" are unlock out of the box in official ubuntu 20.04 with 4.9.230-92 kernel. I need to know how to safely achieve these advertised speeds for my N2+(Plus)?
You already properly changed the value in the right file for ODROID-N2, and the same way will work for ODROID-N2Plus when your N2Plus arrives. You don't need to change any other than 'boot.ini' or 'config.ini' if you have the Linux kernel 4.9.230-92.

EDIT: I just realize that the latest kernel version for Ubuntu 20.04 is 4.9.230-92, and for Ubuntu 18.04 is 4.9.230-73. They already have the OC in the device tree respectively.

User avatar
rooted
Posts: 7896
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 227 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by rooted »

Thanks @tobetter

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by tobetter »

rooted wrote:
Wed Jul 22, 2020 4:30 am
Thanks @tobetter
No problem.
Please note that when you run ODROID-N2Plus at OC, you will see that heatsink slowly becomes very hot. It won't burn your skins, but be aware of it. Having an active cooler with ODROID-N2Plus is a good idea, it works very well and not noisy.

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

tobetter wrote:
Wed Jul 22, 2020 4:41 am
rooted wrote:
Wed Jul 22, 2020 4:30 am
Thanks @tobetter
No problem.
Please note that when you run ODROID-N2Plus at OC, you will see that heatsink slowly becomes very hot. It won't burn your skins, but be aware of it. Having an active cooler with ODROID-N2Plus is a good idea, it works very well and not noisy.
That's why I include HK active cooling fan with 2pin connector with my N2+ order. Many people were arguing it was not necessary to have one as I kept telling them, there was a reason why it was released along the N2+. I forgot to purchase CR2032 3V batteries.

User avatar
rooted
Posts: 7896
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 724 times
Been thanked: 227 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by rooted »

tobetter wrote:
rooted wrote:
Wed Jul 22, 2020 4:30 am
Thanks @tobetter
No problem.
Please note that when you run ODROID-N2Plus at OC, you will see that heatsink slowly becomes very hot. It won't burn your skins, but be aware of it. Having an active cooler with ODROID-N2Plus is a good idea, it works very well and not noisy.
I'm running some tests with CoreELEC right now at the maximum frequency software decoding Netflix, trying to judge how long it takes for it to get hot without the fan.

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

I hope HK 80mm, active cooling fan is not as noisy as my PS4 Pro internal fan.

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

I just got my N2Plus, currently is running from USB 3 at 1.91 Ghz with performance governor.
Boot.ini is different from 18.04.4.
I can see under boot.ini the N2 Plus frequency settings, they are currently disabled, same for the other(Regular N2) CPU frequencies as well.
Forgive my ignorance but, what exactly I'm suppose to do with these lines?, should I just uncomment the N2 plus lines for ARM A73 and ARM 53 to activate maximum frequency speeds for N2Plus?

; Maximum CPU frequency of ARM A73
; N2: 500/667/1000/1200/1398/1512/1608/1704/1800 (Stock)/1908/2004
; N2 Plus: 500/667/1000/1200/1398/1512/1608/1704/1800/1908/2016/2100/2208 (Stock)/2304/2400
; max_freq_a73=1800

; Maximum CPU frequency of ARM A53
; N2: 100/250/500/667/1000/1200/1398/1512/1608/1704/1896 (Stock)/1992
; N2 Plus: 500/667/1000/1200/1398/1512/1608/1704/1800/1908 (Stock)/2016
; max_freq_a53=1896

Do I need to edit /etc/default/cpufrequtils ???

ENABLE="true"
GOVERNOR="performance"
MAX_SPEED="0"
MIN_SPEED="0"

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

lscpu | grep "MHz"
CPU max MHz: 2208.0000
CPU min MHz: 500.0000

Is that the Max CPU frequency for A73 cores?
I need to push it to 2400 Mhz / 2016 Mhz for A73 and A53 respectively.
I already installed the HK 80mm active cooling fan as well.

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies
500000 667000 1000000 1200000 1398000 1512000 1608000 1704000 1800000 1908000

cat /sys/devices/system/cpu/cpufreq/policy2/scaling_available_frequencies
500000 667000 1000000 1200000 1398000 1512000 1608000 1704000 1800000 1908000 2016000 2100000 2208000

Only 1908Mhz(A53) and 2208Mhz(A73) CPU frequencies for my N2Plus. I feel cheated.

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by odroid »

You had to update the system(kernel and bootloader) first.
We've just made a quick instruction.
https://wiki.odroid.com/odroid-n2/hardware/overclocking

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

Oh Silicon Lottery!, My N2Plus is running steadily so far at 2400/2016 Mhz as it's suppose to be. Will check stability tomorrow and run some benchmarks too. Gotta watch for temps as well.
Overall, my N2Plus feels a lot snappier compare to my old N2 at stock speeds. Now, I only need to add UAS to my kernel so I can squeeze some extra transfer speeds from my Samsung T5 1Tb SSD boot drive. It has been a pleasure gentleman. I will keep annoying you if something happens. God forbid!

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

odroid wrote:
Wed Jul 22, 2020 11:02 am
You had to update the system(kernel and bootloader) first.
We've just made a quick instruction.
https://wiki.odroid.com/odroid-n2/hardware/overclocking
Thank you for the info, I figured it out by myself. Should be ok now.

superpowter77
Posts: 185
Joined: Mon Sep 09, 2019 9:14 pm
languages_spoken: english,french,spanish
ODROIDs: Odroid-N2+ 4Gb,N2 4Gb(2),C4
Has thanked: 19 times
Been thanked: 7 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by superpowter77 »

odroid wrote:
Wed Jul 22, 2020 11:02 am
You had to update the system(kernel and bootloader) first.
We've just made a quick instruction.
https://wiki.odroid.com/odroid-n2/hardware/overclocking
Eyyy, that guide wasn't there 15 minutes ago!
I'm glad we have some official documentation for the speedy N2Plus.
BTW, response time and loading times for apps in ubuntu 20.04 are brutal, a monster CPU at 2.4Ghz, I'm impressed. Thank you guys!
These users thanked the author superpowter77 for the post:
odroid (Wed Jul 22, 2020 11:37 am)

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by odroid »

Glad to hear that.

Our first famous single board computer was the ODROID-X which had a 1.4Ghz ARM quad-core processor in '2012.
We needed around 8 years to build a monstrous 2.4Ghz ARM SBC.
It is still very hard to estimate when we can make a 3.4Ghz SBC though. ;)
These users thanked the author odroid for the post:
superpowter77 (Wed Jul 22, 2020 1:21 pm)

brad
Posts: 1171
Joined: Tue Mar 29, 2016 1:22 pm
languages_spoken: english
ODROIDs: C2 N1 N2 N2+ H2 H2+ (64 bit ftw)
Location: Australia
Has thanked: 59 times
Been thanked: 108 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by brad »

To set max overclock frequencies on mainline kernel version after boot you can use (ie tobetter's netboot image)

$ sudo cpufreq-set -r -c 0 -u 2.02
$ sudo cpufreq-set -r -c 2 -u 2.40
These users thanked the author brad for the post:
odroid (Fri Jul 24, 2020 8:24 am)

chpense
Posts: 9
Joined: Sun Jul 19, 2020 2:47 am
languages_spoken: english french
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by chpense »

Hi,
I bought an N2+ with an active fan. Is the fan supposed to be always running or only when needed ? (temperature controlled)

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by tobetter »

chpense wrote:
Sat Jul 25, 2020 2:45 am
Hi,
I bought an N2+ with an active fan. Is the fan supposed to be always running or only when needed ? (temperature controlled)
The FAN will work when the CPU temperature reaches around 65C. After assembling the FAN, you can test it with a command, please refer to the link.
viewtopic.php?p=300546#p300546
These users thanked the author tobetter for the post:
chpense (Sat Jul 25, 2020 3:28 am)

chpense
Posts: 9
Joined: Sun Jul 19, 2020 2:47 am
languages_spoken: english french
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by chpense »

tobetter wrote:
Sat Jul 25, 2020 3:07 am
chpense wrote:
Sat Jul 25, 2020 2:45 am
Hi,
I bought an N2+ with an active fan. Is the fan supposed to be always running or only when needed ? (temperature controlled)
The FAN will work when the CPU temperature reaches around 65C. After assembling the FAN, you can test it with a command, please refer to the link.
viewtopic.php?p=300546#p300546
Thanks tobetter.
I typed those commands using SSH, but nothing happens. Is FAN supposed to be turning ?
CoreELEC:~ # cat /sys/devices/virtual/thermal/cooling_device*/type
pwm-fan
thermal-cpufreq-0
thermal-cpufreq-1
thermal-cpucore-0
thermal-gpufreq-0
thermal-gpucore-0
CoreELEC:~ # echo 3 > /sys/devices/virtual/thermal/cooling_device2/cur_state

User avatar
tobetter
Posts: 5518
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 221 times
Been thanked: 648 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by tobetter »

chpense wrote:
Sat Jul 25, 2020 3:54 am
tobetter wrote:
Sat Jul 25, 2020 3:07 am
chpense wrote:
Sat Jul 25, 2020 2:45 am
Hi,
I bought an N2+ with an active fan. Is the fan supposed to be always running or only when needed ? (temperature controlled)
The FAN will work when the CPU temperature reaches around 65C. After assembling the FAN, you can test it with a command, please refer to the link.
viewtopic.php?p=300546#p300546
Thanks tobetter.
I typed those commands using SSH, but nothing happens. Is FAN supposed to be turning ?
CoreELEC:~ # cat /sys/devices/virtual/thermal/cooling_device*/type
pwm-fan
thermal-cpufreq-0
thermal-cpufreq-1
thermal-cpucore-0
thermal-gpufreq-0
thermal-gpucore-0
CoreELEC:~ # echo 3 > /sys/devices/virtual/thermal/cooling_device2/cur_state
You are running CoreELEC, I believe CoreELEC team is working to support ODROID-N2Plus or will be updated soon. If you want to test the fan, please download and flash HK Ubuntu OS or Android.
These users thanked the author tobetter for the post:
chpense (Sat Jul 25, 2020 4:11 am)

chpense
Posts: 9
Joined: Sun Jul 19, 2020 2:47 am
languages_spoken: english french
ODROIDs: N2+
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by chpense »

Thanks again, i'll just be patient then (:

specs
Posts: 49
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2
odroid c4
Has thanked: 15 times
Been thanked: 5 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by specs »

odroid wrote:
Wed Jul 22, 2020 11:02 am
You had to update the system(kernel and bootloader) first.
We've just made a quick instruction.
https://wiki.odroid.com/odroid-n2/hardware/overclocking
<off topic>
There might be a need for more instruction there.
If I'm correct tobetter added a new videodriver to the 4.9-kernel?
(BTW, the difference between 4.9.219 and 4.9.230 is quite big, thanks to the new driver).

When you use the standard supplied Ubuntu images they ship with 4.9.213 or 4.9.219.
For 4.9.230 it might be better to upgrade the uInitrd.

After an initial upgrade to 4.9.230 on my N2 (the old one) I found myself with a non-booting system after some apt-get upgrade (I believe either u-boot or the initramfs-tools caused the problem).
The better solution might be updating the Ubuntu 18.04 image so users have an uptodate uInitrd with the 4.9.230 kernel.
</off topic>
These users thanked the author specs for the post:
odroid (Mon Jul 27, 2020 12:10 pm)

User avatar
odroid
Site Admin
Posts: 34906
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 954 times
Been thanked: 772 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by odroid »

It should work on 18.04 too.
We will double check the kernel update functionality on Ubuntu 18.04.4 image.
These users thanked the author odroid for the post:
specs (Tue Jul 28, 2020 3:49 am)

joshua.yang
Posts: 409
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: Korean, English
ODROIDs: XU4, XU4Q + Cloudshell2, H2, N2
Has thanked: 23 times
Been thanked: 89 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by joshua.yang »

specs wrote:
Sun Jul 26, 2020 7:47 pm
<off topic>
There might be a need for more instruction there.
If I'm correct tobetter added a new videodriver to the 4.9-kernel?
(BTW, the difference between 4.9.219 and 4.9.230 is quite big, thanks to the new driver).

When you use the standard supplied Ubuntu images they ship with 4.9.213 or 4.9.219.
For 4.9.230 it might be better to upgrade the uInitrd.

After an initial upgrade to 4.9.230 on my N2 (the old one) I found myself with a non-booting system after some apt-get upgrade (I believe either u-boot or the initramfs-tools caused the problem).
The better solution might be updating the Ubuntu 18.04 image so users have an uptodate uInitrd with the 4.9.230 kernel.
</off topic>
Hi.

I just have tested that the kernel/U-Boot updating functionality on my non-plus N2.
Flashed the ubuntu-18.04.4-4.9-minimal-odroid-n2-20200229.img.xz image to the SD card and eMMC, and did the updates.

Code: Select all

apt update
apt full-upgrade -y
After that, actually, I can't find any noticeable boot problem. It was updated well from 4.9.213-67 to 4.9.230-74 on both SD card and eMMC.
So, updating kernel/U-Boot with the non-plus N2 seems working well.

By the way, I have some questions.
Did you updated manually, means not using dist-upgrade or full-upgrade?
If so, did you updated bootini package too?

If not, should find out the culprit.. :)

specs
Posts: 49
Joined: Sun Nov 24, 2019 12:14 pm
languages_spoken: english
ODROIDs: odroid n2
odroid c4
Has thanked: 15 times
Been thanked: 5 times
Contact:

Re: Overclocking Odroid-N2+, How to Guide

Post by specs »

Basicially I did all according the wiki:
odroid@odroid64:~/linux$ make -j4
odroid@odroid64:~/linux$ sudo make modules_install
odroid@odroid64:~/linux$ sudo cp -f arch/arm64/boot/Image.gz arch/arm64/boot/dts/amlogic/meson64_odroidn2.dtb /media/boot/

Then the new 4.9.230 kernel worked with the old boot.ini

Then there was some "apt update" were I saw u-boot and initrd flashing by and found myself with a non-booting system.
(Please note the uInitrd might be updated last in 2019!)

Then I found myself copying the /media/boot from a fresh ubunut 18.04 download restoring my old installation to 4.9.213.

The I rebuild the kernel and also copied a new uInitrd (works perfectly on the old N2)

Then I replaced the N2 by a N2Plus, compiled a new kernel and some stages later changed the boot.ini manually to gain extra speed (with the N2Plus dtb).
(The N2Plus has some dtb-settings different for the power settings it seems, but when running at 1.8GHz that won't matter.)

With a complete update and controlled upgrades of u-boot and initrc there should be no problem.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: leepage@eml.cc and 2 guests