Skip to content

Code Update

Adriana Kobylak edited this page Jun 13, 2022 · 2 revisions

How to Update

Reference:

Web UI Method

  • Utilize the web UI: https://<bmc_ip>
  • Menu: Operations -> Firmware

Redfish Method

BMC Command Line Method

  1. Set the /tmp/images/ directory to be writable. From the BMC command line, run:
chown -R root:wheel /tmp/images && chmod -R ug+w /tmp/images
  1. Use scp to copy the tar image to the BMC /tmp/images/ directory. From an external linux computer, run:
scp <tar_image_file> service@<bmc_ip>:/tmp/images/
  1. To find the generated version id (8-character string), from the BMC command line, run:
ls /tmp/images/
  1. Replace <version_id> with the output from the previous step, from the BMC command line, run:
busctl set-property xyz.openbmc_project.Software.BMC.Updater \
  /xyz/openbmc_project/software/<version_id> \
  xyz.openbmc_project.Software.Activation RequestedActivation s \
  xyz.openbmc_project.Software.Activation.RequestedActivations.Active
  1. Wait for the update to finish and reboot the BMC.
Clone this wiki locally