Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    请问A133如何在运行的时候动态修改CPU频率?

    其它全志芯片讨论区
    a133
    2
    3
    1388
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yixiuge LV 5 last edited by

      请问A133如何在运行的时候动态修改CPU频率?

      1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 last edited by

        参考:CPUFREQ_开发指南.pdf

        4b45a770-dc65-44b6-ab53-b002825e665b-image.png

        echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
        
        cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequencies 
        
        
        echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed 
        
        
        cat /sys/devices/system/cpu/cpufreq/policy0/scaling_cur_freq
        
        1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 last edited by whycan

          mmexport1662114530769.png

          mmexport1662114535722.png

          mmexport1662114539245.png

          mmexport1662114542539.png

          内核选项需要重新配置一下.

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策