#
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 ...
|
#
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 ...
|
#
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 ...
|
#
8d1a81e8 |
| 19-Dec-2022 |
Potin Lai <potin.lai@quantatw.com> |
oemcommands: update getIPObject() search method
The SYS_info frame is broken due to phosphor-network changed the object path of IP address. Remove IP type from object path match string, use `Type` p
oemcommands: update getIPObject() search method
The SYS_info frame is broken due to phosphor-network changed the object path of IP address. Remove IP type from object path match string, use `Type` property to identify this address is IPv4 or IPv6.
Tested on Bletchley.
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: If44ab42fcc86a915c9141bf29780e9e52cb1a01b
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 ...
|
#
3f671273 |
| 12-Oct-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
oemcommands: set system guid
Remove unused input parameter for ipmiOemSetSystemGuid.
Test Case: Call IPMI OEM Set System GUID for different BIC
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Chan
oemcommands: set system guid
Remove unused input parameter for ipmiOemSetSystemGuid.
Test Case: Call IPMI OEM Set System GUID for different BIC
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Ic708e0a34867b8708860f3a82810a3aebbfc9e09
show more ...
|
#
e4d6fe74 |
| 23-Aug-2022 |
Logananth Sundararaj <logananth_s@hcl.com> |
Add BIC to handle the DCMI commands
Added a BIC enable check to parshes the DCMI commands in IPMI OEM.
Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com> Change-Id: I8c02926168e74a613762e6ff
Add BIC to handle the DCMI commands
Added a BIC enable check to parshes the DCMI commands in IPMI OEM.
Signed-off-by: Logananth Sundararaj <logananth_s@hcl.com> Change-Id: I8c02926168e74a613762e6ffa18bf759fcc0d4ab
show more ...
|
#
d5353caa |
| 10-Aug-2022 |
Potin Lai <potin.lai@quantatw.com> |
oemcommands: fix compile error of unused parameter
Fix the error of unused parameter when BIC disabled.
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I0d3f646e3a2e7c80b815435f7708b9c
oemcommands: fix compile error of unused parameter
Fix the error of unused parameter when BIC disabled.
Signed-off-by: Potin Lai <potin.lai@quantatw.com> Change-Id: I0d3f646e3a2e7c80b815435f7708b9caf897218d
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 ...
|
#
6d9e9a75 |
| 18-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
fix build failure
Seeing the following in Yocto:
``` 09:57:11 | ../git/src/oemcommands.cpp: In function 'ipmi::RspType<std::vector<unsigned char, std::allocator<unsigned char> > > ipmi::ipmiOemQGet
fix build failure
Seeing the following in Yocto:
``` 09:57:11 | ../git/src/oemcommands.cpp: In function 'ipmi::RspType<std::vector<unsigned char, std::allocator<unsigned char> > > ipmi::ipmiOemQGetDimmInfo(Context::ptr, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)': 09:57:11 | ../git/src/oemcommands.cpp:1683:31: error: 'findHost' is not a member of 'ipmi::boot'; did you mean 'findHost'? 09:57:11 | 1683 | auto hostId = ipmi::boot::findHost(ctx->hostIdx); ```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib2379bd5248296f7554fc8ea77d19034dbdfee4c
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 ...
|
#
123cbcc4 |
| 24-Jun-2022 |
Patrick Williams <patrick@stwcx.xyz> |
oemcommands: fix invalid string find result
Comparison on a std::string::find was against -1, but find returns an unsigned size_t. The correct approach is to compare against npos.
Signed-off-by: P
oemcommands: fix invalid string find result
Comparison on a std::string::find was against -1, but find returns an unsigned size_t. The correct approach is to compare against npos.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5a5aeff0dad9d2d47eef9bdb258643df8c4464bf
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 ...
|
#
77ee489f |
| 08-Apr-2022 |
Jayashree Dhanapal <jayashree-d@hcl.com> |
Refactoring code for boot-order configuration
Refactoring the code to use sdbusplus which has automatic conversions for the enum types from convertTypesToString() to sdbusplus::messsage::convert_to_
Refactoring code for boot-order configuration
Refactoring the code to use sdbusplus which has automatic conversions for the enum types from convertTypesToString() to sdbusplus::messsage::convert_to_string().
TESTED : Tested on Facebook Yosemitev2 platform and verified the results
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: Idc84eb43f192a4ed12f414b97e48b7fb6b72628c
show more ...
|
#
778147da |
| 30-Mar-2022 |
Jayashree Dhanapal <jayashree-d@hcl.com> |
Added BootType property for Get/Set BootOrder
Added BootType property and interface in Get and Set Boot Order handler to determine the BIOS boot options which supports both Legacy and EFI.
TESTED :
Added BootType property for Get/Set BootOrder
Added BootType property and interface in Get and Set Boot Order handler to determine the BIOS boot options which supports both Legacy and EFI.
TESTED : Tested on Facebook Yosemitev2 platform and verified the results.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I7ce11a03a4b844de0d27ba7a105bc6b8912351d3
show more ...
|
#
39836ffa |
| 17-Jan-2022 |
Karthikeyan Pasupathi <p_karthikeya@hcl.com> |
yosemitev2:Add multi-host critical sensor support
This feature adds the host critical sensor support for Facebook Yosemitev2 platform.
Tested: Critical sensor value displayed in the OCP debug card
yosemitev2:Add multi-host critical sensor support
This feature adds the host critical sensor support for Facebook Yosemitev2 platform.
Tested: Critical sensor value displayed in the OCP debug card with multi-host Yosemitev2 platform.
Signed-off-by: Karthikeyan Pasupathi <p_karthikeya@hcl.com> Change-Id: Ia77af76ac4e07435e7ed6287be8806efcd3ff86b
show more ...
|
#
35d12546 |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia4086e77ad205e9a6a73a6ca570036818e3069fe
|
#
f0cf6658 |
| 29-Nov-2020 |
Jayashree-D <jayashree-d@hcl.com> |
Add boot order configuration support for yosemitev2. Added implementation for boot order configuration to get and set boot order using dbus objects in multihost. TESTED: Tested
Add boot order configuration support for yosemitev2. Added implementation for boot order configuration to get and set boot order using dbus objects in multihost. TESTED: Tested in tiogapass and yosemitev2 hardware. Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: Iae9da2e36ac78c23e53bf2d1161e23c975384950
show more ...
|
#
5f8e3435 |
| 01-Dec-2020 |
Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> |
meta-yosemitev2: add system get/set guid support Added get/set system GUID command for multi host YosemiteV2, it reads/writes guid to the corresponding hosts Bridge IC(BIC). Tes
meta-yosemitev2: add system get/set guid support Added get/set system GUID command for multi host YosemiteV2, it reads/writes guid to the corresponding hosts Bridge IC(BIC). Tested: Verified this with host reboot(BIOS automatically sends get GUID command to BMC). Verified this ipmitool. Get System GUID: ipmitool raw 60x37 Set System GUID: ipmitool raw 0x30 0xEF 0 252 109 1 0 135 236 73 26 54 249 84 1 1 80 7 8 Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com> Change-Id: I4d24a2fb4bf98f38afd7c0d07df0005c22535d48
show more ...
|
#
d1194024 |
| 27-May-2020 |
Vijay Khemka <vijaykhemka@fb.com> |
Update clang format file Updated clang format file from docs repo to match with clang-format 10. Also fixed some of files as per new clang format. Change-Id: I36277447722e5c52da
Update clang format file Updated clang format file from docs repo to match with clang-format 10. Also fixed some of files as per new clang format. Change-Id: I36277447722e5c52dac49e0da745b0b0e870d298 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
show more ...
|