Skip to content

Conversation

@zhongedward
Copy link
Contributor

@zhongedward zhongedward commented Apr 21, 2025

Description
1.This PR is for janga platform config file.Removed the prefix bp4f according to the github bsp new driver. Such as:
https://github.com/facebookexternal/fboss.bsp.celestica/commit/131720f68e486a1c77e05fe2d4c2f817bd4c9a57

image

2.According to this PR https://github.com/facebookexternal/fboss.bsp.celestica/pull/484,
we should change adm1272 to bp4f_adm1272.
image

Motivation
1.In the PR has changed
bp4f_mp9941--->mp9941
bp4f_mp2993--->mp2993
bp4f_mp2891--->mp2891
bp4f_xdpe12284--->xdpe12284
bp4f_xdpe15284--->xdpe15284
bp4f_tda38640--->tda38640
bp4f_max31790--->max31790
adm1272--->bp4f_adm1272

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:

....
I1014 21:08:37.767549 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_41 to /dev/i2c-71. DevicePath: /[SMB_DOM_I2C_MASTER_41]
I1014 21:08:37.769764 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_42 to /dev/i2c-72. DevicePath: /[SMB_DOM_I2C_MASTER_42]
I1014 21:08:37.771961 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_43 to /dev/i2c-73. DevicePath: /[SMB_DOM_I2C_MASTER_43]
I1014 21:08:37.774213 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_44 to /dev/i2c-74. DevicePath: /[SMB_DOM_I2C_MASTER_44]
I1014 21:08:37.776411 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_45 to /dev/i2c-75. DevicePath: /[SMB_DOM_I2C_MASTER_45]
I1014 21:08:37.778622 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_46 to /dev/i2c-76. DevicePath: /[SMB_DOM_I2C_MASTER_46]
I1014 21:08:37.780858 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_5 to /dev/i2c-35. DevicePath: /[SMB_DOM_I2C_MASTER_5]
I1014 21:08:37.783096 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_6 to /dev/i2c-36. DevicePath: /[SMB_DOM_I2C_MASTER_6]
I1014 21:08:37.785289 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_7 to /dev/i2c-37. DevicePath: /[SMB_DOM_I2C_MASTER_7]
I1014 21:08:37.787502 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_8 to /dev/i2c-38. DevicePath: /[SMB_DOM_I2C_MASTER_8]
I1014 21:08:37.789696 11377 PlatformExplorer.cpp:688] Creating symlink from /run/devmap/xcvrs/xcvr_io_9 to /dev/i2c-39. DevicePath: /[SMB_DOM_I2C_MASTER_9]
I1014 21:08:37.793525 11377 PlatformExplorer.cpp:738] Reporting firmware version for JANGA_SMB_CPLD - version string:2.4.0
I1014 21:08:37.795091 11377 PlatformExplorer.cpp:738] Reporting firmware version for PWR_CPLD - version string:2.3.0
I1014 21:08:37.796548 11377 PlatformExplorer.cpp:738] Reporting firmware version for SMB_CPLD_1 - version string:2.4.0
I1014 21:08:37.796593 11377 PlatformExplorer.cpp:738] Reporting firmware version for SMB_DOM_INFO_ROM - version string:0.42
I1014 21:08:37.796625 11377 PlatformExplorer.cpp:738] Reporting firmware version for SMB_IOB_INFO_ROM - version string:0.51
I1014 21:08:37.796735 11377 PlatformExplorer.cpp:768] Reporting Production State: 4
I1014 21:08:37.796742 11377 PlatformExplorer.cpp:778] Reporting Production Sub-State: 5
I1014 21:08:37.796749 11377 PlatformExplorer.cpp:788] Reporting Variant Indicator: 20
I1014 21:08:37.796766 11377 ExplorationSummary.cpp:49] Successfully explored janga800bic...
W1014 21:08:37.796806 11377 Main.cpp:71] Skipping sd_notify since $NOTIFY_SOCKET is not set which does not imply systemd execution.
I1014 21:08:37.796811 11377 Main.cpp:78] Running PlatformManager thrift service...
I1014 21:08:37.797448 11377 ThriftServer.cpp:861] Using thread manager (resource pools not enabled) on address/port 5975: runtime: thriftFlagNotSet, , thrift flag: false, enable gflag: false, disable gflag: false
^C
[root@localhost edward]#
image

janga_platform_remove_bp4f_test_log_4_18.txt

@zhongedward zhongedward changed the title Janga: config: remove the prefix bp4f in platform config Janga: config: removed the prefix bp4f in platform config Apr 21, 2025
@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

@tao-ren tao-ren left a comment

Choose a reason for hiding this comment

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

@zhongedward can you please bump the BSP version to 3.0.0-1, the same with montblanc config?

@facebook-github-bot
Copy link
Contributor

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

@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

@tao-ren Ok, updated it.Please review, thanks.

@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.

@facebook-github-bot
Copy link
Contributor

@mikechoifb merged this pull request in 95d5718.

@zhongedward zhongedward deleted the janga_platform_remove_bp4f branch October 22, 2025 02:16
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