meta-inspur: fp5280g2: Update fru ID
Generally we will set the fruID of the board to 0.
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
...
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I3912636105310855e59810cbc1fab4a4cad53a1b
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 7fc2d15..0341864 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
@@ -1,3 +1,67 @@
+0:
+ /system:
+ entityID: 6
+ 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.System:
+ /system/chassis/motherboard/bmc:
+ entityID: 7
+ entityInstance: 1
+ interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ BuildDate:
+ IPMIFruProperty: Mfg Date
+ IPMIFruSection: Board
+ Manufacturer:
+ IPMIFruProperty: Manufacturer
+ IPMIFruSection: Board
+ PartNumber:
+ IPMIFruProperty: Part Number
+ IPMIFruSection: Board
+ SerialNumber:
+ IPMIFruProperty: Serial Number
+ IPMIFruSection: Board
+ xyz.openbmc_project.Inventory.Item:
+ PrettyName:
+ IPMIFruProperty: Name
+ IPMIFruSection: Board
+ /system/chassis:
+ entityID: 7
+ entityInstance: 2
+ interfaces:
+ xyz.openbmc_project.Inventory.Decorator.Asset:
+ SerialNumber:
+ IPMIFruProperty: Serial Number
+ IPMIFruSection: Chassis
+ PartNumber:
+ IPMIFruProperty: Model Number
+ IPMIFruSection: Chassis
+ Model:
+ IPMIFruProperty: Type
+ IPMIFruSection: Chassis
1:
/system/chassis/motherboard/cpu0:
entityID: 3
@@ -56,56 +120,6 @@
Value: false
xyz.openbmc_project.Inventory.Item.Cpu:
3:
- /system:
- entityID: 6
- 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.System:
- /system/chassis/motherboard/bmc:
- entityID: 7
- entityInstance: 1
- interfaces:
- xyz.openbmc_project.Inventory.Decorator.Asset:
- BuildDate:
- IPMIFruProperty: Mfg Date
- IPMIFruSection: Board
- Manufacturer:
- IPMIFruProperty: Manufacturer
- IPMIFruSection: Board
- PartNumber:
- IPMIFruProperty: Part Number
- IPMIFruSection: Board
- SerialNumber:
- IPMIFruProperty: Serial Number
- IPMIFruSection: Board
- xyz.openbmc_project.Inventory.Item:
- PrettyName:
- IPMIFruProperty: Name
- IPMIFruSection: Board
-4:
/system/chassis/motherboard/dimm0:
entityID: 32
entityInstance: 1
@@ -134,7 +148,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-5:
+4:
/system/chassis/motherboard/dimm1:
entityID: 32
entityInstance: 2
@@ -163,7 +177,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-6:
+5:
/system/chassis/motherboard/dimm2:
entityID: 32
entityInstance: 3
@@ -192,7 +206,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-7:
+6:
/system/chassis/motherboard/dimm3:
entityID: 32
entityInstance: 4
@@ -221,7 +235,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-8:
+7:
/system/chassis/motherboard/dimm4:
entityID: 32
entityInstance: 5
@@ -250,7 +264,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-9:
+8:
/system/chassis/motherboard/dimm5:
entityID: 32
entityInstance: 6
@@ -279,7 +293,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-10:
+9:
/system/chassis/motherboard/dimm6:
entityID: 32
entityInstance: 7
@@ -308,7 +322,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-11:
+10:
/system/chassis/motherboard/dimm7:
entityID: 32
entityInstance: 8
@@ -337,7 +351,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-12:
+11:
/system/chassis/motherboard/dimm8:
entityID: 32
entityInstance: 9
@@ -366,7 +380,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-13:
+12:
/system/chassis/motherboard/dimm9:
entityID: 32
entityInstance: 10
@@ -395,7 +409,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-14:
+13:
/system/chassis/motherboard/dimm10:
entityID: 32
entityInstance: 11
@@ -424,7 +438,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-15:
+14:
/system/chassis/motherboard/dimm11:
entityID: 32
entityInstance: 12
@@ -453,7 +467,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-16:
+15:
/system/chassis/motherboard/dimm12:
entityID: 32
entityInstance: 13
@@ -482,7 +496,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-17:
+16:
/system/chassis/motherboard/dimm13:
entityID: 32
entityInstance: 14
@@ -511,7 +525,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-18:
+17:
/system/chassis/motherboard/dimm14:
entityID: 32
entityInstance: 15
@@ -540,7 +554,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-19:
+18:
/system/chassis/motherboard/dimm15:
entityID: 32
entityInstance: 16
@@ -569,7 +583,7 @@
IPMIFruProperty: Name
IPMIFruSection: Product
xyz.openbmc_project.Inventory.Item.Dimm:
-20:
+19:
/system/chassis/motherboard/bmc/ethernet:
entityID: 7
entityInstance: 2