#
97e69ca1 |
| 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: I7c1a903d0b8fe5df2da9a73bda2d84113e9d854d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
0dea6fa8 |
| 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: I35d3ba19f100c4f2f0a924af86454a5fabeae03c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
067ece15 |
| 16-Jun-2022 |
Willy Tu <wltu@google.com> |
Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have mor
Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
Changes to note, - All cmd are removed from the request data. That is automatically extracted now.
Tested: Unit Test Passed.
All IPMI OEM command still works the same as before this change.
``` $ burn_my_bmc -command stage -image /tmp/test.txt -interface ipmipci Set up ipmi flash updater with /flash/dummy Received failure on delete: Received IPMI_CC: 255 Sending over the firmware image. Find [0x1050 0x750] bar0[0x94000000] Upload to BMC 100% |Goooooooooooooooooooooooooooooooooooooooooooooooooooooooogle| Time: 00:00:00 Opening the verification file Committing to /flash/verify to trigger service Calling stat on /flash/verify session to check status success succeeded ```
Also tested gBMC Update workflow which worked fine.
Change-Id: Ib2bfeab0c2ec5aa72ede1ff457ef5f90e488053c Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
993f5419 |
| 15-Jun-2021 |
William A. Kennington III <wak@google.com> |
treewide: Remove unused variables
Change-Id: I946716e87ff95c3775d2802b83de565b6b2ac0a3 Signed-off-by: William A. Kennington III <wak@google.com>
|
#
b6ed5626 |
| 28-Sep-2020 |
Patrick Venture <venture@google.com> |
test: flexible array member cannot go into lambda
The flexible array member cannot be captured in a lambda expression.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia2a8942d6e9c0c
test: flexible array member cannot go into lambda
The flexible array member cannot be captured in a lambda expression.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia2a8942d6e9c0c3f58a9bf966a0100785a8b6c91
show more ...
|
#
8bc11779 |
| 04-Jun-2019 |
Patrick Venture <venture@google.com> |
blobs: s/struct BlobMeta/BlobMeta/g
Because this structure is not anything special, simply use the cpp idiomatic way of referencing the object.
Consistently, structures that are packed still have "
blobs: s/struct BlobMeta/BlobMeta/g
Because this structure is not anything special, simply use the cpp idiomatic way of referencing the object.
Consistently, structures that are packed still have "struct" used in declarations. However, this distinction is only clear through its usage and nothing in the language. Perhaps a better approach would be notational naming struct PackedXYZ {};. However, that can get out of control quickly.
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: I3b7e48e4b6687ef2e15e9d07c0eeba96eb5d2552
show more ...
|
#
00d5f0de |
| 17-May-2019 |
Patrick Venture <venture@google.com> |
blobs-ipmid: use enum class for BlobOEMCommands
Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ic5aa3e38b4df33a2cfa29c575f17097e38d06605
|
#
cd8dab49 |
| 15-Jan-2019 |
Patrick Venture <venture@google.com> |
stop installing manager header
Stop installing the manager header as it is no longer meant to be exported, but rather used only internally within this repository.
Change-Id: I2ab21a31fd745e1b3e36fc
stop installing manager header
Stop installing the manager header as it is no longer meant to be exported, but rather used only internally within this repository.
Change-Id: I2ab21a31fd745e1b3e36fc39ffea5e26d373ff51 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
41258800 |
| 12-Nov-2018 |
Patrick Venture <venture@google.com> |
process: add IPMI error return mechanism and update errors
The IPMI packet validation code must return specific IPMI errors corresponding to what error has occurred instead of the invalid command er
process: add IPMI error return mechanism and update errors
The IPMI packet validation code must return specific IPMI errors corresponding to what error has occurred instead of the invalid command error.
Update all IPMI handler pieces to return more specific errors.
Change-Id: I8d21e92015d84cc0880e3b83991aed7288e19eab Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
7210b310 |
| 03-Oct-2018 |
Patrick Venture <venture@google.com> |
header: install test mock headers
IPMI Blob handlers will need to include these mocks when building unit-tests. Therefore, they must be installed.
Change-Id: I4c8ed0fa1a4a8912853c024206ef5e61f8770
header: install test mock headers
IPMI Blob handlers will need to include these mocks when building unit-tests. Therefore, they must be installed.
Change-Id: I4c8ed0fa1a4a8912853c024206ef5e61f87707d8 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
#
ef3aeadc |
| 12-Sep-2018 |
Patrick Venture <venture@google.com> |
initial drop of phosphor-ipmi-blobs
This implements a majority of the OEM IPMI BLOBS protocol. The only piece missing from this is the timed expiration of sessions.
Change-Id: I82c9d17b625c94fc334
initial drop of phosphor-ipmi-blobs
This implements a majority of the OEM IPMI BLOBS protocol. The only piece missing from this is the timed expiration of sessions.
Change-Id: I82c9d17b625c94fc3340edcfabbbf1ffeb5ad7ac Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|