-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Platform] Update switch configuration files and download link for In…
…grasys 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 <yang.kaiyu@gmail.com>
- Loading branch information
Showing
7 changed files
with
1,207 additions
and
47 deletions.
There are no files selected for viewing
318 changes: 318 additions & 0 deletions
318
device/ingrasys/x86_64-ingrasys_s9130_32x-r0/INGRASYS-S9130-32X/port_config.nps
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 9 additions & 20 deletions
29
device/ingrasys/x86_64-ingrasys_s9130_32x-r0/led_proc_init.nps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
#This configuration file is for customer init value feature. Please refer to mtk_cfg.h/mtk_cfg.c for detail. | ||
#1. The lines beginning with # are comment lines. The lines beginning with number are the setting lines. | ||
#2. There are five parameters which can be set. | ||
# 1) the first is unit. | ||
# 2) the second is NPS_CFG_TYPE_XXX. Refer to NPS_CFG_TYPE_T. | ||
# 3) the 3-5 are {param0, param1, value} pairs. Refer to NPS_CFG_VALUE_T. Support HEX format. | ||
# 4) the (unit, NPS_CFG_TYPE_XXX, param0, param1) group is the key to get the correspingding value. | ||
# There should be no same (unit, NPS_CFG_TYPE_XXX, param0, param1) group. | ||
#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); | ||
#4. Usage under the linux shell: | ||
# 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. | ||
# 2) ./image-name -c NPS_Ari_EVB_24.cfg : the image and the NPS_Ari_EVB_24.cfg are in the current work directory. | ||
|
||
#unit NPS_CFG_TYPE_XXX param0 param1 value | ||
#---- ---------------- ------ ------ ----- | ||
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1 | ||
0 NPS_CFG_TYPE_LED_CFG 0 0 1 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 0 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 0 | ||
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1 | ||
#unit NPS_CFG_TYPE_XXX param0 param1 value | ||
#---- ---------------- ------ ------ ----- | ||
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1 | ||
0 NPS_CFG_TYPE_LED_CFG 0 0 1 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 1 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 1 | ||
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1 | ||
0 NPS_CFG_TYPE_HASH_L2_FDB_REGION_ENTRY_NUM 0 0 49152 | ||
0 NPS_CFG_TYPE_HASH_L3_WITH_IPV6_PREFIX_64_REGION_ENTRY_NUM 0 0 32768 |
864 changes: 864 additions & 0 deletions
864
device/ingrasys/x86_64-ingrasys_s9230_64x-r0/INGRASYS-S9230-64X/port_config.nps
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 9 additions & 20 deletions
29
device/ingrasys/x86_64-ingrasys_s9230_64x-r0/led_proc_init.nps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,9 @@ | ||
#This configuration file is for customer init value feature. Please refer to nps_cfg.h/nps_cfg.c for detail. | ||
#1. The lines beginning with # are comment lines. The lines beginning with number are the setting lines. | ||
#2. There are five parameters which can be set. | ||
# 1) the first is unit. | ||
# 2) the second is NPS_CFG_TYPE_XXX. Refer to NPS_CFG_TYPE_T. | ||
# 3) the 3-5 are {param0, param1, value} pairs. Refer to NPS_CFG_VALUE_T. Support HEX format. | ||
# 4) the (unit, NPS_CFG_TYPE_XXX, param0, param1) group is the key to get the correspingding value. | ||
# There should be no same (unit, NPS_CFG_TYPE_XXX, param0, param1) group. | ||
#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); | ||
#4. Usage under the linux shell: | ||
# 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. | ||
# 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. | ||
|
||
#unit NPS_CFG_TYPE_XXX param0 param1 value | ||
#---- ---------------- ------ ------ ----- | ||
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1 | ||
0 NPS_CFG_TYPE_LED_CFG 0 0 2 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 0 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 0 | ||
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1 | ||
#unit NPS_CFG_TYPE_XXX param0 param1 value | ||
#---- ---------------- ------ ------ ----- | ||
0 NPS_CFG_TYPE_USE_UNIT_PORT 0 0 1 | ||
0 NPS_CFG_TYPE_LED_CFG 0 0 2 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 129 0 1 | ||
0 NPS_CFG_TYPE_CPI_PORT_MODE 130 0 1 | ||
0 NPS_CFG_TYPE_USER_BUF_CTRL 0 0 1 | ||
0 NPS_CFG_TYPE_HASH_L2_FDB_REGION_ENTRY_NUM 0 0 49152 | ||
0 NPS_CFG_TYPE_HASH_L3_WITH_IPV6_PREFIX_64_REGION_ENTRY_NUM 0 0 32768 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
NEPHOS_SAI = libsainps_2.0.2-20171204_amd64.deb | ||
$(NEPHOS_SAI)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps_2.0.2-20171204_amd64.deb" | ||
NEPHOS_SAI = libsainps_2.0.3a63-20180110_amd64.deb | ||
$(NEPHOS_SAI)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps_2.0.3a63-20180110_amd64.deb" | ||
|
||
NEPHOS_SAI_DEV = libsainps-dev_2.0.2-20171124_amd64.deb | ||
NEPHOS_SAI_DEV = libsainps-dev_2.0.3a63-20180110_amd64.deb | ||
$(eval $(call add_derived_package,$(NEPHOS_SAI),$(NEPHOS_SAI_DEV))) | ||
$(NEPHOS_SAI_DEV)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps-dev_2.0.2-20171124_amd64.deb" | ||
$(NEPHOS_SAI_DEV)_URL = "https://github.com/NephosInc/SONiC/raw/master/sai/libsainps-dev_2.0.3a63-20180110_amd64.deb" | ||
|
||
SONIC_ONLINE_DEBS += $(NEPHOS_SAI) $(NEPHOS_SAI_DEV) | ||
$(NEPHOS_SAI_DEV)_DEPENDS += $(NEPHOS_SAI) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
NEPHOS_NPS_KERNEL = nps-modules-3.16.0-4-amd64_2.0.2-20171204_amd64.deb | ||
$(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" | ||
NEPHOS_NPS_KERNEL = nps-modules-3.16.0-4-amd64_2.0.3a63-20180110_amd64.deb | ||
$(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" | ||
|
||
SONIC_ONLINE_DEBS += $(NEPHOS_NPS_KERNEL) |