From 7115655a04bde87085438422448686bea8cd0fcd Mon Sep 17 00:00:00 2001 From: Santosh Puranik Date: Fri, 20 Mar 2020 21:11:30 +0530 Subject: Fix Inventory File For Tacoma This commit fixes the inventory file used by openpower-vpd-parser on Tacoma. Changes include: * Fix the EEPROM path used to point to the right I2C bus. * Fix the FRUs and OBJECTs that the file contains. Tested: Made sure that the right inventory file makes it to the image. (From meta-ibm rev: f591790414025f25947b2327021e86d4d70709ab) Signed-off-by: Santosh Puranik Change-Id: I20852c9cc2aa6875673925c7588b335dc2ee29d0 Signed-off-by: Andrew Geissler --- .../recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-ibm/meta-witherspoon') diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend b/meta-ibm/meta-witherspoon/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend index 3fc3d487eb..6c0cbeba97 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/vpd/openpower-fru-vpd_%.bbappend @@ -7,3 +7,11 @@ do_install_append_swift() { DEST=${D}${inventory_envdir} printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0051/eeprom" >> ${DEST}/inventory } + +do_install_append_witherspoon-tacoma() { + DEST=${D}${inventory_envdir} + printf "FRUS=BMC,ETHERNET" > ${DEST}/inventory + printf "\nPATHS=/system/chassis/motherboard/bmc,/system/chassis/motherboard/bmc/eth0" >> ${DEST}/inventory + printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0051/eeprom" >> ${DEST}/inventory +} + -- cgit v1.2.3