Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artemis: cb: Support second source VR PLDM firmware update #1483

Conversation

MarshallZhan-wiwynn
Copy link
Collaborator

Description

  • Support ACB second source VR (MP2985) PLDM firmware update.

Motivation

  • Support ACB second source VR (MP2985) PLDM firmware update.

Test Plan

  • Build code: Pass
  • Update VR (MP2985) firmware: Pass
  • Get VR sensor reading: Pass

Log

  • Update VR (MP2985) firmware root@bmc-oob:# fw-util cb --version pesw_vr
    CB PESW_VR Version: MPS 9d072a02, Remaining Write: 99 root@bmc-oob:
    # fw-util cb --update pesw_vr at_cb_mp2985_AF53B46C.pldm RequestUpdate Success.
    PassComponentTable Success.
    UpdateComponent Success.
    Download offset : 0x00007c00/0x00007c90, size : 0x00000090 TransferComplete.
    VerifyComplete.
    ApplyComplete.
    ActivateFirmwareComplete.
    Upgrade of cb : pesw_vr succeeded
    root@bmc-oob:# fw-util cb --version pesw_vr
    CB PESW_VR Version: MPS 9d072a02, Remaining Write: 99 root@bmc-oob:
    # power-util sled-cycle
    client_loop: send disconnect: Broken pipe
    lora@ber300-f5a-dhcp:$ sshpass -p 0penBmc ssh [email protected] Last login: Fri Mar 9 04:35:23 2018 from 192.168.88.1 root@bmc-oob:# fw-util cb --version pesw_vr
    CB PESW_VR Version: MPS af53b46c, Remaining Write: 98 root@bmc-oob:# fw-util cb --update pesw_vr at_cb_mp2985_9D072A02.pldm RequestUpdate Success.
    PassComponentTable Success.
    UpdateComponent Success.
    Download offset : 0x00007c00/0x00007c5e, size : 0x0000005e TransferComplete.
    VerifyComplete.
    ApplyComplete.
    ActivateFirmwareComplete.
    Upgrade of cb : pesw_vr succeeded
    root@bmc-oob:
    # fw-util cb --version pesw_vr
    CB PESW_VR Version: MPS af53b46c, Remaining Write: 98 root@bmc-oob:# power-util sled-cycle
    client_loop: send disconnect: Broken pipe
    lora@ber300-f5a-dhcp:
    $ sshpass -p 0penBmc ssh [email protected] Last login: Fri Mar 9 04:35:48 2018 from 192.168.88.1 root@bmc-oob:~# fw-util cb --version pesw_vr
    CB PESW_VR Version: MPS 9d072a02, Remaining Write: 97

  • Get VR sensor reading root@bmc-oob:~# sensor-util cb | grep CB_P0V8_VDD
    CB_P0V8_VDD_1_VOLT_V (0x57) : 0.800 Volts | (ok)
    CB_P0V8_VDD_2_VOLT_V (0x58) : 0.800 Volts | (ok)
    CB_P0V8_VDD_1_CURR_A (0x59) : 34.562 Amps | (ok)
    CB_P0V8_VDD_2_CURR_A (0x5A) : 34.500 Amps | (ok)
    CB_P0V8_VDD_1_PWR_W (0x5B) : 27.750 Watts | (ok)
    CB_P0V8_VDD_2_PWR_W (0x5C) : 27.750 Watts | (ok)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 27, 2023
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Description:
- Support ACB second source VR (MP2985) PLDM firmware update.

Motivation:
- Support ACB second source VR (MP2985) PLDM firmware update.

Test Plan:
- Build code: Pass
- Update VR (MP2985) firmware: Pass
- Get VR sensor reading: Pass

Log:
- Update VR (MP2985) firmware
root@bmc-oob:~# fw-util cb --version pesw_vr
CB PESW_VR Version: MPS 9d072a02, Remaining Write: 99
root@bmc-oob:~# fw-util cb --update pesw_vr at_cb_mp2985_AF53B46C.pldm
RequestUpdate Success.
PassComponentTable Success.
UpdateComponent Success.
Download offset : 0x00007c00/0x00007c90, size : 0x00000090
TransferComplete.
VerifyComplete.
ApplyComplete.
ActivateFirmwareComplete.
Upgrade of cb : pesw_vr succeeded
root@bmc-oob:~# fw-util cb --version pesw_vr
CB PESW_VR Version: MPS 9d072a02, Remaining Write: 99
root@bmc-oob:~# power-util sled-cycle
client_loop: send disconnect: Broken pipe
lora@ber300-f5a-dhcp:~$ sshpass -p 0penBmc ssh [email protected]
Last login: Fri Mar  9 04:35:23 2018 from 192.168.88.1
root@bmc-oob:~# fw-util cb --version pesw_vr
CB PESW_VR Version: MPS af53b46c, Remaining Write: 98
root@bmc-oob:~# fw-util cb --update pesw_vr at_cb_mp2985_9D072A02.pldm
RequestUpdate Success.
PassComponentTable Success.
UpdateComponent Success.
Download offset : 0x00007c00/0x00007c5e, size : 0x0000005e
TransferComplete.
VerifyComplete.
ApplyComplete.
ActivateFirmwareComplete.
Upgrade of cb : pesw_vr succeeded
root@bmc-oob:~# fw-util cb --version pesw_vr
CB PESW_VR Version: MPS af53b46c, Remaining Write: 98
root@bmc-oob:~# power-util sled-cycle
client_loop: send disconnect: Broken pipe
lora@ber300-f5a-dhcp:~$ sshpass -p 0penBmc ssh [email protected]
Last login: Fri Mar  9 04:35:48 2018 from 192.168.88.1
root@bmc-oob:~# fw-util cb --version pesw_vr
CB PESW_VR Version: MPS 9d072a02, Remaining Write: 97

- Get VR sensor reading
root@bmc-oob:~# sensor-util cb | grep CB_P0V8_VDD
CB_P0V8_VDD_1_VOLT_V         (0x57) :   0.800 Volts | (ok)
CB_P0V8_VDD_2_VOLT_V         (0x58) :   0.800 Volts | (ok)
CB_P0V8_VDD_1_CURR_A         (0x59) :  34.562 Amps  | (ok)
CB_P0V8_VDD_2_CURR_A         (0x5A) :  34.500 Amps  | (ok)
CB_P0V8_VDD_1_PWR_W          (0x5B) :  27.750 Watts | (ok)
CB_P0V8_VDD_2_PWR_W          (0x5C) :  27.750 Watts | (ok)
@LoraLin1 LoraLin1 force-pushed the Lora/Artemis/ACB-Support_2nd_vr_fw_update branch from dda4d53 to 16b4267 Compare December 1, 2023 00:47
@facebook-github-bot
Copy link
Contributor

@MarshallZhan-wiwynn has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@LoraLin1
Copy link
Collaborator

LoraLin1 commented Dec 1, 2023

Hi Meta team:
We rebase main and force update this branch.
If you have any concerns about this commit please let me know, thank you.

Regards,
Lora.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a566847.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants