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

fw_util: add DARWIN48V platform support #265

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

adamcalabrigo
Copy link
Contributor

Description

Adds initial fw_util support for DARWIN48V platform. The config is mostly the same as DARWIN, with the one deviation being that we now support upgrading the sc_scd target via flashrom using the scd-spi driver (similar to MERU800BIA platform).

Test Plan

FBOSS OSS build passes with CentOS 9 and Linux kernel 6.4.

Validated on DARWIN48V hardware with all targets.

# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=bios
I0905 18:02:16.545376  6389 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
bios : 7.5.2
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=cpu_cpld
I0905 18:02:24.277890  6394 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
cpu_cpld : 22.37
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=sc_cpld
I0905 18:02:29.067325  6398 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
sc_cpld : 13.7
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=sc_scd
I0905 18:02:34.329194  6406 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
sc_scd : 14.6
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=sc_sat_cpld0
I0905 18:02:40.057369  6410 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
sc_sat_cpld0 : 5.0
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=sc_sat_cpld1
I0905 18:02:43.650451  6414 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
sc_sat_cpld1 : 5.0
# fw_util --config_file=/opt/fboss/share/platform_configs/fw_util.json --fw_action=version --fw_target_name=fan_cpld
I0905 18:02:48.332357  6418 ConfigLib.cpp:48] Using config file: /opt/fboss/share/platform_configs/fw_util.json
fan_cpld : 4.0

@facebook-github-bot
Copy link
Contributor

@joancaneus has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@adamcalabrigo has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@joancaneus has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants