Firefly开源社区

标题: NPU时钟频率如何设置? [打印本页]

作者: junc23    时间: 2021-10-26 10:31
标题: NPU时钟频率如何设置?
目前拿到默认值是600MHz,我想修改成900MHz
firefly@firefly:~$ cat /sys/devices/platform/fde40000.npu/devfreq/fde40000.npu/cur_freq
600000000
作者: junc23    时间: 2021-10-26 14:53
本帖最后由 junc23 于 2021-10-26 14:56 编辑

NPU频率设置(RK3566)
路径:/sys/devices/platform/fde40000.npu/devfreq/fde40000.npu
其他型号的开发板可以/sys/devices/platform/*.npu对应找到


  1. # cat available_frequencies
  2. 200000000 297000000 400000000 600000000 700000000 800000000 900000000
  3. # cat available_governors
  4. venc_ondemand userspace powersave performance simple_ondemand
  5. # cat governor
  6. userspace
  7. # cat userspace/set_freq
  8. undefined
复制代码
  1. # echo performance > governor
  2. # cat governor
  3. performance
  4. # cat cur_freq
  5. 900000000
复制代码
  1. # echo userspace > governor
  2. # cat governor
  3. userspace
  4. # echo 800000000 > userspace/set_freq
  5. # cat userspace/set_freq
  6. 800000000
  7. # cat cur_freq
  8. 800000000
复制代码







欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1