fe51495e | 04-Sep-2024 |
Cosmo Chou <cosmo.chou@quantatw.com> |
Change primary postcode interface to byte array
Change primary code to std::vector<uint8_t> to meet the changes in phosphor-dbus-interface.
[1] https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-in
Change primary postcode interface to byte array
Change primary code to std::vector<uint8_t> to meet the changes in phosphor-dbus-interface.
[1] https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/74633
Change-Id: Ib5822973a1dbc6aa8c52f4e81b56091dc33b5f08 Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com> Signed-off-by: Potin Lai <potin.lai@quantatw.com>
show more ...
|
d62ef559 | 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ia5d22931711ae5704dfafa0a7786909087d488ee Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
dd3928b0 | 17-Jun-2024 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://githu
Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the repository. The corrections were made automatically using `codespell`[1] tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I611b83efacd76580d19d91acfb6c6e8a09f40f4a Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
bebbda9b | 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: I9289bdced9919b505edbd70a0d1c41bc6abdee1e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
de7a6dd7 | 03-May-2023 |
Jonathan Doman <jonathan.doman@intel.com> |
Separate IPMI and legacy snoop code to different files
snoopd contains two implementations that have very little in common. Separate the IPMI code (functions and global objects) into its own file to
Separate IPMI and legacy snoop code to different files
snoopd contains two implementations that have very little in common. Separate the IPMI code (functions and global objects) into its own file to reduce #ifdefs and make it easier to understand. Better separate the cmdline options and help text to only be used in the applicable build configuration.
Tested: Built with -Dsnoop=enabled and verified only -h option is accepted. Built without -Dsnoop and verified -d/-r/-b options are accepted.
Change-Id: I7f14469fafd9f050f6b9f356882ce9e26fb7f206 Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
show more ...
|
0ea7357e | 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 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-16 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: I509c8567baedea7c86787f2e880900da13ebfc9f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
aee65401 | 09-Aug-2022 |
Kumar Thangavel <thangavel.k@hcl.com> |
Disable Debug card display for postcodes if no GPIO's.
Some platforms does not have GPIO pins for debug card display. It will throw error and will not proceed furthur process. In this case, postcode
Disable Debug card display for postcodes if no GPIO's.
Some platforms does not have GPIO pins for debug card display. It will throw error and will not proceed furthur process. In this case, postcode display and selector position related code can be skipped to disabled the 7seg debug card display alone for postcodes.
It will not affect other process like postcode display in dbus, etc.
TESTED : Verified multi host postcodes are displaying in the dbus for Facebook YosemiteV35 and YosemiteV2.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Iaa0aeec394523e1d62037650439ac60dc2488a77
show more ...
|
aebf87cc | 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: Ie85ba085aedffd41bcb6310ee57adb86cb68273d
show more ...
|
0269eaf3 | 11-Aug-2021 |
Kumar Thangavel <thangavel.k@hcl.com> |
Add multi-host postcode support
These changes add the multiple host postcode implementation. In addition to the LPC snoop the postcode can be read via D-Bus interface.The same is displayed in seven
Add multi-host postcode support
These changes add the multiple host postcode implementation. In addition to the LPC snoop the postcode can be read via D-Bus interface.The same is displayed in seven segment display thorough GPIO lines.
The design can be refered at https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/35065
Tested:
Verified in Facebook Tiogapass & Yosemitev2 platforms.
1.The postcode displayed in the seven segment corresponding to the host position selected in the frontpanel of Facebook yosemitev2(4 host).
2.The postcode history is verified in the respective host directory "/var/lib/phosphor-post-code-manager/hostX(1,2,3,4)".
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Id79ad00652bfedd319d3b8ccf1aafbdc60b33d86
show more ...
|