<html><body><p><img width="16" height="16" src="cid:1__=8FBB0F8FDFA278DE8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for www ---28-02-2020 13:27:48---hiŁ¬ How to get the update progress when BMC is flashing. It can be dis"><font size="2" color="#424282">www ---28-02-2020 13:27:48---hiŁ¬ How to get the update progress when BMC is flashing. It can be displayed on webui.</font><br><br><font size="2" color="#5F5F5F">From: </font><font size="2">www <ouyangxuan10@163.com></font><br><font size="2" color="#5F5F5F">To: </font><font size="2">openbmc@lists.ozlabs.org</font><br><font size="2" color="#5F5F5F">Date: </font><font size="2">28-02-2020 13:27</font><br><font size="2" color="#5F5F5F">Subject: </font><font size="2">[EXTERNAL] [OpenBMC]: How to get the update progress when flashing BMC firmware?</font><br><font size="2" color="#5F5F5F">Sent by: </font><font size="2">"openbmc" <openbmc-bounces+gkeishin=in.ibm.com@lists.ozlabs.org></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><font face="Arial">hiŁ¬</font><br><br><font face="Arial">How to get the update progress when BMC is flashing. It can be displayed on webui.</font><br><br><font face="Arial">thanks,</font><br><font face="Arial">Byron</font><br><br><br>------------------------------------------<br><br><br><font size="2" face="Century Gothic">Byron,</font><br><br><b><font size="2" face="Century Gothic">From webUI</font></b><br><b><font size="2" face="Century Gothic"> you should see the update status </font></b><a href="https://xx.xx.xx.xx/#/configuration/firmware"><b><font size="2" face="Century Gothic">https://xx.xx.xx.xx/#/configuration/firmware</font></b></a><b><font size="2" face="Century Gothic"> page</font></b><br><br><b><font size="2" face="Century Gothic">From REST, </font></b><br><br><b><font size="2" face="Century Gothic"> Do REST GET of /redfish/v1/UpdateService/FirmwareInventory/14fd4427</font></b><br><i><font size="2" face="Century Gothic">status:</font></i><br><i><font size="2" face="Century Gothic"> [Health]: OK</font></i><br><i><font size="2" face="Century Gothic"> [HealthRollup]: OK</font></i><br><i><font size="2" face="Century Gothic"> [State]: Updating</font></i><br><font size="2" face="Century Gothic"> </font><br><font size="2" face="Century Gothic">Where </font><b><font size="2" face="Century Gothic">14fd4427</font></b><font size="2" face="Century Gothic">is the image id which you are activating, you'll can use the state progress which will tell if update is in progress. </font><br><br><b><font size="2" face="Century Gothic"> or Alternately, do REST GET request /xyz/openbmc_project/software/14fd4427</font></b><br><br><i><font size="2" face="Century Gothic">Response code:200, Content:{</font></i><br><i><font size="2" face="Century Gothic"> "data": {</font></i><br><i><font size="2" face="Century Gothic"> "Activation": "xyz.openbmc_project.Software.Activation.Activations.Activating",</font></i><br><i><font size="2" face="Century Gothic"> "Associations": [</font></i><br><i><font size="2" face="Century Gothic"> [</font></i><br><i><font size="2" face="Century Gothic"> "inventory",</font></i><br><i><font size="2" face="Century Gothic"> "activation",</font></i><br><i><font size="2" face="Century Gothic"> ""</font></i><br><i><font size="2" face="Century Gothic"> ]</font></i><br><i><font size="2" face="Century Gothic"> ],</font></i><br><i><font size="2" face="Century Gothic"> "Path": "/tmp/images/14fd4427",</font></i><br><i><font size="2" face="Century Gothic"> "Progress": 30,</font></i><br><i><font size="2" face="Century Gothic"> "Purpose": "xyz.openbmc_project.Software.Version.VersionPurpose.BMC",</font></i><br><i><font size="2" face="Century Gothic"> "RequestedActivation": "xyz.openbmc_project.Software.Activation.RequestedActivations.Active",</font></i><br><i><font size="2" face="Century Gothic"> "Version": "2.8.0-dev-1283-g30989759c"</font></i><br><i><font size="2" face="Century Gothic"> },</font></i><br><i><font size="2" face="Century Gothic"> "message": "200 OK",</font></i><br><i><font size="2" face="Century Gothic"> "status": "ok"</font></i><br><i><font size="2" face="Century Gothic">}</font></i><br><br><br><br><b><font size="2" color="#0000FF">Thanks and Regards,</font></b><br><font size="2" color="#0000FF"> George Keishing</font><br>
<p>
<p><p><BR>
</body></html>