Hello,
How can I get the temperature of the kernel of i.mx6q? The linux code is LTIB.
Thank you.
Solved! Go to Solution.
you can use "cat /sys/class/thermal/thermal_zone0/temp" to get the CPU temperature.
The internal thermal sensor need calibration data which is burned in fuse to get an accurate temperature..
This is not real degrees for temp. All the chip will get calibrations and you can use this data to get real temp with calibration data.
Hi,
Whenever I run:
"cat /sys/class/thermal/thermal_zone0/temp"
I get:
42932
or similar numbers (42334).
Can anybody tell me what's going on? Thanks!
Hi
I am using kernel 3.10.53
How can temperature be determined here
since i can see below entries in
/sys/devices/virtual/thermal
cooling_device0
cooling_device1
thermal_zone0
thermal_zone1
Regards
Himanshu
check the entry of thermal_zone0
you can use "cat /sys/class/thermal/thermal_zone0/temp" to get the CPU temperature.
Hi ,
I recently did a short study on the temperature related stuffs and I saw when my yocto BSP is booting in i.MX6 Solo it shows the temperature as 41 degree Celsius and the print comes from the U-boot code which handles the temperature sensor part So I believe it is the temperature sensor value which is nothing but the on-die temperature
Then I checked the /sys/class/thermal/thermalzone1/temp value which is 43 degree Celsius . According to your answer, the sysfs shows CPU temperature. I can across various kind of temperature such as case temperature, junction temperature, die-temperature when the actual CPU temperature is considered. Can you be specific which temperature /sys/class/thermal/thermalzone1/temp actually points to .
Thanks & Regards,
Anjali
Hello, is that temperature given in Celsius degrees or Fahrenheit degrees? Thanks!
cat /sys/class/thermal/thermal_zone0/temp
53
Celsius degrees
Thank you for your help.