Firefly Open Source Community

Title: Missing CPU frequencies [Print This Page]

Author: crashoverride    Time: 6/27/2017 01:58
Title: Missing CPU frequencies
The top operating frequencies for both big and little cores appear to be missing:
  1. firefly@firefly:~$ cat /sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies
  2. 408000 600000 816000 1008000 1200000 1416000 1608000 1800000
  3. firefly@firefly:~$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
  4. 408000 600000 816000 1008000 1200000 1416000
Copy the code


The device tree indicates the support here:
https://gitlab.com/TeeFirefly/li ... 9-opp.dtsi#L133-137
  1.                 opp@1992000000 {
  2.                         opp-hz = /bits/ 64 <1992000000>;
  3.                         opp-microvolt = <1225000>;
  4.                         clock-latency-ns = <40000>;
  5.                 };
Copy the code


https://gitlab.com/TeeFirefly/li ... 399-opp.dtsi#L81-85

  1.                 opp@1512000000 {
  2.                         opp-hz = /bits/ 64 <1512000000>;
  3.                         opp-microvolt = <1125000>;
  4.                 clock-latency-ns = <40000>;
  5.                         };
Copy the code


Are these frequencies omitted because they are unstable or due to an oversight?
Author: isle    Time: 6/27/2017 10:35
if you  update  the kernel/resource  image by making it  yourself  ,then the missing part will show up.
Author: crashoverride    Time: 6/27/2017 22:43
Using the latest kernel does provide the missing frequencies.  I also confirmed a performance increase when using the frequencies.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1