Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
|-
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Version
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
|-
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |1.0.0| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |Oct 2020/10/19
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First release
|-
*95°C for Consumer parts
*105°C for Industrial parts
 
{| style="color:#000000; border:solid 2px #73B2C7; background-color:#ededed;font-size:95%; vertical-align:middle;"
| [[File:TBD.png|30px]]
| '''Section not completed yet'''
|}
====U-Boot====
At U-Boot level, automatic boot procedure is halted until Tj is smaller than (following temperatures might seem excessively low but they take into account the intrinsic poor precision of the temperature sensor to provide a reasonable safe margin):
*TBD for Consumer parts*95°C for Industrial parts
====Linux kernel====
*for Consumer parts
** passive threshold: '''TBD'''** critical threshold: '''TBD'''
*for Industrial parts
** passive threshold: 85°C
Practically speaking, for DESK-MX8-L this mechanism makes use of two different thresholds, denoted as <code>trip_point0</code> (also known as ''passive threshold'') and <code>trip_point1</code> (also known as ''critical threshold)''.
When Tj reaches <code>trip_point0</code>, Linux kernel scales down processor frequency: <pre>System is too hot. GPU3D will work at 1/64 clock.</pre>
If Tj reaches <code>trip_point1</code>, a complete shutdown is triggered:
<pre>
thermal thermal_zone0: critical temperature reached(100 95 C),shutting down
</pre>
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-litemito:~# cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_0_temp
85000
root@axel-litemito:~# cat /sys/devices/virtual/thermal/thermal_zone0/trip_point_1_temp100000950000
</pre>
This example shows how to set trip points 0 and 1 to 95°C and 100°C respectively:
echo 100000 > /sys/class/thermal/thermal_zone0/trip_point_1_temp
</pre>
{{ImportantMessage|text='''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):
<pre>
root@axel-litemito:~# cat /sys/class/thermal/thermal_zone0/temp
36676
</pre>
8,286
edits