History log of /openbmc/phosphor-psu-code-mgmt/services/ (Results 1 – 4 of 4)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
760053d816-May-2024 Faisal Awada <faisal@us.ibm.com>

Waiting for PSUs to be available during startup

Modified the Software PSU Updater Service to wait until inventory
service available. Updated ItemUpdater::scanDirectory to search
for the installed PS

Waiting for PSUs to be available during startup

Modified the Software PSU Updater Service to wait until inventory
service available. Updated ItemUpdater::scanDirectory to search
for the installed PSU model directory. For example, the PSU model
2B1E should have a directory named /usr/share/obmc/psu/2B1E. The
firmware file and the MANIFEST reside in the model directory.

Added a new function, `onInterfacesAdded`, processes D-Bus messages
to update the internal state of PSU devices. It performs the following
steps:
- Read D-Bus message to extract the object path and interfaces.
- Check for PSU Interface.
- Retrieve all PSUs inventory paths from the D-Bus.
- Update PSU present status and model. If the PSU is present and has
valid version, process FW update to latest version.

Fixed the issue with version comparison when there is no firmware to
compare with.

Tested:
Tested the code in simulation module and verified it waits for all PSUs
to be discovered. Verified phosphor-psu-code-manager invokes psutils to
get the PSU version, compare and update.

Change-Id: Ic26e215baffd56fc070cc0cf6d3fff92fdfb914c
Signed-off-by: Faisal Awada <faisal@us.ibm.com>

show more ...

c441915b16-Aug-2023 George Liu <liuxiwei@inspur.com>

meson: Replace configure_file with fs.copyfile

configure_file is deprecated since 0.64.0, and replace it with
fs.copyfile.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ifcd5c0ece7c873

meson: Replace configure_file with fs.copyfile

configure_file is deprecated since 0.64.0, and replace it with
fs.copyfile.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ifcd5c0ece7c8738628ae90101c194a9dc8938277

show more ...

990bee9614-Feb-2023 Brad Bishop <bradleyb@fuzziesquirrel.com>

treewide: remove dependencies on mapper.target

The mapper is dbus activated now, so these explicit dependency
declarations are unnecessary and redundant.

Change-Id: I747833c262dba45f9626030c76906c0

treewide: remove dependencies on mapper.target

The mapper is dbus activated now, so these explicit dependency
declarations are unnecessary and redundant.

Change-Id: I747833c262dba45f9626030c76906c067f402418
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

617c0b7110-Feb-2020 Lei YU <mine260309@gmail.com>

Install example psu-update@.service

The repo needs an example psu-update@.service, it was expected to be
installed by a bitbake recipe, but during the recipe review it turns
out that the repo is bet

Install example psu-update@.service

The repo needs an example psu-update@.service, it was expected to be
installed by a bitbake recipe, but during the recipe review it turns
out that the repo is better to install a default one and it could be
overriden by a bbappend.

Move the psu-update@.service from vendor-example to services directory
and install it.

Tested: Verify the service is installed.

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

show more ...


/openbmc/phosphor-psu-code-mgmt/.clang-format
/openbmc/phosphor-psu-code-mgmt/.gitignore
/openbmc/phosphor-psu-code-mgmt/LICENSE
/openbmc/phosphor-psu-code-mgmt/MAINTAINERS
/openbmc/phosphor-psu-code-mgmt/README.md
/openbmc/phosphor-psu-code-mgmt/meson.build
/openbmc/phosphor-psu-code-mgmt/meson_options.txt
meson.build
psu-update@.service
xyz.openbmc_project.Software.Psu.Updater.service
/openbmc/phosphor-psu-code-mgmt/src/activation.cpp
/openbmc/phosphor-psu-code-mgmt/src/activation.hpp
/openbmc/phosphor-psu-code-mgmt/src/activation_listener.hpp
/openbmc/phosphor-psu-code-mgmt/src/association_interface.hpp
/openbmc/phosphor-psu-code-mgmt/src/item_updater.cpp
/openbmc/phosphor-psu-code-mgmt/src/item_updater.hpp
/openbmc/phosphor-psu-code-mgmt/src/main.cpp
/openbmc/phosphor-psu-code-mgmt/src/meson.build
/openbmc/phosphor-psu-code-mgmt/src/types.hpp
/openbmc/phosphor-psu-code-mgmt/src/utils.cpp
/openbmc/phosphor-psu-code-mgmt/src/utils.hpp
/openbmc/phosphor-psu-code-mgmt/src/version.cpp
/openbmc/phosphor-psu-code-mgmt/src/version.hpp
/openbmc/phosphor-psu-code-mgmt/test/meson.build
/openbmc/phosphor-psu-code-mgmt/test/mocked_activation_listener.hpp
/openbmc/phosphor-psu-code-mgmt/test/mocked_association_interface.hpp
/openbmc/phosphor-psu-code-mgmt/test/mocked_utils.hpp
/openbmc/phosphor-psu-code-mgmt/test/psu-images-one-valid-one-invalid/model-1/MANIFEST
/openbmc/phosphor-psu-code-mgmt/test/psu-images-one-valid-one-invalid/model-2/MANIFEST
/openbmc/phosphor-psu-code-mgmt/test/psu-images-valid-version0/model-3/MANIFEST
/openbmc/phosphor-psu-code-mgmt/test/test_activation.cpp
/openbmc/phosphor-psu-code-mgmt/test/test_item_updater.cpp
/openbmc/phosphor-psu-code-mgmt/test/test_utils.cpp
/openbmc/phosphor-psu-code-mgmt/test/test_version.cpp
/openbmc/phosphor-psu-code-mgmt/tools/generate-psu-tar
/openbmc/phosphor-psu-code-mgmt/vendor-example/get_latest_version.cpp
/openbmc/phosphor-psu-code-mgmt/vendor-example/get_version.cpp
/openbmc/phosphor-psu-code-mgmt/vendor-example/meson.build