Project

General

Profile

Actions

完成 #271

open

rk3566 无法切换对应cpu频率

Added by 余 顺 6 months ago. Updated 3 months ago.

Status:
完成
Priority:
普通
Assignee:
-
Category:
其他
Target version:
Start date:
12/03/2024
Due date:
% Done:

0%

Estimated time:

Description

版型:rp-box-rk3566

系统:linux5.10 内核sdk 编译系统

问题描述:运行安卓SDK11 可以切换对应cpu频率,运行rk-linux 5.10 SDK 编译固件无法正常切换

cpu 节点注册情况如下:
root@rk3566-buildroot:/# ls /sys/devices/system/cpu/cpu0/ l
total 0
-r--r--r-
1 root root 4096 Aug 6 16:29 cpu_capacity
drwxr-xr-x 5 root root 0 Aug 6 16:29 cpuidle
drwxr-xr-x 2 root root 0 Aug 6 16:29 hotplug
lrwxrwxrwx 1 root root 0 Aug 6 16:29 of_node > ../../../../firmware/devicetree/base/cpus/cpu@0
-rw-r--r-
1 root root 4096 Aug 6 16:29 online
drwxr-xr-x 2 root root 0 Aug 6 16:29 power
drwxr-xr-x 3 root root 0 Aug 6 16:29 regs
lrwxrwxrwx 1 root root 0 Aug 6 16:29 subsystem > ../../../../bus/cpu
drwxr-xr-x 2 root root 0 Aug 6 16:28 topology
-rw-r--r-
1 root root 4096 Aug 6 16:28 uevent
root@rk3566-buildroot:/#

正常应该有对应sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 节点确认对应频率

debug启动日志中报错


Files

clipboard-202412031757-cgwxn.png (26.2 KB) clipboard-202412031757-cgwxn.png 余 顺, 12/03/2024 09:57 AM
fan53555.c (18.1 KB) fan53555.c 余 顺, 12/16/2024 03:34 AM
Actions #1

Updated by 余 顺 6 months ago

  • File fan53555.c added

与客户沟通 是使用的之前的一批板子,这个fan53555 驱动有两个型号 ,给到客户兼容两个版本的驱动 反馈可以正常注册节点了

修改是替换sdk 中kernel/drivers/regulator下的同名文件。全局编译sdk

具体见附件fan53555.c

Actions #2

Updated by 余 顺 5 months ago

  • File deleted (fan53555.c)
Actions #3

Updated by 余 顺 5 months ago

Actions #4

Updated by 余 顺 3 months ago

  • Tracker changed from 新建 to 完成
  • Status changed from 新建 to 完成
Actions

Also available in: Atom PDF