[PATCH skeleton v2] Add IO Board VPD handling

OpenBMC Patches openbmc-patches at stwcx.xyz
Thu Jun 30 01:30:57 AEST 2016


From: Adriana Kobylak <anoo at us.ibm.com>

Add argument to phosphor-read-eeprom to add additional handling
for reading the IO Board VPD.
Remove Product and Chassis area for IO vpd, since only board exists.

Signed-off-by: Adriana Kobylak <anoo at us.ibm.com>
---
 configs/Barreleye.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/Barreleye.py b/configs/Barreleye.py
index 7b74179..863bc9b 100644
--- a/configs/Barreleye.py
+++ b/configs/Barreleye.py
@@ -202,7 +202,7 @@ APPS = {
 		'start_process'   : True,
 		'monitor_process' : False,
 		'process_name'    : 'phosphor-read-eeprom',
-		'args'            : ['--eeprom','/sys/bus/i2c/devices/0-0050/eeprom','--fruid','64'],
+		'args'            : ['--eeprom','/sys/bus/i2c/devices/0-0050/eeprom','--fruid','64','--iob'],
 	},
 	'motherboard_vpd' : {
 		'system_state'    : 'BMC_STARTING2',
@@ -405,8 +405,6 @@ ID_LOOKUP = {
 		'PRODUCT_0'  : '<inventory_root>/system/bios',
 		'BOARD_3'    : '<inventory_root>/system/misc',
 		'PRODUCT_51' : '<inventory_root>/system/misc',
-		'PRODUCT_100': '<inventory_root>/system',
-		'CHASSIS_100': '<inventory_root>/system/chassis',
 		'BOARD_100'  : '<inventory_root>/system/chassis/io_board',
 		'BOARD_101'  : '<inventory_root>/system/chassis/sas_expander',
 		'BOARD_102'  : '<inventory_root>/system/chassis/hdd_backplane',
-- 
2.9.0




More information about the openbmc mailing list