All of lore.kernel.org
 help / color / mirror / Atom feed
* OpenBMC Image Management
@ 2017-01-25 22:15 Adriana Kobylak
  2017-01-25 23:50 ` Chris Austen
                   ` (4 more replies)
  0 siblings, 5 replies; 35+ messages in thread
From: Adriana Kobylak @ 2017-01-25 22:15 UTC (permalink / raw)
  To: openbmc

Hi,

Here is a first draft proposal for image management (code update) in OpenBMC for feedback.

General:
* Move to UBI volume management (on the BMC and PNOR chips), which provides dynamic partitioning and wear-leveling. In a limited flash space environment there might be the need to re-allocate partition space and resizing in a static partitioning implementation can be very painful.
* Use CRAMFS for read-only partitions, and UBIFS for read-write partitions.

PNOR:
* Implement a new mboxd based on Cyril’s (see Cyril’s email “Mailbox daemon”) that handles dbus objects, generates a virtual PNOR for UBI content, etc.
* Move to memory-based access instead of the current LPC-to-AHD path.
* Allocate just enough space in the initial window for Hostboot’s TOC, HBB, and HBI partitions, grow as required.
* Ability to ‘patch’ by copying a Hostboot image *.bin into a designated directory (/usr/local/ for example).
* Tool to write from PNOR image to BMC format. Implement UBI initially but it could be extended to support different volume managements on other BMCs.

BMC:
*Save multiple firmware versions, starting with 2, to provide the ability to roll-back if needed. If single BMC chip system, save both versions there. If two BMC chip system, save other version in 2nd chip.
* Implement various levels of ‘persistency’, such as dev, factory, field. Dev persistency would allow for local patches (/usr/local/ for example) that can be cleared before shipping to customers. Factory mode could delete the location where user data such as network settings resides but preserves the mac address and uuid for example. Etc.

Thanks,

Adriana

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2017-09-21 20:42 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 22:15 OpenBMC Image Management Adriana Kobylak
2017-01-25 23:50 ` Chris Austen
2017-01-27  3:07   ` Patrick Williams
2017-01-30  5:47     ` Stewart Smith
2017-01-31 18:16       ` Patrick Williams
2017-01-31 18:33         ` Rick Altherr
2017-06-13 18:10           ` Adriana Kobylak
2017-06-13 21:45             ` Stewart Smith
2017-06-18 19:48               ` Adriana Kobylak
2017-06-19  5:44                 ` Stewart Smith
2017-06-20 14:38                   ` Adriana Kobylak
2017-06-20 15:03                     ` Chris Austen
2017-07-11  0:53                       ` Adriana Kobylak
2017-06-21  5:42                     ` Stewart Smith
2017-07-11  1:47                       ` Adriana Kobylak
2017-07-11 21:47                         ` Stewart Smith
2017-08-02 18:04                           ` Adriana Kobylak
2017-08-02 17:23             ` OpenBMC Image Management - Witherspoon Adriana Kobylak
2017-08-03  0:19               ` Stewart Smith
2017-08-03  1:53               ` Andrew Geissler
2017-09-21 20:40               ` Adriana Kobylak
2017-01-26 10:43 ` OpenBMC Image Management Anton D. Kachalov
2017-01-26 15:33   ` Adriana Kobylak
2017-01-26 21:38     ` Rick Altherr
2017-01-30  5:50     ` Stewart Smith
2017-01-30  5:51   ` Stewart Smith
2017-01-30  5:54 ` Stewart Smith
2017-01-30  5:55 ` Stewart Smith
2017-06-16 22:18 ` Maxim Sloyko
2017-06-20 14:34   ` Adriana Kobylak
2017-08-02 17:15   ` Adriana Kobylak
2017-08-03  0:14     ` Benjamin Herrenschmidt
2017-08-03  5:55       ` Patrick Williams
     [not found]       ` <20170803055546.A99FA112040@b01ledav004.gho.pok.ibm.com>
2017-08-03  5:59         ` Benjamin Herrenschmidt
2017-08-07 22:02         ` Milton Miller II

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.