<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: imx6q CPU thermal sensor wrong?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-CPU-thermal-sensor-wrong/m-p/301009#M37872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.0.4 is pretty old.&amp;nbsp; You will want to go look in the 4.3.1-1.1.0-ga branch or something newer.&amp;nbsp; There are changes to the kernel and u-boot to use a global thermal equation (instead of the inaccurate calibration values stored in the fuses).&amp;nbsp;&amp;nbsp; Look in these files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel:&lt;/P&gt;&lt;P&gt;drivers/mxc/thermal/thermal.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot:&lt;/P&gt;&lt;P&gt;cpu/arm_cortexa8/mx6/generic.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said, you still may see these thermal warning with these patches if your design is not well ventilated or has a heat sink.&amp;nbsp; Once you have those patches, you can also monitor the iMX6 thermal sensor by using these sysfs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# turn on thermal log (print to console every two seconds)&lt;/P&gt;&lt;P&gt; echo 2 &amp;gt; /sys/module/thermal/parameters/debug_mask&lt;/P&gt;&lt;P&gt;# turn off thermal log&lt;/P&gt;&lt;P&gt; echo 0 &amp;gt; /sys/module/thermal/parameters/debug_mask&lt;/P&gt;&lt;P&gt;# print out current temp once&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/temp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Mar 2014 13:27:57 GMT</pubDate>
    <dc:creator>Chris1z</dc:creator>
    <dc:date>2014-03-21T13:27:57Z</dc:date>
    <item>
      <title>imx6q CPU thermal sensor wrong?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-CPU-thermal-sensor-wrong/m-p/301008#M37871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I run ott with android 4.0.4, the kernel always report&amp;nbsp; "Chip is too hot ...." , And I got wrong cpu temperature "Invalid temperature, force it to 25C"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Thermal calibration data is 0x4e67d, cpu info is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cpuinfo&lt;/P&gt;&lt;P&gt;Processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ARMv7 Processor rev 10 (v7l)&lt;/P&gt;&lt;P&gt;processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0&lt;/P&gt;&lt;P&gt;BogoMIPS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1988.29&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/P&gt;&lt;P&gt;BogoMIPS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1988.29&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/P&gt;&lt;P&gt;BogoMIPS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1988.29&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;processor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3&lt;/P&gt;&lt;P&gt;BogoMIPS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1988.29&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Features&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : swp half thumb fastmult vfp edsp neon vfpv3 &lt;/P&gt;&lt;P&gt;CPU implementer : 0x41&lt;/P&gt;&lt;P&gt;CPU architecture: 7&lt;/P&gt;&lt;P&gt;CPU variant&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0x2&lt;/P&gt;&lt;P&gt;CPU part&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0xc09&lt;/P&gt;&lt;P&gt;CPU revision&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hardware&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Freescale i.MX 6Quad/DualLite OTT TV BOX Board&lt;/P&gt;&lt;P&gt;Revision&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 63011&lt;/P&gt;&lt;P&gt;Serial&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : a265d1d4d72d7819&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the mx6 burn with wrong Thermal calibration data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 08:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-CPU-thermal-sensor-wrong/m-p/301008#M37871</guid>
      <dc:creator>chuanyanyin</dc:creator>
      <dc:date>2014-03-21T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q CPU thermal sensor wrong?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-CPU-thermal-sensor-wrong/m-p/301009#M37872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;4.0.4 is pretty old.&amp;nbsp; You will want to go look in the 4.3.1-1.1.0-ga branch or something newer.&amp;nbsp; There are changes to the kernel and u-boot to use a global thermal equation (instead of the inaccurate calibration values stored in the fuses).&amp;nbsp;&amp;nbsp; Look in these files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel:&lt;/P&gt;&lt;P&gt;drivers/mxc/thermal/thermal.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u-boot:&lt;/P&gt;&lt;P&gt;cpu/arm_cortexa8/mx6/generic.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that said, you still may see these thermal warning with these patches if your design is not well ventilated or has a heat sink.&amp;nbsp; Once you have those patches, you can also monitor the iMX6 thermal sensor by using these sysfs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# turn on thermal log (print to console every two seconds)&lt;/P&gt;&lt;P&gt; echo 2 &amp;gt; /sys/module/thermal/parameters/debug_mask&lt;/P&gt;&lt;P&gt;# turn off thermal log&lt;/P&gt;&lt;P&gt; echo 0 &amp;gt; /sys/module/thermal/parameters/debug_mask&lt;/P&gt;&lt;P&gt;# print out current temp once&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/temp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 13:27:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-CPU-thermal-sensor-wrong/m-p/301009#M37872</guid>
      <dc:creator>Chris1z</dc:creator>
      <dc:date>2014-03-21T13:27:57Z</dc:date>
    </item>
  </channel>
</rss>

