This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I confirm how fast the Cortex-A57 and CortexA53 cores are being clocked at on my Juno board?

I'm using the standard firmware with an OpenEmbedded filesystem on a Juno Development Platform

Parents
  • If you are using Interim3 release and have extracted the release modules.tar.bz2 on to your filesystem,

    then you can have CPUFreq support.

    $ lsmod | grep scpi_cpufreq

    If not alredy present, try

    $ modprobe scpi_cpufreq

    You can read the current frequency:

    $ cat /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_cur_freq

    where  <n> is [0 - 3] for A53 and [4 - 5] for A57(you can operate on just one cpu in the cluster)

    Then you can set the governor of your choice:

    $ echo $governor > /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_governor

    where $governor can be any one in the list below

    +---------------------------------------------------------------------------------------------+

    | $governor-> | powersave | performance | ondemand | userspace |

    +--------------------------------------------------------------------------------------------+

    | A57            | 450 MHz    |    1.1 GHz    | 450, 800, 1100 MHz    |

    +--------------------------------------------------------------------------------------------+

    | A53            | 450 MHz    |    850 MHz   | 450, 700, 850 MHz     |

    +--------------------------------------------------------------------------------------------+

    In ondemand, based on the load the governor chooses the frequency, while in userspace you can select it by:

    $ echo $freq_in_khz > /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_setspeed

    where $freq_in_khz can be obtained from the list:

    $ cat /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_available_frequencies

Reply
  • If you are using Interim3 release and have extracted the release modules.tar.bz2 on to your filesystem,

    then you can have CPUFreq support.

    $ lsmod | grep scpi_cpufreq

    If not alredy present, try

    $ modprobe scpi_cpufreq

    You can read the current frequency:

    $ cat /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_cur_freq

    where  <n> is [0 - 3] for A53 and [4 - 5] for A57(you can operate on just one cpu in the cluster)

    Then you can set the governor of your choice:

    $ echo $governor > /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_governor

    where $governor can be any one in the list below

    +---------------------------------------------------------------------------------------------+

    | $governor-> | powersave | performance | ondemand | userspace |

    +--------------------------------------------------------------------------------------------+

    | A57            | 450 MHz    |    1.1 GHz    | 450, 800, 1100 MHz    |

    +--------------------------------------------------------------------------------------------+

    | A53            | 450 MHz    |    850 MHz   | 450, 700, 850 MHz     |

    +--------------------------------------------------------------------------------------------+

    In ondemand, based on the load the governor chooses the frequency, while in userspace you can select it by:

    $ echo $freq_in_khz > /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_setspeed

    where $freq_in_khz can be obtained from the list:

    $ cat /sys/devices/system/cpu/cpu<n>/cpufreq/scaling_available_frequencies

Children