<feed xmlns='http://www.w3.org/2005/Atom'>
<title>phosphor-bmc-code-mgmt/static, branch master</title>
<subtitle>OpenBMC Phosphor BMC code version management sources</subtitle>
<id>https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/'/>
<updated>2018-09-11T16:25:54+00:00</updated>
<entry>
<title>clang-format: Update to match docs repo</title>
<updated>2018-09-11T16:25:54+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2018-09-07T18:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=b0ce996ac60cf80487d71c3cdb7165d065079377'/>
<id>urn:sha1:b0ce996ac60cf80487d71c3cdb7165d065079377</id>
<content type='text'>
Update the .clang-format file.
Now includes header sorting and updating PointerAlignment.

Change-Id: I5c7690d8d83cdebe26ff3a73b90a2a8c17dd8054
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Clang 6 updates</title>
<updated>2018-09-07T19:52:40+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2018-09-04T15:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=fa34e02315bd1397180daaa3377bcb38d7f30d7a'/>
<id>urn:sha1:fa34e02315bd1397180daaa3377bcb38d7f30d7a</id>
<content type='text'>
Just some minor fixes.

Change-Id: I000c456e51c62220d7a5fed8100cfc6c13ef9551
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>static layout: Support field mode</title>
<updated>2018-08-30T03:03:05+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-08-27T06:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=76c79df3fca0842ec9dd38f9627913cf5c64001e'/>
<id>urn:sha1:76c79df3fca0842ec9dd38f9627913cf5c64001e</id>
<content type='text'>
Enable support for field mode, which sets "fieldmode=true" in u-boot
env.

Tested: Verify field mode is enabled via REST API, and verify it is
        still enabled after BMC reboot.

Change-Id: I9ff01a51260d1f08021e0ba7ade16fd48c8bb24e
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>static layout: support factory reset</title>
<updated>2018-08-20T06:33:27+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-07-19T07:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=28b2ba4a2dc75d56d9a52686b67d752b735cd260'/>
<id>urn:sha1:28b2ba4a2dc75d56d9a52686b67d752b735cd260</id>
<content type='text'>
Implement factory reset for static flash layout, that starts
obmc-flash-bmc-setenv to set factory-reset u-boot env and let
init to do the cleanup.

Tested: Invoke factory reset on /xyz/openbmc_project/software and verify
        everything in rwfs is deleted, and after reboot, the BMC acts
        like a fresh new one.

Change-Id: I20e361519af6c3c12703315070debabd8cf88060
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use separated images for fixed flash layout</title>
<updated>2018-07-26T05:13:47+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-07-17T09:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=dd691576c829350dd9718909be6a36de70a42e27'/>
<id>urn:sha1:dd691576c829350dd9718909be6a36de70a42e27</id>
<content type='text'>
For fixed flash layout code update, it was using the whole image-bmc.
For future features like image verification during boot, it needs to use
separated images and separated keys.

So change the image-bmc to separated images.

Change-Id: I6cc56f82c786125bb4386af5ea1d931afed7901d
Tested: Do code update on Romulus without issue.
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move setting the priority U-Boot variable to ubi</title>
<updated>2018-07-19T13:08:50+00:00</updated>
<author>
<name>Adriana Kobylak</name>
<email>anoo@us.ibm.com</email>
</author>
<published>2018-07-17T20:47:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=bbcb7be18c21da6c5d82be7f744b777aea610f24'/>
<id>urn:sha1:bbcb7be18c21da6c5d82be7f744b777aea610f24</id>
<content type='text'>
The service that sets the priority value is unique to the ubi
layout because there is only one version at a time on the
static layout.
Move the calling of the service to the ubi implementation.

Tested:
- Witherspoon: Priorities are still set.
- Romulus: The BMC.Updater app does not core dump with the
latest sdbusplus changes due to calling a non-existent service.

Change-Id: Ica1c68f00d5cb43c51ee09c5a3851613edf941d5
Signed-off-by: Adriana Kobylak &lt;anoo@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>item_updater: sort ubi specific code</title>
<updated>2018-07-17T01:45:16+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-06-21T08:09:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=56aaf454adef04bd4c1d45870cd86dc2de0a880a'/>
<id>urn:sha1:56aaf454adef04bd4c1d45870cd86dc2de0a880a</id>
<content type='text'>
Add item_updater_helper and implement it in ubi and static layouts.

Tested: Build this repo on both Romulus and Witherspoon OK;
        Tested on Romulus and Witherspoon that code update works fine.

Change-Id: I706cfe63900f89bb41672dcc745b3483e06838c7
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Refactor of bmcImages</title>
<updated>2018-07-17T01:45:16+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-06-20T03:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=1be8d500a8e90f9299bab9abf532ff0762177175'/>
<id>urn:sha1:1be8d500a8e90f9299bab9abf532ff0762177175</id>
<content type='text'>
bmcImages were in image_verify.hpp but it is used not only in image
verification, but elsewhere.

Move it into a more generic header file, images.hpp, so it makes more
clear that users of bmcImages include images.hpp instead of
image_verify.hpp

Tested: Verify the code pass the build.

Change-Id: If9adf315eee9047d9d08ab93ed7c0ff3c97f7a1e
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Support non-ubifs layout</title>
<updated>2018-07-17T01:45:16+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2018-05-23T03:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/phosphor-bmc-code-mgmt/commit/?id=a7853ee8d0d6331c150b8341df1d0b417a1bd467'/>
<id>urn:sha1:a7853ee8d0d6331c150b8341df1d0b417a1bd467</id>
<content type='text'>
Add ubifs_layout as config argument, so a build could select if it
needs ubifs_layout feature or not.

Add code to update non-ubifs layout image by
1. Putting the bmc image in /run/initramfs;
2. Set its state as Active when it is ready to update
3. Let user to initiate the reboot request

Tested: Generate a tarball with Romulus bmc image and manifest,
        update it with REST API (image upload, activation, and reboot)
        Verify the code update works well in WebUI.

Change-Id: I5b122211fafb7cb9d96ee67317db139ed0b7d0a7
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
</feed>
