Skip to content

[Nexthop][m4062nhp] Add psu1-4 firmware version - #1802

Open
maisey-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:maisey.psu-fw-util-m4062-v2
Open

maisey-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:maisey.psu-fw-util-m4062-v2

Conversation

@maisey-nexthop

@maisey-nexthop maisey-nexthop commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've run the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Adds PSU1-4 firmware version entries to the m4062nhp fw_util.json, so fw_util reports PSU firmware alongside BIOS and the IOB FPGAs. Each entry reads the psuN_fw_version sysfs attribute exposed by the Nexthop FPGA PSU driver under /run/devmap/sensors/PSU_PRESENT/.

Also gives every entry a distinct priority. Before this change BIOS had none and the three IOB entries all shared priority 2.

Test Plan

  • fw_util --fw_action=version --fw_target_name=all on m4062nhp reports PSU1-4 firmware versions

@meta-cla meta-cla Bot added the CLA Signed label Oct 16, 2026
@github-actions github-actions Bot added nexthop project:m4062nhp FBOSS project: m4062nhp labels Oct 16, 2026
@maisey-nexthop
maisey-nexthop marked this pull request as ready for review October 16, 2026 16:35
@maisey-nexthop
maisey-nexthop requested a review from a team as a code owner October 16, 2026 16:35
@srikrishnagopu
srikrishnagopu self-requested a review October 16, 2026 17:50
@meta-codesync

meta-codesync Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

@srikrishnagopu has imported this pull request. If you are a Meta employee, you can view this in D125710438.

@joancaneus

Copy link
Copy Markdown
Contributor

@maisey-nexthop -- can you please rebase? The nomenclature "PSUX" should be lower case. Instead of PSU1, please use psu1.

Also, how do you upgrade those PSU firmware?

Signed-off-by: maisey-nexthop <maisey@nexthop.ai>
@maisey-nexthop
maisey-nexthop force-pushed the maisey.psu-fw-util-m4062-v2 branch from 58e4f3c to c91f6ca Compare October 23, 2026 02:29
@facebook-github-tools

Copy link
Copy Markdown

@maisey-nexthop has updated the pull request. You must reimport the pull request before landing.

@maisey-nexthop maisey-nexthop changed the title [Nexthop][m4062nhp] Add PSU1-4 firmware version [Nexthop][m4062nhp] Add psu1-4 firmware version Oct 23, 2026
@maisey-nexthop
maisey-nexthop marked this pull request as draft October 23, 2026 02:39
@maisey-nexthop

Copy link
Copy Markdown
Contributor Author

@joancaneus the psu firmware is updated before the units are sent out using the firmware upload procedure defined in the ocp m-crps specs

@maisey-nexthop
maisey-nexthop marked this pull request as ready for review October 23, 2026 16:07

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants