Discussion:
Beaglebone Black Core temperature
Dave Pigott
2013-10-01 12:02:11 UTC
Permalink
Hi all,

Does anyone know how we can get the current temperature of the CPU on a beaglebone black?

Thanks

Dave
Gaurang Shastri
2013-10-01 13:15:18 UTC
Permalink
Hi,

Do you mean to say something like lm-sensor kind of utility?? May be from
this package you will get to know what you want :-)

//Gaurang Shastri
Post by Dave Pigott
Hi all,
Does anyone know how we can get the current temperature of the CPU on a beaglebone black?
Thanks
Dave
_______________________________________________
linaro-dev mailing list
http://lists.linaro.org/mailman/listinfo/linaro-dev
Sanjay Singh Rawat
2013-10-01 13:50:32 UTC
Permalink
Post by Gaurang Shastri
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be
from this package you will get to know what you want :-)
//Gaurang Shastri
Hi all,
Does anyone know how we can get the current temperature of the CPU
on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it
will be associated with CPU only). You can trying cat temp*_input file
at this path
Post by Gaurang Shastri
Thanks
Dave
_______________________________________________
linaro-dev mailing list
http://lists.linaro.org/mailman/listinfo/linaro-dev
_______________________________________________
linaro-dev mailing list
http://lists.linaro.org/mailman/listinfo/linaro-dev
Daniel Lezcano
2013-10-01 14:01:26 UTC
Permalink
Post by Sanjay Singh Rawat
Post by Gaurang Shastri
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be
from this package you will get to know what you want :-)
//Gaurang Shastri
Hi all,
Does anyone know how we can get the current temperature of the CPU
on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it
will be associated with CPU only). You can trying cat temp*_input file
at this path
Won't "powerdebug" show this information ?
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Dave Pigott
2013-10-01 14:23:23 UTC
Permalink
Post by Gaurang Shastri
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be
from this package you will get to know what you want :-)
//Gaurang Shastri
Hi all,
Does anyone know how we can get the current temperature of the CPU
on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it will be associated with CPU only). You can trying cat temp*_input file at this path
Already tried looking in there, and various other potential places, but don't seem to have anything.

Dave
Post by Gaurang Shastri
Thanks
Dave
_______________________________________________
linaro-dev mailing list
http://lists.linaro.org/mailman/listinfo/linaro-dev
_______________________________________________
linaro-dev mailing list
http://lists.linaro.org/mailman/listinfo/linaro-dev
Amit Kucheria
2013-10-01 15:59:22 UTC
Permalink
Post by Dave Pigott
Post by Gaurang Shastri
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be
from this package you will get to know what you want :-)
//Gaurang Shastri
Hi all,
Does anyone know how we can get the current temperature of the CPU
on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it will be associated with CPU only). You can trying cat temp*_input file at this path
Already tried looking in there, and various other potential places, but don't seem to have anything.
Hmm, the am335x SoC in the beaglebone seems to have a bandgap sensor
to measure case temperature[1]. Is the bandgap driver enabled in the
kernel? Adding Eduardo (maintainer) to shed some light on whether the
bandgap driver in mainline already has am335x support.

/Amit

[1] http://processors.wiki.ti.com/index.php/AM335x_Thermal_Considerations#Measuring_Case_Temperature
Eduardo Valentin
2013-10-09 14:46:37 UTC
Permalink
Amit, Hello! Long time no seeing :-).

Sorry for the late answer.
Post by Amit Kucheria
Post by Dave Pigott
Post by Gaurang Shastri
Hi,
Do you mean to say something like lm-sensor kind of utility?? May be
from this package you will get to know what you want :-)
//Gaurang Shastri
Hi all,
Does anyone know how we can get the current temperature of the CPU
on a beaglebone black?
default path for such hardware is at /sys/class/hwmon/hwmon* (mostly it will be associated with CPU only). You can trying cat temp*_input file at this path
Already tried looking in there, and various other potential places, but don't seem to have anything.
Hmm, the am335x SoC in the beaglebone seems to have a bandgap sensor
to measure case temperature[1]. Is the bandgap driver enabled in the
kernel? Adding Eduardo (maintainer) to shed some light on whether the
bandgap driver in mainline already has am335x support.
The TI Bandgap IP driver is located under
drivers/thermal/ti-soc-thermal/. There we have support for the Bandgap
IPs present on OMAP4430/OMAP4460/OMAP4470/OMAP543[0|2] and DRA7 devices.

On the other hand, TI HW engineers discourage the usage of AM335x
bandgap IP, due to variability of sensor accuracy, they are copied here.
This is the main reason why I didn't upstream any code.
Post by Amit Kucheria
/Amit
[1] http://processors.wiki.ti.com/index.php/AM335x_Thermal_Considerations#Measuring_Case_Temperature
--
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin
Loading...