OpenBMC Sensors

Aaron Williams awilliams at marvell.com
Thu Jan 24 20:03:40 AEDT 2019


Hi all,

I have a board with a couple of i2c sensors that I am trying to configure to 
work in OpenBMC but I have a lot of confusion. Do I need to add all the IPMI 
configuration for the sensors? I'm still fairly new to OpenBMC and IPMI and am 
not sure how to go about configuring things. I'm looking at the IBM Romulus 
board as an example.

We have two temperature sensors, a TI TMP421 which monitors the CPU core 
temperature as well as an ADT7462 which monitors several locations around the 
motherboard and controls the fans.

We want to control the speed of the CPU fan based on the temperature measured 
by the tmp421 in order to keep it within our thermal envelope, which shouldn't 
be too difficult to do whereas the chassis fans would be based on the 
motherboard temperature.

I see how to set up the hwmon portion defining the devices based on the device 
tree, but I am unsure how to go about configuring the YAML and other files for 
this.

At some point we should also be able to obtain internal per-core temperature 
information as well which we would also like to report.

Engineering has made this a rather high priority since the CPU fan sounds like 
a jet engine and rarely needs to run anywhere near 100%.

The ADT7462 can also measure the voltage and monitor the fan speeds.

-Aaron




More information about the openbmc mailing list