[PATCH skeleton] Add BMC Flash dbus object to Palmetto

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Apr 30 03:30:55 AEST 2016


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

Add the BMC Flash dbus object to Palmetto.py to expose interfaces
to flash the BMC. Without it, there are no interfaces to flash BMC
from REST. This change is already in Barreleye, just porting to Palmetto.
---
 bin/Palmetto.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/bin/Palmetto.py b/bin/Palmetto.py
index 7172364..512a2ca 100755
--- a/bin/Palmetto.py
+++ b/bin/Palmetto.py
@@ -123,6 +123,12 @@ APPS = {
 		'monitor_process' : True,
 		'process_name'    : 'flash_bios.exe',
 	},
+	'bmc_flash_control' : {
+		'system_state'    : 'BMC_STARTING',
+		'start_process'   : True,
+		'monitor_process' : True,
+		'process_name'    : 'bmc_update.py',
+	},
 	'download_manager' : {
 		'system_state'    : 'BMC_STARTING',
 		'start_process'   : True,
-- 
2.8.1




More information about the openbmc mailing list