Skip to content

Commit 95d5718

Browse files
zhongedwardfacebook-github-bot
authored andcommitted
Janga: config: removed the prefix bp4f in platform config (#401)
Summary: Description 1.This PR is for janga platform config file.Removed the prefix bp4f according to the github bsp new driver. Such as: facebookexternal/fboss.bsp.celestica@131720f ![image](https://github.com/user-attachments/assets/5d0ed724-ddb9-4022-b5b1-9b6bc04bf149) 2.According to this PR facebookexternal/fboss.bsp.celestica#484, we should change adm1272 to bp4f_adm1272. ![image](https://github.com/user-attachments/assets/62bf5ce4-0a0a-4b34-8ae2-de5c95532c2d) 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 Pull Request resolved: #401 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](https://github.com/user-attachments/assets/6e30f184-7e2d-459e-b697-1d5674f30c09) [janga_platform_remove_bp4f_test_log_4_18.txt](https://github.com/user-attachments/files/19828122/janga_platform_remove_bp4f_test_log_4_18.txt) Reviewed By: ezeob002 Differential Revision: D73519920 Pulled By: mikechoifb fbshipit-source-id: 25d0d59e6d9d518c9802e6cba1513b2d3bda6fad
1 parent d0cabde commit 95d5718

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

fboss/platform/configs/janga800bic/platform_manager.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -72,31 +72,31 @@
7272
{
7373
"busName": "INCOMING@1",
7474
"address": "0x11",
75-
"kernelDeviceName": "bp4f_mp9941",
75+
"kernelDeviceName": "mp9941",
7676
"pmUnitScopedName": "COME_PU31_TDA38640"
7777
},
7878
{
7979
"busName": "INCOMING@1",
8080
"address": "0x22",
81-
"kernelDeviceName": "bp4f_mp9941",
81+
"kernelDeviceName": "mp9941",
8282
"pmUnitScopedName": "COME_PU32_TDA38640"
8383
},
8484
{
8585
"busName": "INCOMING@1",
8686
"address": "0x45",
87-
"kernelDeviceName": "bp4f_mp9941",
87+
"kernelDeviceName": "mp9941",
8888
"pmUnitScopedName": "COME_PU41_TDA38640"
8989
},
9090
{
9191
"busName": "INCOMING@1",
9292
"address": "0x66",
93-
"kernelDeviceName": "bp4f_mp9941",
93+
"kernelDeviceName": "mp9941",
9494
"pmUnitScopedName": "COME_PU42_TDA38640"
9595
},
9696
{
9797
"busName": "INCOMING@1",
9898
"address": "0x76",
99-
"kernelDeviceName": "bp4f_mp2993",
99+
"kernelDeviceName": "mp2993",
100100
"pmUnitScopedName": "COME_PU4_XDPE15284"
101101
}
102102
]
@@ -148,13 +148,13 @@
148148
{
149149
"busName": "INCOMING@3",
150150
"address": "0x2f",
151-
"kernelDeviceName": "bp4f_mp2891",
151+
"kernelDeviceName": "mp2891",
152152
"pmUnitScopedName": "SMB_U337_PMBUS_1"
153153
},
154154
{
155155
"busName": "INCOMING@3",
156156
"address": "0x21",
157-
"kernelDeviceName": "bp4f_mp2891",
157+
"kernelDeviceName": "mp2891",
158158
"pmUnitScopedName": "SMB_U177_PMBUS_2"
159159
},
160160
{
@@ -2097,7 +2097,7 @@
20972097
{
20982098
"busName": "SMB_IOB_I2C_MASTER_22",
20992099
"address": "0x10",
2100-
"kernelDeviceName": "adm1272",
2100+
"kernelDeviceName": "bp4f_adm1272",
21012101
"pmUnitScopedName": "SMB_U279_ADM1272_1"
21022102
},
21032103
{
@@ -2294,49 +2294,49 @@
22942294
{
22952295
"busName": "INCOMING@0",
22962296
"address": "0x72",
2297-
"kernelDeviceName": "bp4f_xdpe12284",
2297+
"kernelDeviceName": "xdpe12284",
22982298
"pmUnitScopedName": "SMB_U229_XDPE12284_1"
22992299
},
23002300
{
23012301
"busName": "INCOMING@0",
23022302
"address": "0x6a",
2303-
"kernelDeviceName": "bp4f_xdpe12284",
2303+
"kernelDeviceName": "xdpe12284",
23042304
"pmUnitScopedName": "SMB_U237_XDPE12284_2"
23052305
},
23062306
{
23072307
"busName": "INCOMING@2",
23082308
"address": "0x76",
2309-
"kernelDeviceName": "bp4f_xdpe12284",
2309+
"kernelDeviceName": "xdpe12284",
23102310
"pmUnitScopedName": "SMB_U210_XDPE12284_1"
23112311
},
23122312
{
23132313
"busName": "INCOMING@2",
23142314
"address": "0x72",
2315-
"kernelDeviceName": "bp4f_xdpe12284",
2315+
"kernelDeviceName": "xdpe12284",
23162316
"pmUnitScopedName": "SMB_U347_XDPE12284_2"
23172317
},
23182318
{
23192319
"busName": "INCOMING@2",
23202320
"address": "0x70",
2321-
"kernelDeviceName": "bp4f_xdpe12284",
2321+
"kernelDeviceName": "xdpe12284",
23222322
"pmUnitScopedName": "SMB_U92_XDPE12284_3"
23232323
},
23242324
{
23252325
"busName": "INCOMING@2",
23262326
"address": "0x68",
2327-
"kernelDeviceName": "bp4f_xdpe12284",
2327+
"kernelDeviceName": "xdpe12284",
23282328
"pmUnitScopedName": "SMB_U216_XDPE12284_4"
23292329
},
23302330
{
23312331
"busName": "INCOMING@3",
23322332
"address": "0x6a",
2333-
"kernelDeviceName": "bp4f_xdpe12284",
2333+
"kernelDeviceName": "xdpe12284",
23342334
"pmUnitScopedName": "SMB_U86_XDPE12284_2"
23352335
},
23362336
{
23372337
"busName": "INCOMING@3",
23382338
"address": "0x70",
2339-
"kernelDeviceName": "bp4f_xdpe12284",
2339+
"kernelDeviceName": "xdpe12284",
23402340
"pmUnitScopedName": "SMB_U343_XDPE12284_1"
23412341
},
23422342
{
@@ -2435,31 +2435,31 @@
24352435
{
24362436
"busName": "INCOMING@1",
24372437
"address": "0x11",
2438-
"kernelDeviceName": "bp4f_tda38640",
2438+
"kernelDeviceName": "tda38640",
24392439
"pmUnitScopedName": "COME_PU31_TDA38640"
24402440
},
24412441
{
24422442
"busName": "INCOMING@1",
24432443
"address": "0x22",
2444-
"kernelDeviceName": "bp4f_tda38640",
2444+
"kernelDeviceName": "tda38640",
24452445
"pmUnitScopedName": "COME_PU32_TDA38640"
24462446
},
24472447
{
24482448
"busName": "INCOMING@1",
24492449
"address": "0x45",
2450-
"kernelDeviceName": "bp4f_tda38640",
2450+
"kernelDeviceName": "tda38640",
24512451
"pmUnitScopedName": "COME_PU41_TDA38640"
24522452
},
24532453
{
24542454
"busName": "INCOMING@1",
24552455
"address": "0x66",
2456-
"kernelDeviceName": "bp4f_tda38640",
2456+
"kernelDeviceName": "tda38640",
24572457
"pmUnitScopedName": "COME_PU42_TDA38640"
24582458
},
24592459
{
24602460
"busName": "INCOMING@1",
24612461
"address": "0x76",
2462-
"kernelDeviceName": "bp4f_xdpe15284",
2462+
"kernelDeviceName": "xdpe15284",
24632463
"pmUnitScopedName": "COME_PU4_XDPE15284"
24642464
}
24652465
]
@@ -2470,13 +2470,13 @@
24702470
{
24712471
"busName": "INCOMING@0",
24722472
"address": "0x5e",
2473-
"kernelDeviceName": "bp4f_max31790",
2473+
"kernelDeviceName": "max31790",
24742474
"pmUnitScopedName": "BCB_FAN_CPLD"
24752475
},
24762476
{
24772477
"busName": "INCOMING@1",
24782478
"address": "0x5e",
2479-
"kernelDeviceName": "bp4f_max31790",
2479+
"kernelDeviceName": "max31790",
24802480
"pmUnitScopedName": "BCB_FAN_CPLD_2"
24812481
}
24822482
]
@@ -2764,7 +2764,7 @@
27642764
},
27652765
"chassisEepromDevicePath": "/SMB_FRU_SLOT@0/[IDPROM]",
27662766
"bspKmodsRpmName": "fboss_bsp_kmods",
2767-
"bspKmodsRpmVersion": "2.4.0-1",
2767+
"bspKmodsRpmVersion": "3.0.0-1",
27682768
"requiredKmodsToLoad": [
27692769
"i2c_i801",
27702770
"spidev",

0 commit comments

Comments
 (0)