Temperature Sensor Reading not showing up.

AKASH G J akashgj91 at gmail.com
Wed Oct 31 16:13:09 AEDT 2018


Hi All,

I built OpenBMC Linux using Zaius configuration and booted on BMC Aspeed
AST-2500. The board we are using have one temperature sensor (Texas
Instruments TMP75) on I2C-12 interface.

I added the file
*meta-zaius/recipes-phosphor/sensors/phosphor-hwmon%/obmc/hwmon/ahb/apb/i2c at 1e6e2000/i2c-bus at 90/tmp75 at 48.conf*
in machine configuration directory with the following contents.



*LABEL_temp1 = ambientWARNLO_temp1=-40WARNHI_temp1=125*

I added the following patch to the kernel file
linux/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts.










* &i2c12 {-    status = "disabled";+    status = "okay";++    tmp75 at 48
{+        compatible = "ti,tmp75";+        reg = <0x48>;+    };+ };*

After booting Linux, the changes are reflected in
*/sys/firmware/devicetree/base/ahb/apb/i2c at 1e78a000/i2c-bus at 440/tmp75 at 48*.
Also,
*tmp78.conf* is showing in
*/etc/default/obmc/hwmon/ahb/apb/i2c at 1e78a000/i2c-bus at 90*.

when I am running the ipmitool command: *ipmitool -I dbus sdr elist* full
it is not showing the temperature sensor and its reading.

Please someone help to resolve the problem.


Thanks and Regards,

Akash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20181031/2441549e/attachment.html>


More information about the openbmc mailing list