History log of /openbmc/phosphor-ipmi-blobs/ (Results 1 – 25 of 108)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0dea6fa820-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 ...

7509f4e123-Aug-2023 Willy Tu <wltu@google.com>

test: Return from validateReply if no reply

Return early if actualReply doesn't have value instead of getting the
data even after has_value() failed.

Change-Id: I339324d76a704f8b7bce98cfdf881225e46

test: Return from validateReply if no reply

Return early if actualReply doesn't have value instead of getting the
data even after has_value() failed.

Change-Id: I339324d76a704f8b7bce98cfdf881225e46c5aca
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

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

meson_options.txt: Support for reading options from meson.options

Support has been added for reading options from meson.options instead
of meson_options.txt[1]. These are equivalent, but not using t

meson_options.txt: Support for reading options from meson.options

Support has been added for reading options from meson.options instead
of meson_options.txt[1]. These are equivalent, but not using the .txt
extension for a build file has a few advantages, chief among them
many tools and text editors expect a file with the .txt extension to
be plain text files, not build scripts.

[1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions

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

show more ...

cb80fa5924-Jul-2023 Jonathan Doman <jonathan.doman@intel.com>

Enable non unit-test.py docker build

Add subproject wraps for dependencies that aren't pre-built in the CI
docker image. Trying to make things easier to build with less CI
infrastructure.

Change-Id

Enable non unit-test.py docker build

Add subproject wraps for dependencies that aren't pre-built in the CI
docker image. Trying to make things easier to build with less CI
infrastructure.

Change-Id: Ic5aff12e1bc98f6c2fed1b1fdc4ae0c46197622e
Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>

show more ...

2f45759312-Jul-2023 Patrick Williams <patrick@stwcx.xyz>

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Iab54922e22722f7dbd4b0

build: upgrade to C++23

Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of
the standard has been implemented. Upgrade the build to leverage it.

Change-Id: Iab54922e22722f7dbd4b01b09fce35c4a8ea6d17
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

5250957210-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: I86d194886a4dcd325364041d4c7745f4ea22fd65
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

752ff5d609-Dec-2022 Willy Tu <wltu@google.com>

test: Remove unneeded header

Signed-off-by: Willy Tu <wltu@google.com>
Change-Id: I1a6f6fdd4de59a8f6682a0c7609d380c4bc493e1

8848c43808-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

markdownlint: fix all warnings

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3f330148b65c0f5ace2253bc203be3890f211266

885cbfe308-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I5563d8a1a92828c12bf932d8b7ebd4968bdc05b2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

83f9992c22-Jun-2022 Willy Tu <wltu@google.com>

Recover Add ipmi response buffer size check for all commands

Use the ipmi::Context channel to get the max transfer size to make sure
that we select the right size.

Also remove maximumReadSize since

Recover Add ipmi response buffer size check for all commands

Use the ipmi::Context channel to get the max transfer size to make sure
that we select the right size.

Also remove maximumReadSize since the max reply size is checked instead

We already check the max reply size so maximumReadSize is not needed
anymore. This will result in a bit of a different behavior when the size
exceed the max. It will not fail - instead, it will return up to the
max size.

Tested:
Work with ipmi config that doesn't support the default interface (13).
```
cat /usr/share/ipmi-providers/channel_config.json
{
"0": {
"name": "usb0",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "lan-802.3",
"protocol_type": "ipmb-1.0",
"session_supported": "multi-session",
"is_ipmi": true
}
},
"8": {
"name": "INTRABMC",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "oem",
"protocol_type": "oem",
"session_supported": "session-less",
"is_ipmi": true
}
},
"11": {
"name": "gbmcbr",
"is_valid": true,
"active_sessions": 0,
"channel_info": {
"medium_type": "lan-802.3",
"protocol_type": "ipmb-1.0",
"session_supported": "multi-session",
"is_ipmi": true
}
}
}
```

This read the blob count and always works now since it uses the right
interface to get the max transfer size.
```
ipmitool raw 46 128 207 194 0 0
cf c2 00 4a ac 0e 00 00 00
```

Change-Id: Ia65f80719a819e7d642eb7425463a56c179935ac
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

067ece1516-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 ...

ad602d4004-Aug-2022 Patrick Williams <patrick@stwcx.xyz>

MAINTAINERS: remove file

The MAINTAINERS file is deprecated in favor of OWNERS.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ibffec0de549e0cee2e0b9f4234d31b7f39eafbbe


fc8fe40022-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have

OWNERS: switch 'matches' to 'matchers'

The original OWNERS template had a mistake which used 'matches' instead
of the field supported by the Gerrit plugin 'matchers'. Update the
OWNERS file to have the correct field.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2da5f3ed981f65122908255662c02fbc8dffe388

show more ...

d92aee4d27-Jun-2022 Willy Tu <wltu@google.com>

Revert "Add ipmi response buffer size check for all commands"

This reverts commit 88ca532a74375cc99bd979fbb037d07e5ee76cce.

Reason for revert: ipmi::getChannelMaxTransferSize is only using the
defa

Revert "Add ipmi response buffer size check for all commands"

This reverts commit 88ca532a74375cc99bd979fbb037d07e5ee76cce.

Reason for revert: ipmi::getChannelMaxTransferSize is only using the
default channel and may fail when using a different channel.

Change-Id: Ic080de6f51c05f86807b81dfd3dd38a87fc2dbf5
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

88ca532a14-Jun-2022 Willy Tu <wltu@google.com>

Add ipmi response buffer size check for all commands

Add a response size check for all Blob command using the max transfer
buffer size for the default ipmi channel.

The max size is fetched at the b

Add ipmi response buffer size check for all commands

Add a response size check for all Blob command using the max transfer
buffer size for the default ipmi channel.

The max size is fetched at the beginning and assumed that it won't
change. This is done instead of fetching it for all request to limit the
amount of refactoring needed to make it work with existing codebase.

Change-Id: I66c506cab9c92a120e9fc75da4b6b74d5677120b
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

35b6c3e621-Mar-2022 Patrick Williams <patrick@stwcx.xyz>

meson: add phosphor-logging wrapfile

There are still autotools-based dependencies which don't currently have
a wrapfile option, but at least add the wrapfile for phosphor-logging.

Signed-off-by: Pa

meson: add phosphor-logging wrapfile

There are still autotools-based dependencies which don't currently have
a wrapfile option, but at least add the wrapfile for phosphor-logging.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I8a8e4a4d4e6de83ce1a932dc6381cd0095d0db69

show more ...

3d1fdfaa08-Feb-2022 Willy Tu <wltu@google.com>

phosphor-ipmi-blobs: Code Health Cleanup

Removed the following errors.
- the 'empty' method should be used to check for emptiness instead of
comparing to an empty object
- using decl '*' is unus

phosphor-ipmi-blobs: Code Health Cleanup

Removed the following errors.
- the 'empty' method should be used to check for emptiness instead of
comparing to an empty object
- using decl '*' is unused
- redundant return statement at the end of a function with a void return
type
- variable 'managerReturned' defined in a header file; variable
definitions in header files can lead to ODR violations
- function 'getBlobManager' defined in a header file; function
definitions in header files can lead to ODR violations

Change-Id: I70c3db92c81b1f1b2468814605e0b2dfd358b401
Signed-off-by: Willy Tu <wltu@google.com>

show more ...

ecb0523108-Feb-2022 Willy Tu <wltu@google.com>

phosphor-ipmi-blobs: remove venture and kunyi as reviewer

Change-Id: Idd8ddb1dc6d3b0e3af11ae759768c09a898a3e7b
Signed-off-by: Willy Tu <wltu@google.com>

3b89eda925-Oct-2021 Manojkiran Eda <manojkiran.eda@gmail.com>

Add OWNERS file

Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I62ebc22f16919f38a7f6162815d9a0a377cb3834

fda4178906-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

build: switch to C++20

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic4293a225b9fa30c358e79c095a9c27da97147a1

88c23f4025-Oct-2021 Willy Tu <wltu@google.com>

phosphor-ipmi-blobs: Update Maintainers and Reviewers

Signed-off-by: Willy Tu <wltu@google.com>
Change-Id: I519dacc4dbf5497a68dccc86e9169396c62ea213

f39e668c16-Jun-2021 William A. Kennington III <wak@google.com>

build: Remove autotools

No longer needed with meson being adopted.

Change-Id: Ia9e86fa29ece20dadce854d4c3f06b894af13f96
Signed-off-by: William A. Kennington III <wak@google.com>

d5ed409916-Jun-2021 William A. Kennington III <wak@google.com>

meson: Install headers

This was missed when creating the initial meson build.

Change-Id: I7bf85413d779d99e21e8cc2b5294ee4700d1d4fa
Signed-off-by: William A. Kennington III <wak@google.com>

d963adb515-Jun-2021 William A. Kennington III <wak@google.com>

build: Add meson

Change-Id: I9b6bf99113a4fbfb92b0b8b6c4e3feff0c070421
Signed-off-by: William A. Kennington III <wak@google.com>

117912d215-Jun-2021 William A. Kennington III <wak@google.com>

ipmi: Remove non-standard c++ array syntax

Change-Id: I1c62222ab8584ffc5af6d99c80b93f5e93b4e26f
Signed-off-by: William A. Kennington III <wak@google.com>

12345