Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

Raspberry Pi OS • Re: Set cpu frequency

$
0
0
In fact, looking to the image you posted in your first post, you lack a few options compared with the config of the current Raspberry Pi OS shipped kernel. Try to replicate it's related config::

Code:

# CPU Frequency scaling#CONFIG_CPU_FREQ=yCONFIG_CPU_FREQ_GOV_ATTR_SET=yCONFIG_CPU_FREQ_GOV_COMMON=yCONFIG_CPU_FREQ_STAT=y# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not setCONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not setCONFIG_CPU_FREQ_GOV_PERFORMANCE=yCONFIG_CPU_FREQ_GOV_POWERSAVE=yCONFIG_CPU_FREQ_GOV_USERSPACE=yCONFIG_CPU_FREQ_GOV_ONDEMAND=yCONFIG_CPU_FREQ_GOV_CONSERVATIVE=yCONFIG_CPU_FREQ_GOV_SCHEDUTIL=y## CPU frequency scaling drivers#CONFIG_CPUFREQ_DT=yCONFIG_CPUFREQ_DT_PLATDEV=yCONFIG_ARM_BRCMSTB_AVS_CPUFREQ=yCONFIG_ARM_RASPBERRYPI_CPUFREQ=y
Since I only needed the performance governor, I turned off the rest in the kernel. But when the system ran, it didn't run at the highest cpu frequency that I expected. So I wonder whether the system or the bootloader changed it somewhere.

Statistics: Posted by tt77forever — Tue Jan 21, 2025 9:31 am



Viewing all articles
Browse latest Browse all 4909

Trending Articles