History log of /openbmc/phosphor-ipmi-flash/util.hpp (Results 1 – 9 of 9)
Revision Date Author Comments
# 328f520f 16-Mar-2021 Jie Yang <jjy@google.com>

tools/handler: Read the running version

A host tool would read the running firmware version through polling the
version blob state.

Signed-off-by: Jie Yang <jjy@google.com>

tools/handler: Read the running version

A host tool would read the running firmware version through polling the
version blob state.

Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I0d68fff6527cd52360abee1cb225a8f228d68392

show more ...


# 4857ab46 21-Jan-2021 William A. Kennington III <wak@google.com>

util: Fix missing header

Change-Id: Ie4b02a8626195f3147305b6934b763a2090a5f04
Signed-off-by: William A. Kennington III <wak@google.com>


# b45eb5ee 23-Dec-2020 William A. Kennington III <wak@google.com>

version-handler: Refactor maps to simplify accesses

This reduces the number of map lookups needed for read() and close()
operations and the number of stored strings by referencing the pi

version-handler: Refactor maps to simplify accesses

This reduces the number of map lookups needed for read() and close()
operations and the number of stored strings by referencing the pinned
blobId.

Change-Id: I8c6af5749b8cc8415eedeba484bf4a39a98f0286
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# ede9c9f6 30-Sep-2020 Patrick Venture <venture@google.com>

util: use constexpr string instead of string objects

This handles an initialization order issue found with address
santization testing.

Signed-off-by: Patrick Venture <venture@g

util: use constexpr string instead of string objects

This handles an initialization order issue found with address
santization testing.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I7b3b6e980e378855e8bda8209dba18c20b67a000

show more ...


# 7c2a00e0 01-Jul-2019 Patrick Venture <venture@google.com>

build: add option --enable-host-bios

Add option to enable building in support for the host bios.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I324fc071f07cd364

build: add option --enable-host-bios

Add option to enable building in support for the host bios.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I324fc071f07cd364fd39c7df1ccfd9f0fd509a46

show more ...


# 9efef5d9 19-Jun-2019 Patrick Venture <venture@google.com>

bmc: add cleanup blob handler

Add a cleanup blob handler, such that there is a new blob id present
named "/flash/cleanup" that will delete temporary files. This blob
handler expects

bmc: add cleanup blob handler

Add a cleanup blob handler, such that there is a new blob id present
named "/flash/cleanup" that will delete temporary files. This blob
handler expects a client to open/commit/close the blob. This blob
handler will delete files that are specified as temporary. The host
client may use this to clean up artifacts on verification or update
failure.

This can be extended later to handle calling a service or doing anything
else to cleanup. The cleanup handler will be added if
--enable-cleanup-delete. The recipe will automatically add this blob
handler if that configure variable is set.

Tested: Not tested on real hardware.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I4502b2613e38f0a947d7235d084287376c6b0ce1

show more ...


# 26e241d3 20-May-2019 Patrick Venture <venture@google.com>

bmc: add /flash/update to firmare handler

The /flash/update blob id will only appear when it's an available option
(after a successful image verification). Add a Session for tracking

bmc: add /flash/update to firmare handler

The /flash/update blob id will only appear when it's an available option
(after a successful image verification). Add a Session for tracking
access to /flash/update.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I9e76c5217d4a71346c959061fb51418e3aa39c81

show more ...


# 1d5a31c9 20-May-2019 Patrick Venture <venture@google.com>

bmc: move away from blobs namespace

The blobs namespace is really owned by phosphor-ipmi-blobs. Move all
phosphor-ipmi-flash objects into ipmi_flash namespace.

Signed-off-by: P

bmc: move away from blobs namespace

The blobs namespace is really owned by phosphor-ipmi-blobs. Move all
phosphor-ipmi-flash objects into ipmi_flash namespace.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I51b721ad4f3cdc4cc43846c942967ed2e5f16589

show more ...


# 7dad86fd 17-May-2019 Patrick Venture <venture@google.com>

util: create util object for bmc and tool

Create a common util object for the BMC library and host tool. Place in
blobs namespace favoring BMC.

Signed-off-by: Patrick Venture <

util: create util object for bmc and tool

Create a common util object for the BMC library and host tool. Place in
blobs namespace favoring BMC.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I036fd65d924c65fcfa71aba5cd76275a2941ff14

show more ...