#
3f6c12b8 |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I732e5e7e4a76173d0018b1cd540c3b9b4adee83e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
374fae56 |
| 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: Ie530f2c63000bbfac7c5fbbc74ebe6bc8c07fb1a
show more ...
|
#
4b9ac392 |
| 11-Oct-2019 |
Lei YU <mine260309@gmail.com> |
utils: Add function to check if PSU is associated
Add a helper function to check if a PSU is in an association list, which will be used in future commits to check if a PSU is running a software imag
utils: Add function to check if PSU is associated
Add a helper function to check if a PSU is in an association list, which will be used in future commits to check if a PSU is running a software image.
Tested: added unit test case and verify it passes.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I99b5d3d8d09f8e09a1eb42ba104a4804b7214cf1
show more ...
|
#
ad90ad51 |
| 05-Aug-2019 |
Lei YU <mine260309@gmail.com> |
Create objects for running PSUs
On service startup, create activation and version objects for running PSUs, and set related active, functional associations.
If multiple PSUs are running with the sa
Create objects for running PSUs
On service startup, create activation and version objects for running PSUs, and set related active, functional associations.
If multiple PSUs are running with the same software version, they share the same DBus object, and the object will be associated to multiple PSU inventories.
Tested: Verify the software objects are created on Witherspoon, and the active, functional associations are created.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: Ia8372aba8299818baccfdf37e98fdbc99f747b7c
show more ...
|
#
5e0dcb39 |
| 02-Aug-2019 |
Lei YU <mine260309@gmail.com> |
Get psu inventory path
Invoke GetSubTreePaths on configurable psu inventory base path to get all the PSU paths. Add unit test case and meson.build to build the unit test case.
In test/meson.build,
Get psu inventory path
Invoke GetSubTreePaths on configurable psu inventory base path to get all the PSU paths. Add unit test case and meson.build to build the unit test case.
In test/meson.build, manually adding dynamic_linker related options for OE SDK environment to link_args, so that the built test binary could be executed in OE SDK environment. Otherwise, the ld will not find the correct shared libraries in OE SDK.
And you have to execute the test binaries manually in OE SDK, because meson skips running the tests due to it thinks it's cross compiling. This is described in README as well.
Tested: Verify the build and unit test run OK in OE SDK environment and in OpenBMC CI. Verify it gets the PSU inventory paths correctly on Witherspoon.
Signed-off-by: Lei YU <mine260309@gmail.com> Change-Id: I2e2003c5897d7a623fad7f87d263b71c926fc46d
show more ...
|