This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TMDSLCDK138: Setting ARM CPU frequency in Linux to 456MHz

Part Number: TMDSLCDK138

Tool/software: Linux

Hello!


I'm trying to compile my own Linux kernel for LCDK. I have the latest SDK from TI (Linux kernel 3.1.10), configured it to my needs and successfully built.

Transferred the kernel and rootfs to SD card, booted successfully.

The CPUFreq says that max CPU frequency available is 300MHz. I have found the U-Boot setting, maxcpuclk, and set it to 456000000. No effect.

Please help, what should I do to achieve 456MHz on Linux bootup?

  • Hi,

    Use the follwoing commands:

    root@omapl138-lcdk:~# cd /sys/devices/system/cpu/cpu0/                                                                                          

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0# ls                                                                                            

    cpufreq                                                                                                                                        

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0# cd cpufreq/                                                                                    

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# ls                                                                                    

    affected_cpus                  scaling_cur_freq                                                                                                

    cpuinfo_cur_freq               scaling_driver                                                                                                  

    cpuinfo_max_freq               scaling_governor                                                                                                

    cpuinfo_min_freq               scaling_max_freq                                                                                                

    cpuinfo_transition_latency     scaling_min_freq                                                                                                

    related_cpus                   scaling_setspeed                                                                                                

    scaling_available_frequencies  stats                                                                                                            

    scaling_available_governors                                                                                                                    

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_governors                                                                                                                                        

    userspace                                                                                                                                      

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_governor                                                                  

    userspace

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_available_frequencies                                                                                                                                      

    300000 200000 96000                                                                    

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq

    300000

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# echo 200000 > scaling_setspeed   => This command actually changes the fequency

    root@omapl138-lcdk:/sys/devices/system/cpu/cpu0/cpufreq# cat scaling_cur_freq                                                                  

    200000

    Best Regards, 
    Yordan