Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fw_util: add DARWIN48V platform support (#265)
Summary: # 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). Pull Request resolved: #265 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 ``` Reviewed By: Scott8440 Differential Revision: D64087852 Pulled By: joancaneus fbshipit-source-id: a4cd89a8bdfda1f3f3b9e697b5ef4de4d79c7289
- Loading branch information