diff options
author | George Liu <liuxiwei@inspur.com> | 2021-11-11 11:07:28 +0300 |
---|---|---|
committer | George Liu <liuxiwei@inspur.com> | 2021-11-16 12:38:15 +0300 |
commit | c43bbaf4e29ed96ff71d6133e515ed3a070144f8 (patch) | |
tree | 20d54aa41e459f3a514424800413b8c7fbc8ef90 | |
parent | c0e3dc01a72ad1388e961e29c4da2e08e60153f3 (diff) | |
download | openbmc-c43bbaf4e29ed96ff71d6133e515ed3a070144f8.tar.xz |
meta-inspur: fp5280g2: Add FRU information for Powersupply
Add the fru YAML configuration of Power Supply for fp5280g2.
Tested:
ipmitool -I lanplus -H ${IP} -U root -P 0penBmc -C 17 fru list
FRU Device Description : Builtin FRU Device (ID 0)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Serial : 000000000000
Board Part Number : 0000000
FRU Device Description : cpu0 (ID 1)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Mfg : IBM
Board Product : PROCESSOR MODULE
Board Serial : YA1934426664
Board Part Number : 02CY296
FRU Device Description : dimm2 (ID 5)
Product Manufacturer : Samsung Electronics
Product Name : DDR4-2666 16GiB 64-bit ECC RDIMM
Product Part Number : M393A2K43BB1-CTD
Product Serial : 367f4c9d
FRU Device Description : powersupply0 (ID 20)
Product Name : powersupply0
Product Part Number : PS-2801-12L
Product Serial : 6K12A0118446MM
FRU Device Description : powersupply1 (ID 21)
Product Name : powersupply1
Product Part Number : PS-2801-12L
Product Serial : 6K12A0118362NS
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I04b45f5839f991f98b3f628db2246d4dced804c8
2 files changed, 72 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru-properties.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru-properties.yaml index a4eab8a6d..7fbd3b100 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru-properties.yaml +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru-properties.yaml @@ -138,3 +138,17 @@ FieldReplaceable: 'true' xyz.openbmc_project.Inventory.Item: Present: 'true' +/system/chassis/motherboard/powersupply0: + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true' +/system/chassis/motherboard/powersupply1: + xyz.openbmc_project.Inventory.Decorator.Cacheable: + Cached: 'true' + xyz.openbmc_project.Inventory.Decorator.Replaceable: + FieldReplaceable: 'true' + xyz.openbmc_project.Inventory.Item: + Present: 'true'
\ No newline at end of file diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru.yaml b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru.yaml index 034186471..feea6302e 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru.yaml +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/configuration/fp5280g2-yaml-config/fp5280g2-ipmi-fru.yaml @@ -593,3 +593,61 @@ IPMIFruProperty: MACAddress IPMIFruSection: Product xyz.openbmc_project.Inventory.Item.Ethernet: +20: + /system/chassis/motherboard/powersupply0: + entityID: 19 + entityInstance: 1 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.PowerSupply: +21: + /system/chassis/motherboard/powersupply1: + entityID: 19 + entityInstance: 2 + interfaces: + xyz.openbmc_project.Inventory.Decorator.Asset: + BuildDate: + IPMIFruProperty: Mfg Date + IPMIFruSection: Product + Manufacturer: + IPMIFruProperty: Manufacturer + IPMIFruSection: Product + Model: + IPMIFruProperty: Model Number + IPMIFruSection: Product + PartNumber: + IPMIFruProperty: Part Number + IPMIFruSection: Product + SerialNumber: + IPMIFruProperty: Serial Number + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Decorator.Revision: + Version: + IPMIFruProperty: Version + xyz.openbmc_project.Inventory.Item: + PrettyName: + IPMIFruProperty: Name + IPMIFruSection: Product + xyz.openbmc_project.Inventory.Item.PowerSupply: |