History log of /openbmc/fb-ipmi-oem/src/usb-dbg.cpp (Results 1 – 25 of 44)
Revision Date Author Comments
# 3add478b 25-Nov-2024 Daniel Hsu <Daniel-Hsu@quantatw.com>

usb-dbg: Update to determine when the BIOS should be displayed

Update to enable BIOS version display for non-multi-host platforms.

Change-Id: Ice9c3776ebaa69927871ae2daff96eb6898b0627
Signed-off-by

usb-dbg: Update to determine when the BIOS should be displayed

Update to enable BIOS version display for non-multi-host platforms.

Change-Id: Ice9c3776ebaa69927871ae2daff96eb6898b0627
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>

show more ...


# 5e18a70e 05-Oct-2024 Cosmo Chou <cosmo.chou@quantatw.com>

Change primary postcode interface to byte array

Change primary code to std::vector<uint8_t> to meet the changes in
phosphor-dbus-interface.

[1] https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-in

Change primary postcode interface to byte array

Change primary code to std::vector<uint8_t> to meet the changes in
phosphor-dbus-interface.

[1] https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/74633

Change-Id: Ie1207d703f8bc1ad42fedc5bcbcbd0e4c23dacde
Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>
Signed-off-by: Potin Lai <potin.lai@quantatw.com>

show more ...


# d8d95a3d 27-May-2024 Daniel Hsu <Daniel-Hsu@quantatw.com>

oemcommands: Update USB debug command to get FRU data

Use dbus call to get FRU path instead of just "baseboard".

Change-Id: Icf940ea9221da46a4424a2b439ce021dd48daf3e
Signed-off-by: Daniel Hsu <Dani

oemcommands: Update USB debug command to get FRU data

Use dbus call to get FRU path instead of just "baseboard".

Change-Id: Icf940ea9221da46a4424a2b439ce021dd48daf3e
Signed-off-by: Daniel Hsu <Daniel-Hsu@quantatw.com>

show more ...


# 5a6917db 05-Sep-2024 Cosmo Chou <cosmo.chou@quantatw.com>

usb-dbg: fix postcode frame buffer overflow

Correctly limit to 10 pages, and display the latest codes.
Shorten the title to display the page number, also align with
fb-openbmc.

Change-Id: I8f6b0a20

usb-dbg: fix postcode frame buffer overflow

Correctly limit to 10 pages, and display the latest codes.
Shorten the title to display the page number, also align with
fb-openbmc.

Change-Id: I8f6b0a2025310b037cf3b4e40078ceb6e47383f3
Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>

show more ...


# 3c9f5b60 28-Aug-2024 Potin Lai <potin.lai@quantatw.com>

usb-dbg: include extra code as part of postcode

Catalina system stores the first 8 bytes postcode in to primary code and
store last one byte into extra code array.

Include extra code as part of pos

usb-dbg: include extra code as part of postcode

Catalina system stores the first 8 bytes postcode in to primary code and
store last one byte into extra code array.

Include extra code as part of postcode to display full postcode on debug
card screen.

Change-Id: I4e4b40a254e90e0b4ae6d4ace16a93526f3f4c6c
Signed-off-by: Potin Lai <potin.lai@quantatw.com>

show more ...


# 6c02bfb1 29-Aug-2024 Cosmo Chou <cosmo.chou@quantatw.com>

usb-dbg: fix frame parse

Fixed that indent being incorrectly appended.

Change-Id: I427bbbc961e4d2e3c393947ff4b53d6b866fa1f0
Signed-off-by: Cosmo Chou <cosmo.chou@quantatw.com>


# 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


# 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 ...


# 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 ...


# 5e589481 13-Jul-2024 Patrick Williams <patrick@stwcx.xyz>

usb-dbg: fix type mismatch

There are two declarations of the plat_dbg_control_panel
function which disagree in return type. This results in the
following error under GCC-14:

```
| /usr/src/debug/f

usb-dbg: fix type mismatch

There are two declarations of the plat_dbg_control_panel
function which disagree in return type. This results in the
following error under GCC-14:

```
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/oemcommands.cpp:64:12: error: type of 'plat_udbg_control_panel' does not match original declaration [-Werror=lto-type-mismatch]
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1212:5: note: return value type mismatch
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1212:5: note: type 'int' should match type 'ipmi_ret_t'
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1212:5: note: 'plat_udbg_control_panel' was previously declared here
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/oemcommands.cpp:62:12: error: type of 'plat_udbg_get_frame_data' does not match original declaration [-Werror=lto-type-mismatch]
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1072:5: note: return value type mismatch
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1072:5: note: type 'int' should match type 'ipmi_ret_t'
| /usr/src/debug/fb-ipmi-oem/0.1+git/src/usb-dbg.cpp:1072:5: note: 'plat_udbg_get_frame_data' was previously declared here
```

Fix the return type to use the `ipmi_ret_t` as appropriate.

Make a similar change for plat_udbg_get_frame_data, but switch the
`oemcommands.cpp` definition to `int`, since the function appears to
use many calls that return int (and this is the simple change right
now).

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

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


# 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 ...


# 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 ...


# 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 ...


# 2ca4aa0e 01-Feb-2023 Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>

usb-dbg: Support sensor out of threshold message present

Description:
- Modified sensors config for greatlakes platform those currently supported.
- Support OCP debug card sensor frame threshold m

usb-dbg: Support sensor out of threshold message present

Description:
- Modified sensors config for greatlakes platform those currently supported.
- Support OCP debug card sensor frame threshold message shown when sensor value is out of threshold.
e.g “P0_temp XXC/UCR”
- Support OCP debug card screen blink and invert the color if the sensor out of threshold.

Test Case:
Sensor threshold message should be shown on debug card when the sensor value is out of threshold.

Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
Change-Id: I894b50bee33ad84abc07c5aa086fe1b798b7079b

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


# e9baaff1 08-Nov-2022 Bonnie Lo <Bonnie_Lo@wiwynn.com>

appcommands: support multi-host set/get fw version

Support multi-host set/get fw version in IPMI set/get system info command

Test case:
Get bios version from different host success.

Signed-off-by:

appcommands: support multi-host set/get fw version

Support multi-host set/get fw version in IPMI set/get system info command

Test case:
Get bios version from different host success.

Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com>
Change-Id: Id2e1598bbe8f7d834fe3c31710384a7dbbe537e0

show more ...


# f24c78e8 27-Oct-2022 Potin Lai <potin.lai@quantatw.com>

usb-dbg: get MaxPostion from DBus

Add a function to retrive MaxPostion property value from DBus.

Tested on Bletchley.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic2c8e1000298e499

usb-dbg: get MaxPostion from DBus

Add a function to retrive MaxPostion property value from DBus.

Tested on Bletchley.

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ic2c8e1000298e49980bad635914d870186f93647

show more ...


# 2ad53981 27-Oct-2022 Potin Lai <potin.lai@quantatw.com>

usb-dbg: add meson option for enabling ME support

Add a meson option called me_support for enabling ME related feature.
Default value is true (enable)

Tested on Bletchley with me_support false

Sig

usb-dbg: add meson option for enabling ME support

Add a meson option called me_support for enabling ME related feature.
Default value is true (enable)

Tested on Bletchley with me_support false

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7e9f632b53c68b95f1d63f5408a9025f2a20fc3a

show more ...


# cff150e3 18-Sep-2022 Potin Lai <potin.lai@quantatw.com>

usb-dbg: modify HostSelector interface

Modify HostSelector interface to follow phosphor-dbus-interface.
LINK: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project

usb-dbg: modify HostSelector interface

Modify HostSelector interface to follow phosphor-dbus-interface.
LINK: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Chassis/Buttons/HostSelector.interface.yaml

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: Ia2ba24870c6f48f77cfad6b38983f8275ad308ab

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


12