History log of /openbmc/openpower-pnor-code-mgmt/ubi/activation_ubi.hpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 0dea1992 22-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If9a7314dade153dd7dbd149a76352aca8257839d

show more ...


# ab139ce9 16-May-2020 Andrew Geissler <geissonator@yahoo.com>

string: ensure string included

Latest upstream yocto appears to have removed a free include of string.
This is causing compile failures for files which do not include it
properly.

string: ensure string included

Latest upstream yocto appears to have removed a free include of string.
This is causing compile failures for files which do not include it
properly.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ic1bf10e15071227582e5738336f632d33705c80b

show more ...


# 2b2d2298 18-Mar-2019 Lei YU <mine260309@gmail.com>

Static layout: support image verification

Add support of image verification for static layout PNOR code update.

Tested: Verify the PNOR code update succeeds with valid-signed PNOR;

Static layout: support image verification

Add support of image verification for static layout PNOR code update.

Tested: Verify the PNOR code update succeeds with valid-signed PNOR;
and fails with invalid-signed PNOR or a PNOR tarball without
signature.

Change-Id: I1aafeb4e8e07eaa16c170f33f4f21940f7c9c146
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...


# df7a6157 25-Mar-2019 Adriana Kobylak <anoo@us.ibm.com>

activation_ubi: Set priority in constructor

The base activation class sets the priority value in its
constructor, but since the ubi class overrides this method,
need to call it in th

activation_ubi: Set priority in constructor

The base activation class sets the priority value in its
constructor, but since the ubi class overrides this method,
need to call it in the ubi constructor as well, otherwise
the priority values won't get written to flash after a BMC
factory reset, causing the pnor updater to think there are
no pnor versions installed.

Tested: After a BMC factory reset, the ubi priority() method
was called, which restores the pnor priority files, and the
pnor symlinks were created.

Fixes: openbmc/openbmc#3507

Change-Id: I5d234ab232c91ac01d5c15c1c6ae87408c73b99c
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>

show more ...


# 9b21efc5 21-Feb-2019 Lei YU <mine260309@gmail.com>

Refactor: Split Activation into common and ubi

Activations has a few functions coupled with ubi, split them into
ubi/activation_ubi

* Keep common code in activation.
* Make

Refactor: Split Activation into common and ubi

Activations has a few functions coupled with ubi, split them into
ubi/activation_ubi

* Keep common code in activation.
* Make start/finishActivation() pure virtual.
* Move ubi specific code into ubi.
* Move ubiVolumnCreated into ubi.
* Make validateSignature() not inline, otherwise it gets compile error.

Tested: On the last commit of the patch series, run code update and
factory reset on Witherspoon and all work fine.

Change-Id: I7c8a0de6b0be4b1e9814ea75fd802a014b4aacfc
Signed-off-by: Lei YU <mine260309@gmail.com>

show more ...