I have been trying to use beaglebone AI. Ive tried changing cpufreq but its not changing. Its fixed at 400MHz. With cpufreq-info, it reads “current policy: frequency should be within 400 MHz and 400 MHz.” and the upper limit of 400MHz is not changing either. Please suggest how to solve this problem,
This is a safety thing to keep the board from overheating… Do you have a fan or small fan nearby it?
Just load the BBORG_FAN-A000.dtbo overlay in u-boot see /boot/uEnv.txt.
Regards,
Thank you so much @RobertCNelson , I did load the dtbo file u mentioned, from 400MHz now its stuck at 1000MHz, how can I go to 1.5GHz ? It will be super helpful if u can let me know. Thanks in advance.
What kernel version?
voodoo@x1-am57xx-beagle-x15-2gb:~$ sudo beagle-version | grep model
model:[TI_AM5728_BeagleBoard-X15_rev_C]
voodoo@x1-am57xx-beagle-x15-2gb:~$ uname -r
5.10.120-ti-r48
voodoo@x1-am57xx-beagle-x15-2gb:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 460 us.
hardware limits: 1000 MHz - 1.50 GHz
available frequency steps: 1000 MHz, 1.18 GHz, 1.50 GHz
available cpufreq governors: performance
current policy: frequency should be within 1000 MHz and 1.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.50 GHz.
cpufreq stats: 1000 MHz:0.07%, 1.18 GHz:0.00%, 1.50 GHz:99.93% (1)
analyzing CPU 1:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 460 us.
hardware limits: 1000 MHz - 1.50 GHz
available frequency steps: 1000 MHz, 1.18 GHz, 1.50 GHz
available cpufreq governors: performance
current policy: frequency should be within 1000 MHz and 1.50 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 1.50 GHz.
cpufreq stats: 1000 MHz:0.07%, 1.18 GHz:0.00%, 1.50 GHz:99.93% (1)
I see 1.5Ghz on my x15’s…
Regards,
I have kenel version = 4.19.94-ti-r73,
so should i upgrade to the 5.10 kernel? I did see a dts file for the bborg_fan for 5.10 kernal, its almost same as 4.19 one, the only difference being opp_slow-400000000 in 4.19 and opp_slow-500000000 in 5.10.
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 460 us.
hardware limits: 1000 MHz - 1.50 GHz
available frequency steps: 1000 MHz, 1.18 GHz, 1.50 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 1000 MHz and 1000 MHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz (asserted by call to hardware).
cpufreq stats: 1000 MHz:99.83%, 1.18 GHz:0.00%, 1.50 GHz:0.17% (2)
analyzing CPU 1:
driver: cpufreq-dt
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0 1
maximum transition latency: 460 us.
hardware limits: 1000 MHz - 1.50 GHz
available frequency steps: 1000 MHz, 1.18 GHz, 1.50 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance, schedutil
current policy: frequency should be within 1000 MHz and 1000 MHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency is 1000 MHz (asserted by call to hardware).
cpufreq stats: 1000 MHz:99.83%, 1.18 GHz:0.00%, 1.50 GHz:0.17% (2)
root@beaglebone:/home/debian# 4.19.94-ti-r73
Also it defaults to powersave governer, I tried chaning governer using cpufreq-set -g to performance and userspace, but it makes no difference and the allowed frequency is still between 1000MHz and 1000MHz.
Please let me know what can I do to fix this issue.
Thanks & Regards,
Shahbaaz
Based on your screen grab, your still in powersave mode…
I don’t really test 4.19.x anymore, i am shipping v5.10.x-ti with Bullseye Debian 11.x (Bullseye) - Monthly Snapshot - 2023-10-07
Regards,
Thank you so much @RobertCNelson , It worked in 4.19 kernel itself, through dmesg i found out that the power was insufficient and changed the adaptor and is working perfectly fine now.