Get iMX6 SabreSD board run at 1GHz when running Linux BSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get iMX6 SabreSD board run at 1GHz when running Linux BSP

3,130 Views
makislivadas
Contributor IV

I have a SabreSD iMX6Q evaluation board, runnint Linux BSP. I would like to make sure I can select the maximum CPU Clock of 1GHz.

How do I do this. Am I getting the maximum speed by default when running computational demanding applications?

Labels (2)
2 Replies

682 Views
LeonardoSandova
Specialist I

One way is to set the CPU governor as performance mode

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

To check other possible modes:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors?

0 Kudos

682 Views
makislivadas
Contributor IV

Thank you for the hint.

I see I can change this with the kernel configuration with LTIB.

CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE:                                │ 
  │                                                                         │ 
  │ Use the CPUFreq governor 'performance' as default. This sets            │ 
  │ the frequency statically to the highest frequency supported by          │ 
  │ the CPU.                                                                │ 
  │                                                                         │ 
  │ Symbol: CPU_FREQ_DEFAULT_GOV_PERFORMANCE [=y]                           │ 
  │ Type  : boolean                                                         │ 
  │ Prompt: performance                                                     │ 
  │   Defined at drivers/cpufreq/Kconfig:53                                 │ 
  │   Depends on: <choice>                                                  │ 
  │   Location:                                                             │ 
  │     -> CPU Power Management                                             │ 
  │       -> CPU Frequency scaling                                          │ 
  │         -> CPU Frequency scaling (CPU_FREQ [=y])                        │ 
  │           -> Default CPUFreq governor (<choice> [=y])