diff options
| author | Gunnar Mills <gmills@us.ibm.com> | 2017-11-15 16:31:20 -0600 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2017-12-04 16:57:28 -0600 |
| commit | 9f774d295c47aaf1592857bbc54eb6b403c178e6 (patch) | |
| tree | 8bc6fa5c4e3b11a495f15689d8812105fe7bb284 | |
| parent | 97ffabc1c65b98945348dd08ac686190a66a83a7 (diff) | |
| download | openbmc-docs-9f774d295c47aaf1592857bbc54eb6b403c178e6.tar.gz openbmc-docs-9f774d295c47aaf1592857bbc54eb6b403c178e6.zip | |
Add information about the MANIFEST file
Added information about the MANIFEST file and what is included in
the UBI BMC image tar. Also, added information about the
implementation.
Change-Id: I7abc34a13b74f22d647531b0ad9241503594d816
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
| -rw-r--r-- | ubi-code-update.md | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ubi-code-update.md b/ubi-code-update.md index aa1a9e2..b1c694f 100644 --- a/ubi-code-update.md +++ b/ubi-code-update.md @@ -10,12 +10,21 @@ Two BMC Code Updates layouts are available: This document describes the UBI code update. The non-UBI code update can be found here: https://github.com/openbmc/docs/blob/master/code-update.md#openbmc--host-code-update +### Steps to Update + The following are the steps to update the BMC if the UBI layout is enabled. 1. Get a UBI BMC image tar: After building OpenBMC, you will end up with a set of image files in `tmp/deploy/images/<platform>/`. `obmc-phosphor-image-<platform>.ubi.mtd.tar` is -the UBI BMC tar image. +the UBI BMC tar image. The UBI BMC tar image contains 5 files: u-boot, +kernel, ro, and rw partitions and the MANIFEST file, which contains information +about the image such as the image purpose and version. A MANIFEST file might +look like +``` +purpose=xyz.openbmc_project.Software.Version.VersionPurpose.BMC +version=v1.99.10 +``` 2. Transfer the generated UBI BMC image to the BMC via one of the following methods: @@ -102,3 +111,8 @@ via one of the following: curl -b cjar -k https://bmc/xyz/openbmc_project/software/<id>/attr/Progress ``` +### Implementation + +More information about the implementation of the UBI code update can be found at +https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Software +and https://github.com/openbmc/phosphor-bmc-code-mgmt |

