Skip to content

Conversation

@jaganathK-celestica
Copy link

@jaganathK-celestica jaganathK-celestica commented Mar 25, 2025

Description:
This pull request modifies the "oob_eeprom" firmware upgrade process by replacing the manual I2C device creation and dynamic dd commands with a new i2cEeprom command. This change simplifies the upgrade operation for the OOB EEPROM.

Motivation:
The previous implementation of the oob_eeprom upgrade process involved multiple steps, including I2C bus reads, dynamic I2C device creation, and dd commands to read and write to the EEPROM. By introducing the i2cEeprom command, we encapsulate these steps into a single, more manageable operation. This improves readability, reduces the potential for errors, and simplifies maintenance.

Testing:
The changes were tested by:

  • Verifying that the firmware upgrade process completes successfully using the new i2cEeprom command.
  • Manually inspecting the firmware configuration to ensure that the changes are correctly applied.

Unit test:
Logs after merging PR's [1/3]common: I2cExplorer, [2/3]common: fw_utils and [3/3]tahan: config
upgrade_log.txt
downgrade_log.txt
jq_log.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.

@jaganathK-celestica jaganathK-celestica changed the title [3/3]tahan: config: Adding fw_util json modification for Tahan platform [3/3]OOB_eeprom support: tahan: config: fw_util json modification for Tahan platform Apr 15, 2025
@Scott8440 Scott8440 closed this Aug 14, 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.

3 participants