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

janga: config: added janga SMB & COME card pvt sensor config #302

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zhongedward
Copy link
Contributor

@zhongedward zhongedward commented Dec 3, 2024

Description

This PR is for janga SMB & COME card pvt sensor config.

Motivation

1.According to the factory they have added SMB card '3 5 20' about productionstate, productversion,productsubversion.
COME card '4 1 1' about productionstate, productversion,productsubversion.

image

2.So i have added the following configs.
image

3.Note: I still put
SMB_U68_TMP422
SMB_U150_TMP422
SMB_U351_TMP422
SMB_U352_TMP422
SMB_U152_TMP422
them in SMB_FRU_SLOT because they can be recognized in SMB eeprom can not Recognized in JANGA eeprom.I have manually change the SMB eeprom to '3 5 20' it tested ok, if you put them in JANGA slot it tested fail because they belongs to SMB board.

image image

In the hardware table, they belongs to SMB board
https://docs.google.com/spreadsheets/d/1r0Vbv1cx3KelYLEM4vl0VNyIeEpFwurG5JJZ6BckMCI/edit?gid=1519693354#gid=1519693354
image

Test Plan

1.The correctness of the format has been verified on this website https://jsonlint.com/
2.Used jq cmd to pretty the format.
3.Test log as follows:
janga_main_source_platform_test_log_11_28.txt
janga_main_source_sensor_test_log_11_28.txt

@zhongedward zhongedward changed the title add janga pvt sensor config janga: config: added janga SMB &COME card pvt sensor config Dec 3, 2024
@zhongedward zhongedward changed the title janga: config: added janga SMB &COME card pvt sensor config janga: config: added janga SMB & COME card pvt sensor config Dec 3, 2024
@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@mikechoifb mikechoifb left a comment

Choose a reason for hiding this comment

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

@zhongedward , this PR breaks Meta's build. Here is the error message we use :

E1209 22:55:14.066961 3917863 ConfigValidator.cpp:140] PmUnitSensors SlotPath /SMB_FRU_SLOT@0 doesn't match with SlotPath / of /run/devmap/sensors/SMB_U68_TMP422

Slot math seems to mismatch. Can you review the PR again?

@facebook-github-bot
Copy link
Contributor

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

@zhongedward
Copy link
Contributor Author

Hi Mike , thank you for your reply, i have updated the SMB_U68_TMP422 to /SMB_FRU_SLOT@0, and passed the test, please help review again, thanks.

image

@mikechoifb

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