Skip to content

Icetea: config: platform service configurations support for EVT1#484

Closed
joywu-coder wants to merge 17 commits into
facebook:mainfrom
joywu-coder:icetray_configs_evt1
Closed

Icetea: config: platform service configurations support for EVT1#484
joywu-coder wants to merge 17 commits into
facebook:mainfrom
joywu-coder:icetray_configs_evt1

Conversation

@joywu-coder

@joywu-coder joywu-coder commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

Description

FBOSS platform service configurations support for the EVT1 phase.

Motivation

Based on the Icetea EVT1 hardware specifications, the preliminary version configurations of platform_manager, fw_util, weutil, sensor_service, led_manager, and fan_service are provided for the EVT1 phase.

We currently lack physical devices for testing, meaning that the configs have not yet been verified on actual hardware. However, Fboss compilation and config cross-check are passed.

Test Plan

  1. The correctness of the format has been verified on this jsonlint website.
  2. Used jq command to pretty the format.
  3. Compilation and multiple services config cross-check are passed.

image

Build_fboss_platform_services_log.txt

@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@joywu-coder joywu-coder changed the title Icetray: config: platform service configurations support for EVT1 Jul 3, 2025
@joywu-coder

joywu-coder commented Jul 3, 2025

Copy link
Copy Markdown
Contributor Author

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@mikechoifb Please import this PR, thanks.

"SMBus I801 adapter at 5000",
"SMBus iSMT adapter at 20fffa7b000"
],
"versionedPmUnitConfigs": {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have versionedPmUnitConfigs for NETLAKE PmUnit? Considering the hardware is not there yet, how are we already having multiple versions? .. hmmm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@somasun , NetLake is a common building block (COMe) used by most of NPI projects. We are going to use NetLake version .2 for this project. (As of now.)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have two NETLAKE PmUnit configs in this PR. One is version 2, and another is default. If we are going to use version 2, why not make it the default?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joywu-coder , can you remove the Netlake version config that restrics Netlake version to "2" only?

@joywu-coder joywu-coder Jul 4, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joywu-coder , can you remove the Netlake version config that restrics Netlake version to "2" only?

@mikechoifb @somasun Got it, thanks for your comments, Lucas has been clarifying this issue by email "Config for versions of NETLAKE(COMe) in fboss PRs"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joywu-coder It's been a while... Can we make Netlake config as just regular config and NOT versioned config?

@joywu-coder joywu-coder Jul 24, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I have completed the update. Thank you!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@somasun @mikechoifb Please review this PR again, we have updated the COMe configuration, thank you!

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@joywu-coder has updated the pull request. You must reimport the pull request before landing.

@joywu-coder joywu-coder requested a review from somasun July 25, 2025 02:34
@clslucas

Copy link
Copy Markdown
Contributor

@somasun @mikechoifb Please review this PR again, we have updated the COMe configuration, thank you!

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@mikechoifb has imported this pull request. If you are a Meta employee, you can view this in D77387924.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@mikechoifb merged this pull request in 303c1f3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment