Skip to content

Commit

Permalink
Initial config for minipack3n weutil (#306)
Browse files Browse the repository at this point in the history
Summary:
**Description**
Add `weutil.json` for the minipack3n weutil.
This configuration has been tested on minipack3.

Pull Request resolved: #306

Test Plan:
- run weutil -config_file ./weutil.json: CHASSIS eeprom is displayed properly.
- run weutil -config_file ./weutil.json -list: Each FRU eeprom path and offset are displayed properly.
- run weutil -config_file ./weutil.json -eeprom FRU_NAME: The EEPROM data of the specified FRU is displayed properly.
- run weutil -config_file ./weutil.json -eeprom FRU_NAME -json: The EEPROM data of the specified FRU is displayed in JSON format properly.

[minipack3n-weutil_execute_on_mp3_log_20241212.txt](https://github.com/user-attachments/files/18193631/minipack3n-weutil_execute_on_mp3_log_20241212.txt)

Reviewed By: kimdo8736

Differential Revision: D67324047

Pulled By: somasun

fbshipit-source-id: 96f67390ff98ced5ddd469e094f2ad221be6ff1f
  • Loading branch information
brandonchuang authored and facebook-github-bot committed Dec 20, 2024
1 parent adaf259 commit 68b49ee
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions fboss/platform/configs/minipack3n/weutil.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"chassisEepromName": "CHASSIS",
"fruEepromList": {
"MCB": {
"path": "/run/devmap/eeproms/MCB_EEPROM"
},
"COME": {
"path": "/run/devmap/eeproms/COME_EEPROM"
},
"SCM": {
"path": "/run/devmap/eeproms/SCM_EEPROM"
},
"RUNBMC": {
"path": "/run/devmap/eeproms/RUNBMC_EEPROM"
},
"PSU1": {
"path": "/run/devmap/eeproms/PSU1_EEPROM"
},
"PSU2": {
"path": "/run/devmap/eeproms/PSU2_EEPROM"
},
"PDB_L": {
"path": "/run/devmap/eeproms/PDB_L_EEPROM"
},
"PDB_R": {
"path": "/run/devmap/eeproms/PDB_R_EEPROM"
},
"SMB": {
"path": "/run/devmap/eeproms/SMB_EEPROM"
},
"FCB_B": {
"path": "/run/devmap/eeproms/FCB_B_EEPROM"
},
"FCB_T": {
"path": "/run/devmap/eeproms/FCB_T_EEPROM"
},
"CHASSIS": {
"path": "/run/devmap/eeproms/CHASSIS_EEPROM"
},
"3V3_L": {
"path": "/run/devmap/eeproms/3V3_L_EEPROM"
},
"3V3_R": {
"path": "/run/devmap/eeproms/3V3_R_EEPROM"
}
}
}

0 comments on commit 68b49ee

Please sign in to comment.