#
1caf0486 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I013bc2f7001925df45d023333be75d4a59500a12 Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I013bc2f7001925df45d023333be75d4a59500a12 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
010dee04 |
| 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: Ide19264aa5b2b01a5102b4b2a9cf226ba8dec699 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
519530be |
| 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: I1e57d16dd4e8655d698e272e6ee347d80e2056ba Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
show more ...
|
#
14ddea58 |
| 05-Jun-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
Support dimm loop detection for the AMD platform
Description: - Support detection of the DIMM loop pattern for the AMD platform
Design: - The ipmi handler netfn=0x38,cmd=0x33 handles BIC incoming
Support dimm loop detection for the AMD platform
Description: - Support detection of the DIMM loop pattern for the AMD platform
Design: - The ipmi handler netfn=0x38,cmd=0x33 handles BIC incoming postcode and call the detection function to check if this is the DIMM loop pattern of AMD platform and store those patterns in an in-memory space.
Reference from Meta_BIOS_Requirement_Spec_v0.80 For AMD platform, the POST code looping pattern format should be: (each group has 4 bytes) ●Group #0: [DDEE0000] ●Group #1: [DDEE] + Total Error Count ●Group #2: [DDEE] + Number of Error DIMM ●Group #3: [DDEE] + Dimm location ●Group #4: [DDEE] + major code ●Group #5: [DDEE] + minor code
Change-Id: I9598f71775936cea9a860a091bc74aefea8701f3 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
#
2405ae98 |
| 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: Id3ff2ed97fd733b2bbfe6e4890c2e6dd8c212085 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
6c931e43 |
| 05-Dec-2022 |
Jayashree Dhanapal <jayashree-d@hcl.com> |
IPMI OEM BIC - Clear CMOS
Register an IPMI command handler with NetFn 0x38 Cmd 0x25 and send this command to BIC through IPMB to clear CMOS.
TESTED : Tested and verified in Facebook YosemiteV2 plat
IPMI OEM BIC - Clear CMOS
Register an IPMI command handler with NetFn 0x38 Cmd 0x25 and send this command to BIC through IPMB to clear CMOS.
TESTED : Tested and verified in Facebook YosemiteV2 platform.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I5df7a637c5860ae7b0fc7e65e5737614fb3c4293
show more ...
|
#
05d0ce93 |
| 17-Nov-2022 |
Kumar Thangavel <thangavel.k@hcl.com> |
IPMI OEM BIC - Get Bios Flash Size
Register an IPMI command handler with NetFn: 0x38 Cmd: 0x19 send this command to BIC through IPMB to get the Bios flash size.
TESTED : Verified in YosemiteV2 plat
IPMI OEM BIC - Get Bios Flash Size
Register an IPMI command handler with NetFn: 0x38 Cmd: 0x19 send this command to BIC through IPMB to get the Bios flash size.
TESTED : Verified in YosemiteV2 platform and able to get bios flash size.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I8a82f2495c1c7d4fefb49de471052cd9d740e75d
show more ...
|
#
41027b96 |
| 16-Dec-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
IPMI set CurrentHostState property
Register an IPMI handler to receive the command from BIC netFn: 0x38 cmd: 0x0C
BIC sends the GPIO value for host power state to BMC On: 0x1 Off: 0x0
This handler
IPMI set CurrentHostState property
Register an IPMI handler to receive the command from BIC netFn: 0x38 cmd: 0x0C
BIC sends the GPIO value for host power state to BMC On: 0x1 Off: 0x0
This handler starts the corresponding target to set "CurrentHostState" property On: obmc-host-startmin@$slot.target Off: obmc-host-stop@@$slot.target
Test Case: Set "RequestedHostTransition" property on phosphor-state-manager to On/Off/Reboot/ForceWarmReboot and check the host status
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: I891f38d7e836238fa3ba8287df5a855cf2d9a8d9
show more ...
|
#
25b79bf4 |
| 16-Dec-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
IPMI OEM Get BIC GPIO State
Register an IPMI command handler - NetFn: 0x38 Cmd: 0x03. Send command through IPMB to get BIC GPIO state. Add Meta IANA definition for future utilization.
Limitation: 1
IPMI OEM Get BIC GPIO State
Register an IPMI command handler - NetFn: 0x38 Cmd: 0x03. Send command through IPMB to get BIC GPIO state. Add Meta IANA definition for future utilization.
Limitation: 1. Could only get the state of BIC GPIOs which are configured as GPIO 2. Couldn't get all BIC GPIO states
Test Case: Call IPMI OEM get BIC GPIO state
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Idda8d4c532b2971c14662e7b34ea101cf584fa22
show more ...
|
#
d8ef7b36 |
| 24-Oct-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
biccommands: post code handler
Revise the input parameters for OEM POST code handler so that BMC could get all the POST code from BIC.
uint8_t interface -> uint8_t dataLen: represnts the length of
biccommands: post code handler
Revise the input parameters for OEM POST code handler so that BMC could get all the POST code from BIC.
uint8_t interface -> uint8_t dataLen: represnts the length of received POST code uint8_t data -> std::vector<uint8_t> data:receive all the POST code instead of specific POST code
Test Case: Check POST code for multi-host
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: I0d2db5173cc98819d19fd27db2bcb1f6b96e9bb3
show more ...
|
#
e39f9393 |
| 15-Jun-2022 |
Willy Tu <wltu@google.com> |
build: Convert project to meson and C++20
Cleanedup all build warnings and updated the header to point to the latest ipmid.
Change-Id: Ife89b51cda0137c8632fc24525efc131817e07b8 Signed-off-by: Willy
build: Convert project to meson and C++20
Cleanedup all build warnings and updated the header to point to the latest ipmid.
Change-Id: Ife89b51cda0137c8632fc24525efc131817e07b8 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
#
485f9b31 |
| 03-Sep-2021 |
Patrick Williams <patrick@stwcx.xyz> |
biccommands: use SecureBuffer for IPMB call
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1e8920ffbab0a1d7efba0743d6029fac76aa1231
|
#
58c1ca2f |
| 22-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: build biccommands always
Limit the amount of code that is #ifdef'd out from a normal build, so compile issues do not escape, by only #ifdef'ing out the function that registers the BIC-based I
build: build biccommands always
Limit the amount of code that is #ifdef'd out from a normal build, so compile issues do not escape, by only #ifdef'ing out the function that registers the BIC-based IPMI handlers and not the majority of the code to handle BIC-related IPMI commands. This allows us to identify compile failures in unit-testing.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2131f81890865c8189c6846987c5068373c68203
show more ...
|
#
0fcfbeee |
| 16-Apr-2021 |
Kumar Thangavel <thangavel.k@hcl.com> |
Fix build Failures in postcode handler.
Fixed the build compilation issues in the postcode handler function after the latest updates in the master.
TESTED : Built Facebook YosemiteV2 images and loa
Fix build Failures in postcode handler.
Fixed the build compilation issues in the postcode handler function after the latest updates in the master.
TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. Verified all the host's postcodes in BMC.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8019d68c471f1c1123fa2f3fc071b0339032f0f6
show more ...
|
#
c723d6a5 |
| 11-Mar-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
Fix the dbus signature used for setting postcodes
- With 9a96970ebb93eb1f495c200801343a4d1c53977c PDI change, the dbus signature of raw post codes has been changed from uint64 to struct[uint64,a
Fix the dbus signature used for setting postcodes
- With 9a96970ebb93eb1f495c200801343a4d1c53977c PDI change, the dbus signature of raw post codes has been changed from uint64 to struct[uint64,array[byte]] where the array[byte] is the secondary post code.
- The intent behind this commit is to fix the code based on the latest PDI change.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I46dfbf643ad138c373d3826d3504b4a26866a5bf
show more ...
|
#
ad04924d |
| 31-Aug-2020 |
Kumar Thangavel <thangavel.k@hcl.com> |
fb-ipmi-oem: yosemitev2: Add Ipmi implementation for read post codes
Added implementation to handle read post code BIC request from host to BMC and send the response back to host.
TESTED : Built Fa
fb-ipmi-oem: yosemitev2: Add Ipmi implementation for read post codes
Added implementation to handle read post code BIC request from host to BMC and send the response back to host.
TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. Verified all the host's postcodes in BMC.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: Iee9a224b381db5ab9e244b9ae2999a602e520a36
show more ...
|
#
41ad4ff1 |
| 11-Jun-2020 |
Kumar Thangavel <thangavel.k@hcl.com> |
fb-ipmi-oem: yosemitev2: Add Ipmi implementation to handle BIC request
Added Implementation to handle BIC Request from host to BMC and send the response back to host. We are able to see the BMC info
fb-ipmi-oem: yosemitev2: Add Ipmi implementation to handle BIC request
Added Implementation to handle BIC Request from host to BMC and send the response back to host. We are able to see the BMC information in the host BIOS.
TESTED : Built Facebook YosemiteV2 images and loaded on the target hardware. We are able to see BMC information on two host's BIOS.
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I7586426809973b5d670d45495daf76e91b82ff23
show more ...
|