13ce3793 | 27-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
usb-dbg: C++ise frames
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I25e4bcb74c8a5294b09531d95d66b22432ed070e |
a758d0a4 | 27-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
usb-dbg: C++ise panel
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib4671a3598d61f903f868846196cd8e645b11fb7 |
d96e2701 | 23-May-2024 |
Potin Lai <potin.lai@quantatw.com> |
groupextcommands: Add SBMR send boot progress command
Add send boot progress command for postcode recording. NetFn: 0x2C, Cmd: 0x02, Group: 0xAE (SBMR)
Tested Result: ``` root@bmc:~# ipmitool raw 0
groupextcommands: Add SBMR send boot progress command
Add send boot progress command for postcode recording. NetFn: 0x2C, Cmd: 0x02, Group: 0xAE (SBMR)
Tested Result: ``` root@bmc:~# ipmitool raw 0x2C 0x02 0xAE 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 ae root@bmc:~# ipmitool raw 0x2C 0x02 0xAE 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 ae root@bmc:~# ipmitool raw 0x2C 0x02 0xAE 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 ae root@bmc:~# busctl call xyz.openbmc_project.State.Boot.PostCode0 /xyz/openbmc_project/State/Boot/PostCode0 xyz.openbmc_project.State.Boot.PostCode GetPostCodes q 1 -j { "type" : "a(tay)", "data" : [ [ [ 72623859790382856, [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ] ], [ 1230066625199609624, [ 17, 18, 19, 20, 21, 22, 23, 24, 25 ] ], [ 2387509390608836392, [ 33, 34, 35, 36, 37, 38, 39, 40, 41 ] ] ] ] } ```
Change-Id: If064fe1300c63e334022a54054958a000200d9d8 Signed-off-by: Potin Lai <potin.lai@quantatw.com>
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 ...
|
99d42b6e | 14-Aug-2024 |
Cosmo Chou <cosmo.chou@quantatw.com> |
oemcommands: add https boot commands
1. netfn 0x30, cmd 0x57: GET_HTTPS_BOOT_DATA: for BIOS to read cert data during POST
2. netfn 0x30, cmd 0x58: GET_HTTPS_BOOT_ATTR: for BIOS to read cert info du
oemcommands: add https boot commands
1. netfn 0x30, cmd 0x57: GET_HTTPS_BOOT_DATA: for BIOS to read cert data during POST
2. netfn 0x30, cmd 0x58: GET_HTTPS_BOOT_ATTR: for BIOS to read cert info during POST param 0: cert size param 1: CRC32 of the cert
Change-Id: I258072916061f7859d101f2b4f8cdda018314b0c Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
show more ...
|
b340aa28 | 08-Jul-2024 |
Peter Yin <peter.yin@quantatw.com> |
Add extra postcode and remove critical sensor/SEL
1.Add 4-byte postcode support for AMD platform. 2.Remove critical sensor and SEL support.
Change-Id: Icb14afb4424ad03410a3a1b749036f1e6b3f3842 Sign
Add extra postcode and remove critical sensor/SEL
1.Add 4-byte postcode support for AMD platform. 2.Remove critical sensor and SEL support.
Change-Id: Icb14afb4424ad03410a3a1b749036f1e6b3f3842 Signed-off-by: Peter Yin <peter.yin@quantatw.com>
show more ...
|
7ab87bbb | 27-Jun-2024 |
Cosmo Chou <cosmo.chou@quantatw.com> |
support OEM Crashdump
Supports OEM Crashdump command, BIOS sends crashdump data during POST.
Change-Id: Ie3eaee7c14ae52623b8e150e7ef9aa453fe26820 Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com> |
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> |
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 ...
|
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 ...
|
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 ...
|
e1ff81fa | 21-Nov-2022 |
Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> |
usb-dbg: Handled error for host selector position
Added error handling for host selector position and enhancement.
Tested on Yosemitev2
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail
usb-dbg: Handled error for host selector position
Added error handling for host selector position and enhancement.
Tested on Yosemitev2
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> Change-Id: Iac9414ccc282bd3e24b6434f0ae57dac586659a6
show more ...
|
cd315e07 | 22-Jul-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
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5763a3249f5c8baba800cf5886cb0df4d6b21e58
show more ...
|
d532feca | 14-Jul-2022 |
Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> |
yosemitev2:Multi-host CPU info displayed in OCP debug-card.
This implementation is going to display the processor information in the OCP debug-card.
Tested: information frame value of processor inf
yosemitev2:Multi-host CPU info displayed in OCP debug-card.
This implementation is going to display the processor information in the OCP debug-card.
Tested: information frame value of processor info displayed in the OCP debug card with multi-host Yosemitev2 platform.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> Change-Id: Iec29bae79a4c56d92184a69ea187549895f34db9
show more ...
|
10ff3d86 | 06-Apr-2022 |
Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> |
yosemitev2:Multi-host DIMM info displayed in OCP debug card
This implementation is going to display the DIMM information in the OCP debug-card.
Tested: information frame value of Dimm info displaye
yosemitev2:Multi-host DIMM info displayed in OCP debug card
This implementation is going to display the DIMM information in the OCP debug-card.
Tested: information frame value of Dimm info displayed in the OCP debug card with multi-host Yosemitev2 platform.
Change-Id: Ia3f198ee99806e25c6fe8e995130d45a9ac0f23b Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com>
show more ...
|
4ec80567 | 28-Jun-2022 |
Jayashree Dhanapal <jayashree-d@hcl.com> |
Refactored code to support INSTANCES as string
Modified code in meson build to support INSTANCES flag as string type which is passed from machine layer bb file.
Tested: Tested and verified the INST
Refactored code to support INSTANCES as string
Modified code in meson build to support INSTANCES flag as string type which is passed from machine layer bb file.
Tested: Tested and verified the INSTANCES value.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I91a7610157c30abf2cbc4783350d8b0a744a6ba9
show more ...
|
98aabdb1 | 06-Apr-2022 |
Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> |
yosemitev2: Multi-host information displayed in OCP debug-card
This implementation is going to display the following info in OCP debug card. 1) FRU details 2) ME status which is support for the Face
yosemitev2: Multi-host information displayed in OCP debug-card
This implementation is going to display the following info in OCP debug card. 1) FRU details 2) ME status which is support for the Facebook Yosemitev2 platform.
Tested: information frame value of FRU info displayed in the OCP debug card with multi-host Yosemitev2 platform.
Signed-off-by: Karthikeyan Pasupathi <pkarthikeyan1509@gmail.com> Change-Id: I7cf042af9bcd295b90df4044d37b186e1086ae79
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 ...
|
f863a184 | 16-Jun-2022 |
Patrick Williams <patrick@stwcx.xyz> |
cmake: fix externalproject for latest host-ipmid
phosphor-host-ipmid did a conversion to meson but our externalproject implementation was not updated correspondingly. Fix that up now and do a minor
cmake: fix externalproject for latest host-ipmid
phosphor-host-ipmid did a conversion to meson but our externalproject implementation was not updated correspondingly. Fix that up now and do a minor header path change necessary per the latest upstream code.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8cfe67a61d14e71b4cad217e13cac2030b707bd3
show more ...
|