Skip to content

Commit

Permalink
wedge400c: sensor-util: update sensor list for Wedge400C-Respin (#1357)
Browse files Browse the repository at this point in the history
Summary:
- remove sensor for Wedge400C-Respin
-- SMB_SENSOR_1220_VMON5
-- SMB_SENSOR_1220_VMON8
-- SMB_SENSOR_TMP421_U62_TEMP
-- SMB_SENSOR_TMP421_Q9_TEMP
-- SMB_SENSOR_TMP421_U63_TEMP
-- SMB_SENSOR_TMP421_Q10_TEMP
- add sensor for Wedge400C-Respin
-- SMB_BMC_ADC5_VSEN
-- SMB_BMC_ADC6_VSEN
-- SMB_BMC_ADC7_VSEN
-- SMB_BMC_ADC8_VSEN
- change sensor name for Wedge400C-Respin
-- XP1R2V_HBM_IN_VOLT(12V) to VDDCK_1P15V_2_IN_VOLT(12V)
-- XP1R2V_HBM_OUT_VOLT(1.2V) to VDDCK_1P15V_2_OUT_VOLT(1.15V)
-- XP1R2V_HBM_OUT_CURR to VDDCK_1P15V_2_OUT_CURR
-- XP1R2V_HBM_OUT_POWER to VDDCK_1P15V_2_OUT_POWER
-- XP1R2V_HBM_TEMP to VDDCK_1P15V_2_TEMP

#### TestPlan:
use `sensor-utill all` command to get value and verify all sensor
```
root@bmc-oob:~# sensor-utill all

scm:
SCM_OUTLET_TEMP              (0x2) :   31.31 C     | (ok)
SCM_HSC_VOLT                 (0xA) :   12.00 Volts | (ok)
SCM_HSC_CURR                 (0xB) :    2.27 Amps  | (ok)
MB_OUTLET_TEMP               (0x1) :   34.00 C     | (ok)
MB_INLET_TEMP                (0x7) :   30.00 C     | (ok)
PCH_TEMP                     (0x8) :   42.00 C     | (ok)
VCCIN_VR_TEMP                (0x80) :   44.00 C     | (ok)
1V05COMB_VR_TEMP             (0x81) :   44.00 C     | (ok)
SOC_TEMP                     (0x5) :   48.00 C     | (ok)
SOC_THERM_MARGIN_TEMP        (0x9) :  -56.00 C     | (ok)
VDDR_VR_TEMP                 (0x82) :   34.00 C     | (ok)
SOC_DIMMA_TEMP               (0xB4) :   31.00 C     | (ok)
SOC_DIMMB_TEMP               (0xB6) :   32.00 C     | (ok)
SOC_PACKAGE_POWER            (0x2C) :   22.00 Watts | (ok)
VCCIN_VR_OUT_POWER           (0x8B) :   19.00 Watts | (ok)
VDDR_VR_OUT_POWER            (0x8D) :    1.50 Watts | (ok)
SOC_TJMAX_TEMP               (0x30) :  104.00 C     | (ok)
P3V3_MB_VOLT                 (0xD0) :    3.30 Volts | (ok)
P12V_MB_VOLT                 (0xD2 (facebook@b604789)) :   11.93 Volts | (ok)
P1V05_PCH_VOLT               (0xD3 (facebook@e74ea59)) :    1.05 Volts | (ok)
P3V3_STBY_MB_VOLT            (0xD5) :    3.30 Volts | (ok)
P5V_STBY_MB_VOLT             (0xD6) :    4.99 Volts | (ok)
PV_BAT_VOLT                  (0xD7) :    3.24 Volts | (ok)
PVDDR_VOLT                   (0xD8) :    1.22 Volts | (ok)
P1V05_COMB_VOLT              (0x8E) :    1.05 Volts | (ok)
1V05COMB_VR_CURR             (0x84) :    1.75 Amps  | (ok)
VDDR_VR_CURR                 (0x85) :    2.25 Amps  | (ok)
VCCIN_VR_CURR                (0x83) :   10.50 Amps  | (ok)
VCCIN_VR_VOLT                (0x88) :    1.79 Volts | (ok)
VDDR_VR_VOLT                 (0x8A) :    1.21 Volts | (ok)
1V05COMB_VR_VOLT             (0x89) :    1.05 Volts | (ok)
1V05COMB_VR_OUT_POWER        (0x8C) :    2.00 Watts | (ok)
INA230_POWER                 (0x29) :   21.00 Watts | (ok)
INA230_VOLT                  (0x2A) :   11.93 Volts | (ok)

smb:
XP12R0V(12V)                 (0x1) :   11.89 Volts | (ok)
XP5R0V(5V)                   (0x2) :    5.00 Volts | (ok)
XP3R3V_BMC(3.3V)             (0x3) :    3.31 Volts | (ok)
XP3R3V_FPGA(3.3V)            (0x4) :    3.31 Volts | (ok)
XP1R8V_FPGA(1.8V)            (0x6) :    1.80 Volts | (ok)
XP1R8V_IO(1.8V)              (0x7) :    1.80 Volts | (ok)
XP0R94V_VDDA(0.94V)          (0x9) :    0.96 Volts | (ok)
VDD_CORE_GB(0.75/0.825V)     (0xA) :    0.84 Volts | (ok)
XP0R75V_PCIE(0.75V)          (0xB) :    0.78 Volts | (ok)
XP1R15V_VDDCK_2(1.15V)       (0xC) :    1.18 Volts | (ok)
POWR1220_VCCA(3.3V)          (0xD) :    3.27 Volts | (ok)
POWR1220_VCCINP(3.3V)        (0xE) :    3.32 Volts | (ok)
XP0R94V_VDDA_IN_VOLT         (0xF) :   11.91 Volts | (ok)
XP0R94V_VDDA_IN_CURR         (0x10) :    2.97 Amps  | (ok)
XP0R94V_VDDA_IN_POWER        (0x11) :   35.00 Watts | (ok)
XP0R94V_VDDA_OUT_VOLT        (0x12) :    0.96 Volts | (ok)
XP0R94V_VDDA_OUT_CURR        (0x13) :   30.75 Amps  | (ok)
XP0R94V_VDDA_OUT_POWER       (0x14) :   29.50 Watts | (ok)
XP0R94V_VDDA_TEMP            (0x15) :   30.00 C     | (ok)
XP0R75V_PCIE_IN_VOLT         (0x16) :   11.91 Volts | (ok)
XP0R75V_PCIE_IN_CURR         (0x17) :    1.53 Amps  | (ok)
XP0R75V_PCIE_IN_POWER        (0x18) :   18.00 Watts | (ok)
XP0R75V_PCIE_OUT_VOLT        (0x19) :    0.75 Volts | (ok)
XP0R75V_PCIE_OUT_CURR        (0x1A) :   20.00 Amps  | (ok)
XP0R75V_PCIE_OUT_POWER       (0x1B) :   15.00 Watts | (ok)
XP0R75V_PCIE_TEMP            (0x1C) :   28.00 C     | (ok)
XP3R3V_LEFT_IN_VOLT          (0x1D) :   11.88 Volts | (ok)
XP3R3V_LEFT_IN_CURR          (0x1E) :    0.56 Amps  | (ok)
XP3R3V_LEFT_IN_POWER         (0x1F) :    6.00 Watts | (ok)
XP3R3V_LEFT_OUT_VOLT         (0x20) :    3.31 Volts | (ok)
XP3R3V_LEFT_OUT_CURR         (0x21) :    1.75 Amps  | (ok)
XP3R3V_LEFT_OUT_POWER        (0x22) :    7.00 Watts | (ok)
XP3R3V_LEFT_TEMP             (0x23) :   30.00 C     | (ok)
XP3R3V_RIGHT_IN_VOLT         (0x24) :   11.91 Volts | (ok)
XP3R3V_RIGHT_IN_CURR         (0x25) :    0.56 Amps  | (ok)
XP3R3V_RIGHT_IN_POWER        (0x26) :    6.50 Watts | (ok)
XP3R3V_RIGHT_OUT_VOLT        (0x27) :    3.31 Volts | (ok)
XP3R3V_RIGHT_OUT_CURR        (0x28) :    2.00 Amps  | (ok)
XP3R3V_RIGHT_OUT_POWER       (0x29) :    7.00 Watts | (ok)
XP3R3V_RIGHT_TEMP            (0x2A) :   28.00 C     | (ok)
VDD_CORE_VOLT                (0x2B) :    0.82 Volts | (ok)
VDD_CORE_CURR                (0x2C) :  163.25 Amps  | (ok)
VDD_CORE_POWER               (0x2D) :  135.00 Watts | (ok)
SMB_LM75B_U28_TEMP           (0x2F) :   26.62 C     | (ok)
SMB_LM75B_U25_TEMP           (0x30) :   44.38 C     | (ok)
SMB_LM75B_U56_TEMP           (0x31) :   38.00 C     | (ok)
SMB_LM75B_U55_TEMP           (0x32) :   26.12 C     | (ok)
GB_DIE_TEMP_HIGH             (0x38) :   59.36 C     | (ok)
GB_DIE_TEMP_MEAN             (0x39) :   56.55 C     | (ok)
DOM_FPGA1_MAX_TEMP           (0x3A) :    0.00 C     | (ok)
DOM_FPGA2_MAX_TEMP           (0x3B) :    0.00 C     | (ok)
FCM_LM75B_U1_TEMP            (0x3C) :   26.38 C     | (ok)
FCM_LM75B_U2_TEMP            (0x3D) :   25.81 C     | (ok)
FCM_HSC_VOLT                 (0x3E) :   12.03 Volts | (ok)
FCM_HSC_CURR                 (0x3F) :    1.59 Amps  | (ok)
XP1R0V_FPGA                  (0x48) :    0.99 Volts | (ok)
XP2R5V_BMC                   (0x49) :    2.57 Volts | (ok)
XP1R15V_BMC                  (0x4A) :    1.15 Volts | (ok)
XP3R3V_RIGHT                 (0x4B) :    3.32 Volts | (ok)
XP3R3V_LEFT                  (0x4C) :    3.34 Volts | (ok)
XP1R8V_ALG                   (0x4D) :    1.79 Volts | (ok)
XP1R2V_VDDH                  (0x4E) :    1.20 Volts | (ok)
XP1R1V_OOB_6321              (0x4F) :    1.10 Volts | (ok)
XP1R5V_OOB_6321              (0x50) :    1.50 Volts | (ok)
VDDCK_1P15V_2_IN_VOLT(12V)   (0x51) :   12.00 Volts | (ok)
VDDCK_1P15V_2_OUT_VOLT(1.15V) (0x52) :    1.15 Volts | (ok)
VDDCK_1P15V_2_OUT_CURR       (0x54) :    5.62 Amps  | (ok)
VDDCK_1P15V_2_OUT_POWER      (0x56) :    6.44 Watts | (ok)
VDDCK_1P15V_2_TEMP           (0x57) :   48.00 C     | (ok)
VDDCK_1P15V_0_IN_VOLT(12V)   (0x58) :   12.00 Volts | (ok)
VDDCK_1P15V_0_OUT_VOLT(1.15V) (0x59) :    1.15 Volts | (ok)
VDDCK_1P15V_0_OUT_CURR       (0x5B) :    5.75 Amps  | (ok)
VDDCK_1P15V_0_OUT_POWER      (0x5D) :    6.53 Watts | (ok)
VDDCK_1P15V_0_TEMP           (0x5E) :   45.00 C     | (ok)
VDDCK_1P15V_1_IN_VOLT(12V)   (0x5F) :   11.94 Volts | (ok)
VDDCK_1P15V_1_OUT_VOLT(1.15V) (0x60) :    1.15 Volts | (ok)
VDDCK_1P15V_1_OUT_CURR       (0x61) :    5.50 Amps  | (ok)
VDDCK_1P15V_1_OUT_POWER      (0x62) :    6.31 Watts | (ok)
VDDCK_1P15V_1_TEMP           (0x63) :   45.00 C     | (ok)
GB_TEMP1                     (0x64) :   54.45 C     | (ok)
GB_TEMP2                     (0x65) :   55.82 C     | (ok)
GB_TEMP3                     (0x66) :   57.45 C     | (ok)
GB_TEMP4                     (0x67) :   59.36 C     | (ok)
GB_TEMP5                     (0x68) :   58.00 C     | (ok)
GB_TEMP6                     (0x69) :   54.45 C     | (ok)
GB_TEMP7                     (0x6A) :   56.09 C     | (ok)
GB_TEMP8                     (0x6B) :   57.45 C     | (ok)
GB_TEMP9                     (0x6C) :   56.91 C     | (ok)
GB_TEMP10                    (0x6D) :   55.82 C     | (ok)

unsupported fru id 3
pal_is_fru_prsnt failed for fru: fru3
pem2:
PEM2_IN_VOLT                 (0x2C) :   12.07 Volts | (ok)
PEM2_OUT_VOLT                (0x2D) :   12.06 Volts | (ok)
PEM2_FET_BAD                 (0x2E) :    0.00 Volts | (ok)
PEM2_FET_SHORT               (0x2F) :    0.00 Volts | (ok)
PEM2_CURR                    (0x30) :    0.00 Amps  | (ok)
PEM2_POWER                   (0x31) :    0.00 Watts | (ok)
PEM2_FAN1_SPEED              (0x32) : 7200.00 RPM   | (ok)
PEM2_FAN2_SPEED              (0x33) : 7200.00 RPM   | (ok)
PEM2_HOT_SWAP_TEMP           (0x34) :   26.71 C     | (ok)
PEM2_AIR_INLET_TEMP          (0x35) :   24.38 C     | (ok)
PEM2_AIR_OUTLET_TEMP         (0x36) :   26.42 C     | (ok)

psu1:
PSU1_IN_VOLT                 (0x1) :  221.50 Volts | (ok)
PSU1_12V_VOLT                (0x2) :   11.97 Volts | (ok)
PSU1_STBY_VOLT               (0x3) :    3.31 Volts | (ok)
PSU1_IN_CURR                 (0x4) :    1.46 Amps  | (ok)
PSU1_12V_CURR                (0x5) :   25.69 Amps  | (ok)
PSU1_STBY_CURR               (0x6) :    0.02 Amps  | (ok)
PSU1_IN_POWER                (0x7) :  323.00 Watts | (ok)
PSU1_12V_POWER               (0x8) :  302.00 Watts | (ok)
PSU1_STBY_POWER              (0x9) :    0.13 Watts | (ok)
PSU1_FAN_SPEED               (0xA) : 7592.00 RPM   | (ok)
PSU1_TEMP1                   (0xB) :   34.00 C     | (ok)
PSU1_TEMP2                   (0xC) :   37.00 C     | (ok)
PSU1_TEMP3                   (0xD) :   39.00 C     | (ok)

fan1:
FAN1_FRONT_SPEED             (0x40) : 3000.00 RPM   | (ok)
FAN1_REAR_SPEED              (0x41) : 3900.00 RPM   | (ok)

fan2:
FAN2_FRONT_SPEED             (0x42) : 3150.00 RPM   | (ok)
FAN2_REAR_SPEED              (0x43) : 3900.00 RPM   | (ok)

fan3:
FAN3_FRONT_SPEED             (0x44) : 3000.00 RPM   | (ok)
FAN3_REAR_SPEED              (0x45) : 3750.00 RPM   | (ok)

fan4:
FAN4_FRONT_SPEED             (0x46) : 3000.00 RPM   | (ok)
FAN4_REAR_SPEED              (0x47) : 3750.00 RPM   | (ok)

aggregate:
SYSTEM_AIRFLOW               (0x0) : NA | (na)

```

X-link: facebookexternal/openbmc.celestica#1357

Reviewed By: joancaneus

fbshipit-source-id: df442c0f007602b21e39d0d040a442878327b01c
  • Loading branch information
mikechoifb authored and facebook-github-bot committed Jun 3, 2022
1 parent ada4df5 commit ffd9a04
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 43 deletions.
Loading

0 comments on commit ffd9a04

Please sign in to comment.