2 2
ginggs

Tinkerboard max CPU freq limited to 1.61GHz

Recommended Posts

Armbianmonitor:

Hi!

 

I seem to have the same problem described here:

I have an Asus Tinkerboard, not the S version.

Today I upgraded from the latest Asus TinkerOS image:

20190821-tinker-board-linaro-stretch-alip-v2.0.11.img

to:

Armbian_19.11.3.346_Tinkerboard_buster_current_5.3.15_minimal.img

 

I notice that my maximum CPU frequency has dropped from 1.80GHz to 1.61GHz.

 

cpufreq-info now reports:

 

$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 115 us.
  hardware limits: 126 MHz - 1.61 GHz

...

 

and my cpufrequtils config is unmodified:

 

$ cat /etc/default/cpufrequtils
ENABLE=true
MIN_SPEED=600000
MAX_SPEED=1900000
GOVERNOR=ondemand

 

Whereas on TinkerOS, cpufreq-info reported:

 

$ cpufreq-info

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
  driver: cpufreq-dt
  CPUs which run at the same hardware frequency: 0 1 2 3
  CPUs which need to have their frequency coordinated by software: 0 1 2 3
  maximum transition latency: 115 us.
  hardware limits: 126 MHz - 1.80 GHz

...

 

Is this something I can change locally, or does something need to change in the Armbian image?

 

Share this post


Link to post
Share on other sites
2 hours ago, ginggs said:

Is this something I can change locally, or does something need to change in the Armbian image?

 

You already find where things changes in a simple manner while for this you will need to dig into the code. Probably "just" higher frequencies were not find a way to modern kernel DT or someone throw them out by purpose to gain stability ... which is questionable if you power with microUSB. When you power properly, chip can run stable at 1.8 (for sure) 2.0 (good ones) ...

 

Investigation is needed. Probably just this patch needs duplication on Tinkerboard.

Share this post


Link to post
Share on other sites
On 12/28/2019 at 2:11 PM, Igor said:

Probably "just" higher frequencies were not find a way to modern kernel DT 

Yes, this.  So, there are several different RK3288's out there, the kernel supports them all as one.  Only the RK3288C can do 1.8 GHz officially, and that is the one in the Tinker Board.  Apparently the patch adding the opps has not been applied correctly.

 

May I add that I believe this is being corrected upstream for the Tinker Board, I saw it mentioned on the mailing list.

Share this post


Link to post
Share on other sites

Thanks for yours answers. 

1 hour ago, TonyMac32 said:

May I add that I believe this is being corrected upstream for the Tinker Board, I saw it mentioned on the mailing list.

Is that Linux or Asus upstream?

 

Share this post


Link to post
Share on other sites

I recently received some updates via apt; armbian-firmware, linux-u-boot-tinkerboard-current, etc. all upgraded from 19.11.3.346 to 19.11.8.

 

I don't see any change in CPU frequency.

 

If the issue was fixed, would it be fixed for me by an apt update, or would I need to start from a new Armbian image?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
2 2