<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Today, the support for UBI on BMC will be turned on for the Witherspoon platform. This support (that can be enabled on any system via the machine feature "obmc-ubi-fs”) allows for the storage of the BMC image files in UBI volumes and takes advantage of the 2nd BMC chip on the system to support dual images.<div class=""><br class=""></div><div class="">The method for updating the BMC are the same as updating the virtual PNOR where the BMC tarfile is uploaded to the BMC, followed by setting the RequestedActivation property to Active. After the activation is successful, the BMC can be rebooted.</div><div class=""><br class=""></div><div class="">The openbmc-sfw tool located here helps with the querying and updating process: <a href="https://github.com/geissonator/openbmc-events" class="">https://github.com/geissonator/openbmc-events</a></div><div class=""><br class=""></div><div class="">To move from the existing static layout for the first time, this script can be used (this will reformat the BMC chip clearing all user settings): <a href="https://gist.github.com/charleshofer/e753f88deff0c75eda196eb24877fa0c" class="">https://gist.github.com/charleshofer/e753f88deff0c75eda196eb24877fa0c</a></div><div class=""><br class=""></div><div class=""><div class="">I’ll be updating the docs/code-update.md file to reflect this change.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Aug 2, 2017, at 12:23 PM, Adriana Kobylak <<a href="mailto:anoo@linux.vnet.ibm.com" class="">anoo@linux.vnet.ibm.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">This week, the support for virtual pnor on witherspoon (which reformats the pnor chip to ubi) will be turned on.</div><div class="">REST interfaces and copying partition files for patching replace pflash for updating and patching the pnor.</div><div class=""><br class=""></div><div class="">Additional details of the implementation and instructions are documented here:</div><div class=""><a href="https://gerrit.openbmc-project.xyz/#/c/4756/" class="">https://gerrit.openbmc-project.xyz/#/c/4756/</a></div><div class=""><a href="https://gerrit.openbmc-project.xyz/#/c/5433/" class="">https://gerrit.openbmc-project.xyz/#/c/5433/</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On Jun 13, 2017, at 1:10 PM, Adriana Kobylak <<a href="mailto:anoo@linux.vnet.ibm.com" class="">anoo@linux.vnet.ibm.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">In the next coming days, the changes to the host bios update procedure will be available for use.<div class=""><br class=""></div><div class="">Notable changes are using a squashfs image that includes individual pnor partition files instead of the ffs (.pnor) image, formatting the pnor chip as ubi to store these files (allowing for the storage of more than one image), and mailbox daemon updates to support these changes (new phosphor-mboxd repo).</div><div class=""><br class=""></div><div class="">Regarding the mailbox daemon, the mboxbridge repository is staying as a reference implementation and has been cloned into phosphor-mboxd. Any system using mailbox and running with a flashed ffs pnor image (instead of updating to the ubi layout) would still need the reference mboxbridge implementation. The openbmc build is being updated to build phosphor-mboxd as the default.</div><div class=""><br class=""></div><div class="">A system can be updated transparently from running with an ffs pnor image to the squashfs image via the Software dbus interfaces. In a similar way, a system with a ubi-formatted pnor can be flashed with an ffs pnor image using pflash.</div><div class=""><br class=""></div><div class="">The first round of documentation updates are here: <a href="https://gerrit.openbmc-project.xyz/#/c/4756/" class="">https://gerrit.openbmc-project.xyz/#/c/4756/</a></div><div class="">Reviewers welcome :)</div></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>