fboss icon indicating copy to clipboard operation
fboss copied to clipboard

Initial config for minipack3n fw_util.json

Open brandonchuang opened this issue 8 months ago • 1 comments

Description:

  1. Add fw_util.json for the minipack3n fw_util.
  2. This configuration has been tested on minipack3n.
  3. 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

brandonchuang avatar Mar 07 '25 07:03 brandonchuang

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

facebook-github-bot avatar Mar 11 '25 06:03 facebook-github-bot

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

facebook-github-bot avatar Apr 01 '25 06:04 facebook-github-bot

Added BIOS read and verify actions.

brandonchuang avatar Apr 01 '25 07:04 brandonchuang

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

facebook-github-bot avatar Apr 01 '25 07:04 facebook-github-bot

@joancaneus merged this pull request in facebook/fboss@4bdc010794bba62c7a374f7e69f48757eb731d33.

facebook-github-bot avatar Apr 22 '25 22:04 facebook-github-bot