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 ...
|
29985cb6 | 25-Apr-2024 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
configs: add configs for yosemite4 system
Add configurations for yosemite4 to support USB debug card.
Change-Id: I7e074c8066d6e9901fe2cc29d4f1eb49147fa8d1 Signed-off-by: Delphine CC Chiu <Delphine_
configs: add configs for yosemite4 system
Add configurations for yosemite4 to support USB debug card.
Change-Id: I7e074c8066d6e9901fe2cc29d4f1eb49147fa8d1 Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
show more ...
|
b48d6839 | 27-Mar-2024 |
Peter Yin <peter.yin@quantatw.com> |
appcommands: modify appData.json path
Application persistent data should be written to /var/lib/${PN}. Change the path for appData.json from /etc to /var/lib/fb-ipmi-oem/.
Change-Id: Ibf4bb729f919b
appcommands: modify appData.json path
Application persistent data should be written to /var/lib/${PN}. Change the path for appData.json from /etc to /var/lib/fb-ipmi-oem/.
Change-Id: Ibf4bb729f919b2bebf0c0ce46465e194c5845799 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
show more ...
|
7451903c | 04-Feb-2024 |
cchoux <cosmo.chou@quantatw.com> |
parse Unified SEL
Parsing Facebook Unified SEL
Change-Id: I7c6afe1d0ee559e34f8f0d9fa6db3c0e33af25d3 Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com> |
1670e2ad | 26-Jan-2024 |
Patrick Williams <patrick@stwcx.xyz> |
OWNERS: update Amithash's email address
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I73cd6e36ee3661c60d920d7029d1b4e363309855 |
483f00a5 | 07-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: adjust nlohmann-json dependency
Simplify meson dependency logic and align the wrap file name with that used in other repositories.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-
meson: adjust nlohmann-json dependency
Simplify meson dependency logic and align the wrap file name with that used in other repositories.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib73cf0b7d43ff62afaaa6a4e7161ba0bbd2569c4
show more ...
|
d79f89e7 | 05-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: avoid deprecated phosphor::Timer
sdbusplus had an older type named `phosphor::Timer` which was recently renamed to `sdbusplus::Timer`. Update the code to use the new type alias.
Change-
sdbusplus: avoid deprecated phosphor::Timer
sdbusplus had an older type named `phosphor::Timer` which was recently renamed to `sdbusplus::Timer`. Update the code to use the new type alias.
Change-Id: Ied1acfff806faeb131c1f55b3cc518f117c487a9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
75d597f5 | 15-Jan-2024 |
Yang Chen <yang.chen@quantatw.com> |
configs: add configs for Minerva system
Add configurations for Minerva to support USB debug card.
Change-Id: I942e3839a63a95fd3bb04148399abaf1f453f879 Signed-off-by: Yang Chen <yang.chen@quantatw.c
configs: add configs for Minerva system
Add configurations for Minerva to support USB debug card.
Change-Id: I942e3839a63a95fd3bb04148399abaf1f453f879 Signed-off-by: Yang Chen <yang.chen@quantatw.com>
show more ...
|
5a7a04da | 10-Jan-2024 |
Potin Lai <potin.lai@quantatw.com> |
storagecommands: fix sensorTree never updated
Swap the sequence of sensorTree.empty() and getSensorSubtree() in if statement. This will fix the issue of sensorTree never get updated.
Change-Id: I22
storagecommands: fix sensorTree never updated
Swap the sequence of sensorTree.empty() and getSensorSubtree() in if statement. This will fix the issue of sensorTree never get updated.
Change-Id: I225c3641145643ef481aec977ebd4b8b277b2dc8 Signed-off-by: Potin Lai <potin.lai@quantatw.com>
show more ...
|
b647d63f | 10-Jan-2024 |
Potin Lai <potin.lai@quantatw.com> |
configs: add configs for Harma system
Add configurations for Harma to support USB debug card.
Change-Id: I31ad214c0db18723caf8959dd98651bb00e0f3af Signed-off-by: Potin Lai <potin.lai@quantatw.com> |
8fe3a447 | 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: Ib8a8d2530b2e97689cd4f157f1c05844a29c8a05 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
8713427c | 06-Oct-2023 |
cchoux <cosmo.chou@quantatw.com> |
fix the last "next record ID" missing in the Get SDR response
In current implementation, the last SDRs are for FRUIDs (Type 10h). After fixing this issue, we can list all FRUIDs by the command, "ipm
fix the last "next record ID" missing in the Get SDR response
In current implementation, the last SDRs are for FRUIDs (Type 10h). After fixing this issue, we can list all FRUIDs by the command, "ipmitool fru print".
Change-Id: I8ca22bea9a20128f268cf23bf6c92b352e901d67 Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
show more ...
|
03498f7f | 03-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
me: remove support
The ME support was only used for adding additional data onto the OCP debug card. No new systems use the ME and none of the machines that had an ME are using this code in producti
me: remove support
The ME support was only used for adding additional data onto the OCP debug card. No new systems use the ME and none of the machines that had an ME are using this code in production. Remove it to reduce the clutter.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I124f1b95c99a0695b5488695b81e274936461844
show more ...
|
45c8176c | 03-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: rename options file
Meson can use a new file name for the options files, so go ahead and leverage it. This allows editors to potentially understand the syntax as something distinct from a ra
meson: rename options file
Meson can use a new file name for the options files, so go ahead and leverage it. This allows editors to potentially understand the syntax as something distinct from a raw ASCII text file.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I12c0c46d2f15ea9085bc0077e4780b04d7de0c06
show more ...
|
b2ae88b4 | 12-Sep-2023 |
cchoux <cosmo.chou@quantatw.com> |
support specifying MB FRU eeprom path
The MB FRUID should be exposed with ID 0 for BIOS to get the data to fill out SMBIOS table during POST. However, current IDs depend on the ordering of the FruDe
support specifying MB FRU eeprom path
The MB FRUID should be exposed with ID 0 for BIOS to get the data to fill out SMBIOS table during POST. However, current IDs depend on the ordering of the FruDevice object paths.
(1) Using the object with "Type: EEPROM" and "Name: MB FRU" in the EntityManager to figure out the MB FRU eeprom path. Other FRUIDs still depend on the ordering of the FruDevice object paths.
example of the entity-manager config: ``` { "Address": "$address", "Bus": "$bus", "Name": "MB FRU", "Type": "EEPROM" }, ```
(2) For System GUID that BIOS populates into SMBIOS table during POST, also use the MB FRU eeprom path instead of the hardcoding eeprom path.
Change-Id: If950c471f92b99180bab1a629d56d3a912d3b5f4 Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
show more ...
|
4de58763 | 01-Sep-2023 |
Potin Lai <potin.lai@quantatw.com> |
storagecommands: Extended I2C bus size to 16-bit
The entity-manager and phosphor-host-ipmid changed the D-Bus signature of the I2C bus number variable from 8-bit to 16-bit.
This commit extented bus
storagecommands: Extended I2C bus size to 16-bit
The entity-manager and phosphor-host-ipmid changed the D-Bus signature of the I2C bus number variable from 8-bit to 16-bit.
This commit extented bus size to 16-bit to fix signature mismatch.
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I37d229bc19b59817ce39ac22d81ef8776feaf8cc
show more ...
|
7480b2f1 | 06-Sep-2023 |
cchoux <cosmo.chou@quantatw.com> |
selcommands: fix the exception when parsing SEL timestamp
(1) Fix the problem caused by casting to mismatched size that time_t is 8 bytes. (2) Change to use thread-safe APIs to covert the timestamp.
selcommands: fix the exception when parsing SEL timestamp
(1) Fix the problem caused by casting to mismatched size that time_t is 8 bytes. (2) Change to use thread-safe APIs to covert the timestamp.
Change-Id: Iac86f636b049ff82bb0df2410afb860436dc882c Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
show more ...
|
7bb4592a | 10-Apr-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
usb-dbg: User Setting frame: Support Boot Order
Description: - Support boot order feature for ocp debug card - Change boot sequence data type from array to vector.
Design: - The behavior of user se
usb-dbg: User Setting frame: Support Boot Order
Description: - Support boot order feature for ocp debug card - Change boot sequence data type from array to vector.
Design: - The behavior of user set/get boot option on debug card will same as the oem set/get boot order cmd. The functions 'getBootOrder' and 'setBootOrder' are extracted from the OEM set/get boot order cmd for OCP debug card operation to use.
Usage: 1. Press uart button to the host want to check. 2. Go to boot order in User Setting frame will get current boot order. 3. After selecting the boot option, the option will be set on the top of the order. And this boot sequence will be get by BIOS and save after the host reboot.
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: If1a2d91f43133e1779f61719a9816f974e068da3
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 ...
|
7c24dde3 | 12-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: I6e407a37c290677230559
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: I6e407a37c290677230559e1d4cab9cb17c6d54c9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
21a79235 | 09-Mar-2023 |
BonnieLo-wiwynn <Bonnie_Lo@wiwynn.com> |
selcommands: send sel entry on dbus
Send sel entry on dbus via logging service. Redfish api will get entries from dbus.
Expected event entry: { "@odata.id": "/redfish/v1/Systems/system/LogService
selcommands: send sel entry on dbus
Send sel entry on dbus via logging service. Redfish api will get entries from dbus.
Expected event entry: { "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/63", "@odata.type": "#LogEntry.v1_9_0.LogEntry", "AdditionalDataURI": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/63/attachment", "Created": "2018-03-14T11:34:35.178+00:00", "EntryType": "Event", "Id": "63", "Message": SEL Entry Added: SEL Entry: FRU: 1, Record: Standard (0x02), Time: Fri Feb 18 16:06:25 1972\n, Sensor: THERM_THRESH_EVT (0x7D), Event Data: (010000) Limit Exceeded Assertion "Modified": "2018-03-14T11:34:35.178+00:00", "Name": "System Event Log Entry", "Resolved": false, "Severity": "OK" }
Tested: Tested and verified on greatlakes platform. Change-Id: Ic9584474f9bf3619f0eed95f7d19039850899c07 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 ...
|
7430e8d2 | 09-Mar-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
usb-dbg: critical sel frame: Support critical sel show on debug card
Description: - Show all critical sel messages on debug card
Design: - This feature will iterate loggers from xyz.openbmc_proje
usb-dbg: critical sel frame: Support critical sel show on debug card
Description: - Show all critical sel messages on debug card
Design: - This feature will iterate loggers from xyz.openbmc_project. Logging.Entry to parse all the critical sels and show its message property on debug card.
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I562fa1f6d456b250b09c649d1ca95e8f5fe78c2c
show more ...
|
4ae63e71 | 09-Feb-2023 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
IPMI OEM Get 80 Port Record
Register an IPMI command handler NetFn: 0x30 Cmd: 0x49
This handler is for user from host to get POST code sequence.
The maximum return size is 224 due to IPMB limitati
IPMI OEM Get 80 Port Record
Register an IPMI command handler NetFn: 0x30 Cmd: 0x49
This handler is for user from host to get POST code sequence.
The maximum return size is 224 due to IPMB limitation.
Test Case: Call IPMI OEM get 80 port record
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Iaf8c060b1e8340280928e195c205455b88df5dfd
show more ...
|
c0f918b5 | 22-Mar-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
IPMI OEM: Fix that the boot order we get by IPMI is not the same as we set
Fix: 1. Corrected the bios boot mode setup bit according to fb-oem spec Bit 2 - Force Boot into BIOS Setup. 2. In the or
IPMI OEM: Fix that the boot order we get by IPMI is not the same as we set
Fix: 1. Corrected the bios boot mode setup bit according to fb-oem spec Bit 2 - Force Boot into BIOS Setup. 2. In the original design which only gets the boot source property from Dbus BootSource property, it might cause some boot mode bits (e.g boot flag or CMOS clear bit) don't display. So set property in boot enable interface for valid bit and add CMOS clear bit. 3. Return boot source from /etc/oemData.json directly to avoid the interface cannot handle all oem boot source problem (e.g ipv4 and ipv6)
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: Ia33ce568e37912a258895e07d1d0365142ca4e2b
show more ...
|