Imx6q:How to caribrate cpu temp, modify thermal configuration?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Imx6q:How to caribrate cpu temp, modify thermal configuration?

跳至解决方案
5,050 次查看
echozeng
Contributor III

Dear all,

        Env:Imx6q uboot 2009, kernel 3.0.35,android 4.2.2.

        Product envirement temp requirement: -25~70°C.

        Play video continuously, system works slowly after serveral hour .

        1, How do I know detection temp of cpu is correct?  How to calibrate cpu temp?

        2, Has any sugguestion about thermal configuration, such as TEMP_HOT, TEMP_CRITICAL, TEMP_ACTIVE?

Thanks.       

标签 (3)
0 项奖励
回复
1 解答
3,684 次查看
lily_zhang
NXP Employee
NXP Employee

Hello, Mr Zeng:

Igor has shared 2 useful documents. I would like to add more comments for TEMP_CRITICAL, TEMP_HOT, TEMP_ACTIVE.

In default thermal.c, they are defined as the follows:

#define TEMP_CRITICAL                      373 /* 100 C*/

#define TEMP_HOT                             363 /* 90 C*/

#define TEMP_ACTIVE                                  353 /* 80 C*/

When reaching TEMP_CRITICAL, cooling device will shut down the system. When reaching TEMP_HOT, cooling device will lower CPU frequency and notify

GPU to run at a lower frequency. When the temperature drops to TEMP_ACTIVE, cooling device will release all the cooling actions. From your description, your system starts to become slower, but not shutdown, it means system may reach TEMP_HOT and starts to slow down.

Above values can be adjusted according to SoC grade and system thermal design. For example, if you are using auto grade chip, the SoC working temperature is "-40 to + 125°C". Your thermal design is also good. You can consider to increase above values as TEMP_ACTIVE (100), TEMP_HOT (110), TEMP_CRITICAL(120) etc. But please gurantee the value should not exceed max temperature supported by SoC.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,683 次查看
igorpadykov
NXP Employee
NXP Employee

Hi echo

please look at Chapter 20 Thermal Driver attached Linux Manual

and AN4539 p.46 Software Thermal Management Techniques

http://cache.freescale.com/files/32bit/doc/app_note/AN4579.pdf

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
3,685 次查看
lily_zhang
NXP Employee
NXP Employee

Hello, Mr Zeng:

Igor has shared 2 useful documents. I would like to add more comments for TEMP_CRITICAL, TEMP_HOT, TEMP_ACTIVE.

In default thermal.c, they are defined as the follows:

#define TEMP_CRITICAL                      373 /* 100 C*/

#define TEMP_HOT                             363 /* 90 C*/

#define TEMP_ACTIVE                                  353 /* 80 C*/

When reaching TEMP_CRITICAL, cooling device will shut down the system. When reaching TEMP_HOT, cooling device will lower CPU frequency and notify

GPU to run at a lower frequency. When the temperature drops to TEMP_ACTIVE, cooling device will release all the cooling actions. From your description, your system starts to become slower, but not shutdown, it means system may reach TEMP_HOT and starts to slow down.

Above values can be adjusted according to SoC grade and system thermal design. For example, if you are using auto grade chip, the SoC working temperature is "-40 to + 125°C". Your thermal design is also good. You can consider to increase above values as TEMP_ACTIVE (100), TEMP_HOT (110), TEMP_CRITICAL(120) etc. But please gurantee the value should not exceed max temperature supported by SoC.

0 项奖励
回复