Thermal control-CPU frequency

The following content applies to the RDK X3 and RDK X3 Module development boards, not to the RDK Ultra development board.

1. Thermal control

To avoid overheating of the chip under heavy load, a certain degree of power management is performed at the operating system level.

The SoC has an internal temperature sensor, which is monitored by the thermal subsystem.

You can use the sudo hrut_somstatus command to view the current chip operating frequency, temperature and other status.

查询温度

The system frequency reduction and shutdown temperature can be temporarily set through commands.

The set frequency reduction temperature cannot exceed the shutdown temperature, and the shutdown temperature cannot be set to more than 105℃.

For example, set 85 degrees Celsius as the frequency reduction temperature point.

For example, to set 105℃ as the shutdown temperature point.

The above command setting method will be restored to the default value after the system restarts and needs to be reset.

It can be added to the auto-startup item for automatic configuration.

2. CPU frequency management

In the Linux kernel, there is a built-in cpufreq subsystem to control the CPU frequency and frequency control strategy.

Enter the directory /sys/devices/system/cpu/cpufreq/policy0, and ls, you will see the following files in the directory.

The Linux kernel used by the RDK system supports the following frequency adjustment strategies.

Users can control the CPU frequency adjustment policy by controlling the corresponding settings in the directory /sys/devices/system/cpu/cpufreq/policy0.

For example, to make the CPU run in performance mode.

Or control the CPU to run at a fixed frequency (1GHz).