-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BMC FW image flash test according to OpenBMC Implementation.
OpenBMC just does a no operation when updating a code level of 'X' on a system which is having already code level 'X'. So we need to follow below procedure to have all scenarios. 1. User requested for flashing image ID 'X' 2. Upload the BMC image. 3. Get the list of BMC image ID's. 4. If 'X' is found in the list ---> check if it is Active or Ready if it is Ready ---> Activate the image and do a BMC reboot if it is already Active ---> Check whether it is functional(BMC boot side is 'X') or not. if it is functional ---> return if it is non functional ---> Set it's priority to 0, do a BMC reboot and make it functional 5. At the end verify whether BMC boots in right code which we requested for flash. The idea is to do a no op when updating code 'X' on having system which also has level of 'X' Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
- Loading branch information
1 parent
7ddc7cc
commit 58e5ef5
Showing
2 changed files
with
95 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters