fp5280g2: Add vpd configs
Add vpd configs for fp5280g2, by adding the following specific configs
for fp5280g2 to replace the default ones.
openpower-fru-inventory
openpower-fru-vpd-layout
Tested: Manually update eeprom and verified vpd information are
corrected on fp5280g2 via dbus and ipmitool commands.
(From meta-inspur rev: 65f5494753ac5d477fb96aa163c0a8f633aaa078)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I311082d53a1339960d17db2f501c5c619b965fb8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
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 901914c..19859fb 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
@@ -55,7 +55,7 @@
Value: false
3:
/system:
- entityID: 7
+ entityID: 6
entityInstance: 1
interfaces:
xyz.openbmc_project.Inventory.Decorator.Asset:
@@ -65,7 +65,7 @@
SerialNumber:
IPMIFruProperty: Serial Number
IPMIFruSection: Chassis
- /system/chassis/motherboard:
+ /system/chassis/motherboard/bmc:
entityID: 7
entityInstance: 1
interfaces:
@@ -534,3 +534,13 @@
PrettyName:
IPMIFruProperty: Name
IPMIFruSection: Product
+20:
+ /system/chassis/motherboard/bmc/ethernet:
+ entityID: 7
+ entityInstance: 2
+ interfaces:
+ xyz.openbmc_project.Inventory.Item.NetworkInterface:
+ MACAddress:
+ IPMIFruProperty: MACAddress
+ IPMIFruSection: Product
+ xyz.openbmc_project.Inventory.Item.Ethernet: