Changes

Jump to: navigation, search

Thermal management (Axel)

250 bytes added, 14:02, 15 April 2016
XELK 1.x.y series
At Linux level, a more sophisticated protection mechanism is implemented. Please refer to the following sections for more details.
=====XELK 12.x.y series=====
Practically speaking, for [[Axel_Embedded_Linux_Kit_(XELK)#XELK_software_components|XELK 1.x.y series]] this mechanism makes use of two different thresholds, denoted as <code>trip_point0</code> and <code>trip_point1</code>. When Tj reaches <code>trip_point0</code>, Linux kernel scales down processor frequency:
<pre>
thermal thermal_zone0: critical temperature reached(100 C),shutting down
</pre>
Trip point thresholds can be accessed via <code>sysfs</code> interface from user space.
By default, temperature thresholds are set up as follows:*<code>trip_point0</code>:*<code>trip_point1</code>: Trip point thresholds can be accessed via <code>sysfs</code> interface from user space. The following example shows how to read the values of the trip points:
<pre>
root@axel-lite:~# cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
100000
</pre>
 
This example shows how to set trip points 0 and 1 to 95°C and 100°C respectively:
<pre>
echo 100000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
</pre>
{{ImportantMessage|text=Exceeding Please note that*it is possible to set up trip points greater than the maximum junction temperature indicated by manufacturer datasheet*exceeding maximum junction temperature indicated by manufacturer datasheet may cause permanent damage.}}
To read current processor temperature please issue this command (reported temperature is 36.676°C in the example):
4,650
edits

Navigation menu