Skip to content

Conversation

@brandonchuang
Copy link
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run
image

Summary

Added fwConfigs entries for bios, iob_fpga, dom_fpga, mcb_cpld, smb_cpld, and scm_cpld. Verified the new configuration on a wedge800cact device.

Test Plan

  1. Print firmware version prior to performing the downgrade.
  2. Perform firmware downgrade.
  3. Power-cycle the system and verify that the downgraded firmware version is correctly applied.
  4. Perform firmware upgrade.
  5. Power-cycle the system and verify that the upgraded firmware version is correctly applied.
  6. Perform a downgrade followed by an upgrade.
  7. Power-cycle the system again and confirm that the final firmware version matches the expected version.

Test Commands

  1. Get Version : fw_util --config_file=./fw_util.json --fw_action=version --fw_target_name=bios
  2. Backup(Old) : fw_util --config_file=./fw_util.json --fw_action=read --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak
  3. Update New : fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=bios --fw_binary_file=./new/NL405.bin
  4. Verify New : fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=bios --fw_binary_file=./new/NL405.bin
  5. Update Old : fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak
  6. Verify Old : fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak

Test Log:
w800c_fw_util_20251201.txt
w800c_fw_util_hw_test_20251201.txt

Summary
Added fwConfigs entries for bios, iob_fpga, dom_fpga, mcb_cpld, smb_cpld, and scm_cpld.
Verified the new configuration on a wedge800cact device.

Test Plan
1. Print firmware version prior to performing the downgrade.
2. Perform firmware downgrade.
3. Power-cycle the system and verify that the downgraded firmware version is correctly applied.
4. Perform firmware upgrade.
5. Power-cycle the system and verify that the upgraded firmware version is correctly applied.
6. Perform a downgrade followed by an upgrade.
7. Power-cycle the system again and confirm that the final firmware version matches the expected version.

Test Commands
1. Get Version : fw_util --config_file=./fw_util.json --fw_action=version --fw_target_name=bios
2. Backup(Old) : fw_util --config_file=./fw_util.json --fw_action=read --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak
3. Update New  : fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=bios --fw_binary_file=./new/NL405.bin
4. Verify New  : fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=bios --fw_binary_file=./new/NL405.bin
5. Update Old  : fw_util --config_file=./fw_util.json --fw_action=program --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak
6. Verify Old  : fw_util --config_file=./fw_util.json --fw_action=verify --fw_target_name=bios --fw_binary_file=./bak/bios_NL404.bak

Test Log:
[w800c_fw_util_20251201.txt](https://github.com/user-attachments/files/23847779/w800c_fw_util_20251201.txt)
[w800c_fw_util_hw_test_20251201.txt](https://github.com/user-attachments/files/23847780/w800c_fw_util_hw_test_20251201.txt)
@meta-cla meta-cla bot added the CLA Signed label Dec 1, 2025
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.

1 participant