Skip to content

Commit ac0de13

Browse files
kaiyu22lguohan
authored andcommitted
[Platform] Update switch configuration files and download link for Ingrasys S9130-32X/S9230-64X (#1295)
- What I did Updating switch configuration files and download link - How I did it Updating related switch configuration files in device/ingrasys Updating related mk files in platform/nephos - How to verify it Check system and network feature is worked as well - Description for the changelog Update switch configuration files and download link for Ingrasys S9130-32X/S9230-64X - A picture of a cute animal (not mandatory but encouraged) Signed-off-by: Sam Yang <[email protected]>
1 parent 41cdb89 commit ac0de13

File tree

7 files changed

+1207
-47
lines changed

7 files changed

+1207
-47
lines changed

device/ingrasys/x86_64-ingrasys_s9130_32x-r0/INGRASYS-S9130-32X/port_config.nps

Lines changed: 318 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
#This configuration file is for customer init value feature. Please refer to mtk_cfg.h/mtk_cfg.c for detail.
2-
#1. The lines beginning with # are comment lines. The lines beginning with number are the setting lines.
3-
#2. There are five parameters which can be set.
4-
# 1) the first is unit.
5-
# 2) the second is NPS_CFG_TYPE_XXX. Refer to NPS_CFG_TYPE_T.
6-
# 3) the 3-5 are {param0, param1, value} pairs. Refer to NPS_CFG_VALUE_T. Support HEX format.
7-
# 4) the (unit, NPS_CFG_TYPE_XXX, param0, param1) group is the key to get the correspingding value.
8-
# There should be no same (unit, NPS_CFG_TYPE_XXX, param0, param1) group.
9-
#3. User must follow correct format to apply the setting. Please refer to below commentted example(#0 NPS_CFG_TYPE_L2_ADDR_MODE 0 0 1);
10-
#4. Usage under the linux shell:
11-
# 1) ./image-path/image-name -c cfg-path/NPS_Ari_EVB_24.cfg : mamually specify directory path if they are not in current work dirctory.
12-
# 2) ./image-name -c NPS_Ari_EVB_24.cfg : the image and the NPS_Ari_EVB_24.cfg are in the current work directory.
13-
14-
#unit NPS_CFG_TYPE_XXX param0 param1 value
15-
#---- ---------------- ------ ------ -----
16-
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1
17-
0 NPS_CFG_TYPE_LED_CFG 0 0 1
18-
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 0
19-
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 0
20-
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1
1+
#unit NPS_CFG_TYPE_XXX param0 param1 value
2+
#---- ---------------- ------ ------ -----
3+
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1
4+
0 NPS_CFG_TYPE_LED_CFG 0 0 1
5+
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 1
6+
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 1
7+
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1
8+
0 NPS_CFG_TYPE_HASH_L2_FDB_REGION_ENTRY_NUM 0 0 49152
9+
0 NPS_CFG_TYPE_HASH_L3_WITH_IPV6_PREFIX_64_REGION_ENTRY_NUM 0 0 32768

device/ingrasys/x86_64-ingrasys_s9230_64x-r0/INGRASYS-S9230-64X/port_config.nps

Lines changed: 864 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
#This configuration file is for customer init value feature. Please refer to nps_cfg.h/nps_cfg.c for detail.
2-
#1. The lines beginning with # are comment lines. The lines beginning with number are the setting lines.
3-
#2. There are five parameters which can be set.
4-
# 1) the first is unit.
5-
# 2) the second is NPS_CFG_TYPE_XXX. Refer to NPS_CFG_TYPE_T.
6-
# 3) the 3-5 are {param0, param1, value} pairs. Refer to NPS_CFG_VALUE_T. Support HEX format.
7-
# 4) the (unit, NPS_CFG_TYPE_XXX, param0, param1) group is the key to get the correspingding value.
8-
# There should be no same (unit, NPS_CFG_TYPE_XXX, param0, param1) group.
9-
#3. User must follow correct format to apply the setting. Please refer to below commentted example(#0 NPS_CFG_TYPE_L2_ADDR_MODE 0 0 1);
10-
#4. Usage under the linux shell:
11-
# 1) ./image-path/image-name -c cfg-path/NPS_TAU_EVB_6T4_64.cfg : mamually specify directory path if they are not in current work dirctory.
12-
# 2) ./image-name -c NPS_TAU_EVB_6T4_64.cfg : the image and the NPS_TAU_EVB_3T2_32.cfg are in the current work directory.
13-
14-
#unit NPS_CFG_TYPE_XXX param0 param1 value
15-
#---- ---------------- ------ ------ -----
16-
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1
17-
0 NPS_CFG_TYPE_LED_CFG 0 0 2
18-
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 0
19-
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 0
20-
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1
1+
#unit NPS_CFG_TYPE_XXX param0 param1 value
2+
#---- ---------------- ------ ------ -----
3+
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1
4+
0 NPS_CFG_TYPE_LED_CFG 0 0 2
5+
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 1
6+
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 1
7+
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1
8+
0 NPS_CFG_TYPE_HASH_L2_FDB_REGION_ENTRY_NUM 0 0 49152
9+
0 NPS_CFG_TYPE_HASH_L3_WITH_IPV6_PREFIX_64_REGION_ENTRY_NUM 0 0 32768

platform/nephos/rules.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ include $(PLATFORM_PATH)/python-saithrift.mk
1010
#include $(PLATFORM_PATH)/docker-ptf-nephos.mk
1111

1212
NPX_DIAG = npx_diag
13-
$(NPX_DIAG)_URL = "https://github.com/NephosInc/SONiC/raw/master/sdk/npx_diag_2.0.1-20171020"
13+
$(NPX_DIAG)_URL = "https://github.com/NephosInc/SONiC/raw/master/sdk/npx_diag"
1414

1515
DSSERVE = dsserve
1616
$(DSSERVE)_URL = "https://sonicstorage.blob.core.windows.net/packages/20170518/dsserve?sv=2015-04-05&sr=b&sig=gyNbgSL%2FvpMXDdpboVkIJcTKMRdGgEaOR9OukHhEsu8%3D&se=2030-03-31T23%3A06%3A35Z&sp=r"

platform/nephos/sai.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
NEPHOS_SAI = libsainps_2.0.2-20171204_amd64.deb
2-
$(NEPHOS_SAI)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps_2.0.2-20171204_amd64.deb"
1+
NEPHOS_SAI = libsainps_2.0.3a63-20180110_amd64.deb
2+
$(NEPHOS_SAI)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps_2.0.3a63-20180110_amd64.deb"
33

4-
NEPHOS_SAI_DEV = libsainps-dev_2.0.2-20171124_amd64.deb
4+
NEPHOS_SAI_DEV = libsainps-dev_2.0.3a63-20180110_amd64.deb
55
$(eval $(call add_derived_package,$(NEPHOS_SAI),$(NEPHOS_SAI_DEV)))
6-
$(NEPHOS_SAI_DEV)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps-dev_2.0.2-20171124_amd64.deb"
6+
$(NEPHOS_SAI_DEV)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps-dev_2.0.3a63-20180110_amd64.deb"
77

88
SONIC_ONLINE_DEBS += $(NEPHOS_SAI) $(NEPHOS_SAI_DEV)
99
$(NEPHOS_SAI_DEV)_DEPENDS += $(NEPHOS_SAI)

platform/nephos/sdk.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NEPHOS_NPS_KERNEL = nps-modules-3.16.0-4-amd64_2.0.2-20171204_amd64.deb
2-
$(NEPHOS_NPS_KERNEL)_URL = "https://github.com/NephosInc/SONiC/raw/master/sdk/nps-modules-3.16.0-4-amd64_2.0.2-20171204_amd64.deb"
1+
NEPHOS_NPS_KERNEL = nps-modules-3.16.0-4-amd64_2.0.3a63-20180110_amd64.deb
2+
$(NEPHOS_NPS_KERNEL)_URL = "https://github.com/NephosInc/SONiC/raw/master/sdk/nps-modules-3.16.0-4-amd64_2.0.3a63-20180110_amd64.deb"
33

44
SONIC_ONLINE_DEBS += $(NEPHOS_NPS_KERNEL)

0 commit comments

Comments
 (0)