[PATCH skeleton v2 0/3] Flash bmc updates

OpenBMC Patches openbmc-patches at stwcx.xyz
Fri Jul 1 09:30:52 AEST 2016


These are the initial two patches to the BMC flash update REST code that will increase reliability and make utility of the update process.  These are in preparation to address openbmc/openbmc#293.

1. The u-boot environment was copying the raw flash for update, which would interfere with actually applying a mac address via rest and with setting or clearing the one-time boot overrides.

2. Prepare for the whitelist to be split, and do not error if the whitelist was previously removed.  The old behavior would cause an error state if the whitelist had been removed by a previous update application in the current boot.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/skeleton/111)
<!-- Reviewable:end -->


https://github.com/openbmc/skeleton/pull/111

Milton Miller (3):
  bmc_update: save runtime modified u-boot environment
  bmc_update: allow whitelist to be files in a directory
  flash_bmc: Add Apply method to flash updates from runtime

 pyflashbmc/bmc_update.py | 189 ++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 177 insertions(+), 12 deletions(-)

-- 
2.9.0




More information about the openbmc mailing list