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

Initial config for minipack3n fw_util.json #348

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brandonchuang
Copy link
Contributor

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

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](https://github.com/user-attachments/files/19122525/minipack3n-fwutil_execute_on_mp3n_log_20250304.txt)
@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