#
1d73dccc |
| 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: I1210c7b95e65a82cc5675ada03441af6727a3930 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
027277a4 |
| 11-Sep-2023 |
Josh Lehan <krellan@google.com> |
Refactor MDRV2 class to allow more than one
Refactored the main MDRV2 class to allow more than one object of this class to exist at the same time. All hardcoded paths have been made parameters to th
Refactor MDRV2 class to allow more than one
Refactored the main MDRV2 class to allow more than one object of this class to exist at the same time. All hardcoded paths have been made parameters to the constructor, so that they can be varied at runtime as needed, to avoid overlap.
Also did some necessary internal cleanups to facilitate this.
Tested: Created multiple copies of the MDRV2 object at the same time, it worked, all appeared on D-Bus, under distinct object paths and inventory paths. Destructed the MDRV2 object, it disappeared from D-Bus, constructed it again, it came back.
https://gist.github.com/Krellan/6930bc2ed1ac16b93afcc3a12c02e545
Change-Id: Icd1ebf50086b526cf0cff149eb8ddc59da78f0a9 Signed-off-by: Josh Lehan <krellan@google.com>
show more ...
|
#
f2d8bb48 |
| 26-Jul-2023 |
Jonathan Doman <jonathan.doman@intel.com> |
Fix compilation warnings
Various small issues: * Member initialization order * Comparison of different signedness * Unused parameters * Unused variable
Change-Id: Ie59db239b4216ad089f7cf0f289e6ed3d
Fix compilation warnings
Various small issues: * Member initialization order * Comparison of different signedness * Unused parameters * Unused variable
Change-Id: Ie59db239b4216ad089f7cf0f289e6ed3d6ac8e18 Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
show more ...
|
#
c39d3dfc |
| 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: I172b14c1a881c734851b7dc6e0e90ee2e11cce03 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
33ae81fe |
| 26-Apr-2023 |
Jason M. Bills <jason.m.bills@intel.com> |
Update to the new sdbusplus namespace format
The sdbusplus namespace format was updated in [1]. This updates the local namespaces to the new format.
[1]: https://github.com/openbmc/sdbusplus/commit
Update to the new sdbusplus namespace format
The sdbusplus namespace format was updated in [1]. This updates the local namespaces to the new format.
[1]: https://github.com/openbmc/sdbusplus/commit/5011340e14da7fc04f8b20721c4631f778200edd
Change-Id: Ic6b874fb86d2ff2192d8067871bd2170696f2b8c Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
show more ...
|
#
966fcb10 |
| 26-Nov-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
Change-Id: I5d9984f2642be11be6255f8adbf4586dd8f05a40 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
7393e48d |
| 19-Sep-2022 |
Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> |
Fix - BIOS version on Redfish
Even though SMBIOS populating bios_active version, Set BIOS ID IPMI command is failing to set the bios_active version. This change support to populate bios_acvite versi
Fix - BIOS version on Redfish
Even though SMBIOS populating bios_active version, Set BIOS ID IPMI command is failing to set the bios_active version. This change support to populate bios_acvite version on BMC.
Tested: Verified using Redfish and EWS. BIOS version populated as expected.
Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> Change-Id: If9df1297e7289847ca0e57cbadf128112eeced92
show more ...
|
#
5f2d6275 |
| 22-Sep-2021 |
Alex Schendel <alex.schendel@intel.com> |
Add FW Version in journalctl log
Adds version logging for BIOS active version on every AC cycle and BMC reboot. Log format: VERSION INFO - BIOS - <version info> Where <version info> is the set of le
Add FW Version in journalctl log
Adds version logging for BIOS active version on every AC cycle and BMC reboot. Log format: VERSION INFO - BIOS - <version info> Where <version info> is the set of letters and numbers describing the version. User can retrieve FW versions by running: journalctl | grep "VERSION INFO":
Tested: AC Cycle: VERSION INFO - BIOS - xxxxxxxx.xxx.xxxx.xxx.xxxxxxxxxx
BMC reboot: VERSION INFO - BIOS - xxxxxxxx.xxx.xxxx.xxx.xxxxxxxxxx
Change-Id: Ibac6886aa2e1187fca83e36c870a0f887b20e4f6 Signed-off-by: Alex Schendel <alex.schendel@intel.com>
show more ...
|
#
e7770991 |
| 14-May-2021 |
Jason M. Bills <jason.m.bills@linux.intel.com> |
Fix smbios-mdrv2 CI build
The phosphor-dbus-interface type for memorySizeInKB changed from uint32_t to size_t.
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/41870
This up
Fix smbios-mdrv2 CI build
The phosphor-dbus-interface type for memorySizeInKB changed from uint32_t to size_t.
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/41870
This updates smbios-mdrv2 with that change to fix the CI build.
The phosphor-dbus-interface name for Common::UUID changed from uUID to uuid. This updates smbios-mdrv2 with that change to fix the CI build.
Change-Id: I37994e7b36ea8182c01386d804ff2de1e682fdd8 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
show more ...
|
#
26de0d73 |
| 18-Nov-2020 |
Kuiying Wang <kuiying.wang@intel.com> |
Fix crash issue due to non-print char
When smbios table file is broken, the parsed string type propery like version may contain non-print char, which causes smbios service crash as below:
Nov 18 17
Fix crash issue due to non-print char
When smbios table file is broken, the parsed string type propery like version may contain non-print char, which causes smbios service crash as below:
Nov 18 17:11:53 intel-obmc dbus-broker[180]: Peer :1.175 is being disconnected as it sent a message with an invalid body. Nov 18 17:11:53 intel-obmc phosphor-mapper[298]: Introspect call failed with error: generic:113, No route to host on process: xyz.openbmc_project.Smbios.MDR_V2 path: / Nov 18 17:11:53 intel-obmc smbiosmdrv2app[644]: terminate called after throwing an instance of 'sdbusplus::exception::SdBusError' Nov 18 17:11:53 intel-obmc smbiosmdrv2app[644]: what(): sd_bus_process discard: org.freedesktop.DBus.Error.Disconnected: Connection reset by peer Nov 18 17:11:53 intel-obmc systemd[1]: Created slice system-systemd\x2dcoredump.slice. Nov 18 17:11:54 intel-obmc systemd[1]: Started Process Core Dump (PID 645/UID 0). Nov 18 17:11:57 intel-obmc systemd[1]: smbios-mdrv2.service: Main process exited, code=dumped, status=6/ABRT Nov 18 17:11:57 intel-obmc systemd[1]: smbios-mdrv2.service: Failed with result 'core-dump'.
Tested: When version string contain non-print char that means smbios table file is broken, smbios bios service will print error and clear the broken. The smbios table file will be re-generated again at the next DC cycle.
Change-Id: I001c829b22fc3afba4e863d595f943d0954824e3 Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
show more ...
|
#
2ca7a0f3 |
| 18-Dec-2019 |
Cheng C Yang <cheng.c.yang@linux.intel.com> |
Fix some build failure issue
Fix some issues which will make build failure. Also format the code with latest clang-format.
Tested: Power cycle the system and after BIOS finish post, correct DIMM an
Fix some build failure issue
Fix some issues which will make build failure. Also format the code with latest clang-format.
Tested: Power cycle the system and after BIOS finish post, correct DIMM and CPU information and UUID can show in Redfish.
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I5833a89842bc0969829d10fed262cf43d31d8c3f
show more ...
|
#
b4651b9c |
| 18-Dec-2019 |
Cheng C Yang <cheng.c.yang@linux.intel.com> |
Add system dbus service for MDR V2
Add BIOS version and UUID in smbios table and provide dbus interface for redfish to get these information.
Tested: DC cycle the system and waiting for BIOS enteri
Add system dbus service for MDR V2
Add BIOS version and UUID in smbios table and provide dbus interface for redfish to get these information.
Tested: DC cycle the system and waiting for BIOS entering setup page. Redfish should be able to show correct UUID.
Signed-off-by: Cheng C Yang <cheng.c.yang@linux.intel.com> Change-Id: I0d364f27488d3efa24e4a9dde97086f09e94d2a2
show more ...
|