Bios upgrade from BMC

CS20 CTCchien CTCCHIEN at nuvoton.com
Mon Jan 20 18:12:56 AEDT 2020


Hi Vijay,



I try to upgrade BIOS from BMC, but I do not know how to set the mode of  ME/NM.

Can you share the process how you set ME/NM to recovery mode and operation mode?



Thanks.



B.R.

Medad

From: Vijay Khemka <vijaykhemka at fb.com<mailto:vijaykhemka at fb.com>>

To: OpenBMC Maillist <openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>>

Subject: Bios upgrade from BMC

Hi,
I am writing an application for Bios upgrade. Currently I have created a hook to our bmc updater which expects a systemd unit file to be run at the time of activating update. But I am thinking of adding some of this unit file functionality in updater itself and wanted to run by you all if it is common procedure used by every platform. Below are the process we use in our platform as a part of bios upgrade.


  1.  Power off host server.
  2.  Set ME/NM (Management engine or Node manager in x86) to recovery mode
  3.  Flip GPIO to access SPI flash used by host.
  4.  Bind spi driver to access flash
  5.  Flashcp image to device.
  6.  Unbind spi driver
  7.  Flip GPIO back for host to access SPI flash
  8.  Set ME/NM to operational mode
  9.  Power on server.

I can have some flexibility in this sequence based on each platform configuration. Looking forward to your suggestions.

Regards
-Vijay
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200120/79680d84/attachment.htm>


More information about the openbmc mailing list