fboss
fboss copied to clipboard
Initial config for minipack3n fw_util.json
Description:
- Add
fw_util.jsonfor the minipack3n fw_util. - This configuration has been tested on minipack3n.
- There is an issue with the BIOS program action that needs to be clarified and confirmed.
Test Plan:
Version: fw_util --config_file=./fw_util.json --fw_action=version --fw_target_name=scm_cpld Read : fw_util --config_file=./fw_util.json --fw_action=read --fw_target_name=scm_cpld --fw_binary_file=scm_cpld.bak Verify : fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=scm_cpld --fw_binary_file=scm_cpld.bak Program: fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=scm_cpld --fw_binary_file=CPLD/mp3_scm_cpld_v2.3.0_ugd.bin
Verify if "program" is correct : S1.read fw_util --config_file=./fw_util.json --fw_action=read --fw_target_name=scm_cpld --fw_binary_file=scm_cpld.bak S2.program fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=scm_cpld --fw_binary_file=CPLD/mp3_scm_cpld_v2.3.0_ugd.bin S3.Verify with last version fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=scm_cpld --fw_binary_file=scm_cpld.bak => FAIL S4.Verify with current version fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=scm_cpld --fw_binary_file=CPLD/mp3_scm_cpld_v2.3.0_ugd.bin => OK
Test Log: minipack3n-fwutil_execute_on_mp3n_log_20250304.txt
@joancaneus has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@brandonchuang has updated the pull request. You must reimport the pull request before landing.
Added BIOS read and verify actions.
@brandonchuang has updated the pull request. You must reimport the pull request before landing.
@joancaneus merged this pull request in facebook/fboss@4bdc010794bba62c7a374f7e69f48757eb731d33.