forked from openbmc/openbmc
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-ampere: mtjade: flash: fix EDKII flashing sometime fail
Issue: Users can not flash EDKII when request to flash SCP before. Steps to reproduce this issue as below: 1. Request to flash SCP via Redfish. 2. Sleep 120s, when CPU is booting (did not jump to OS) 3. Request to flash EDKII via Redfish. 4. HOST is turned off, EDKII is not updated. Root cause: Before EDKII is updated, BMC turns off the HOST and waits 10s. After that, BMC checks the chassis status, if it still is "On", BMC stops flashing and did not turn on the HOST. But during HOST is booting, BMC needs more time to turn off the HOST, therefore waiting for 10s is not enough. Solution: increase waiting time to 60s, BMC checks the chassis status each 10s. Tested: 1. Repeat step 1 -> 3 in "Issue" part. CPU is turned on after flashing is completed. 2. In the CPU console, check the EDKII version dmidecode -t 0 3. New EDKII is updated Signed-off-by: Thang Tran <[email protected]>
- Loading branch information
1 parent
b7a57aa
commit 9eb1d10
Showing
2 changed files
with
49 additions
and
30 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