sonic-buildimage/platform/mellanox/fw.mk

69 lines
2.2 KiB
Makefile
Raw Normal View History

#
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES.
# Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# mellanox asic firmware
Build improvements (#80) * Build improvements Fix dependencies Add configuration options Automatically build sonic-slave * Set default number of jobs to 1 * Auto generate target/debs directory Signed-off-by: marian-pritsak <marianp@mellanox.com> * Automatically remove sonic-slave container after exit * Silence clean-logs * Add SONIC_CLEAN_TARGETS to clean * Use second expansion for clean dependencies * Avoid creating empty log files Remove log file on flush instead of writing empty string * Put dpkg install inside lock Use same lock as debian install targets do to avoid race condition in dpkg installation * Remove redirect to log from docker save * Add .platform dependency to all and clean targets * Remove header and footer from clean targets * Disable messages for SONIC_CLEAN_TARGETS * Exit with error if dpkg-buildpackage fails * Set new location for debs in build_debian.sh * Add recipe for docker-database * Update redis version to 3.2.4 * Add support for p4 platform * Add recipe for snmpd * Add slave targets to phony and make all target default * Remove build.sh from thrift * Add versioning to team, nl, hiredis and initramfs * Change sonic-slave to support snmpd build from sources * Remove src/tenjin * Add recipe for lldpd * Add recipe for mpdecimal * Remove hiredis directory on rebuild * Add recipe for Mellanox hw management * Remove generic image from all targets for Mellanox * Add support for python wheels * Add lldp and snmp dockers * Sync docker-database to include libjemalloc * Fix asyncsnmp variable name * Change default build configuration Redirect output to log files by default Set number of jobs to nproc value Do not print dependencies Fix logging to print log of failed job into console * Use docker inspect to check if sonic-slave image exists * Use config in slave.mk directly * Disable color output by default * Remove sswsdk dependency from lldp and snmp dockers * Fix comment in py wheels install targets * Add dependency between two versions of sswsdk * Add containers to mellanox platform lldp, snmp and database containers * Add recipe for team docker * Add team docker to mellanox platform * Encrypt password passed to build_debian.sh * Update mellanox SAI version Make version and revision setting only in main recipe * Fix error handling in makefiles As makefiles use .ONESHELL we should add -e option to shell options in order to exit after any command fails * Add recipe for platform monitor image * Add platfotm monitor to mellanox targets * Ignore submodules when building base image
2016-12-05 13:12:19 -06:00
MLNX_FW_BASE_PATH = $(MLNX_SDK_BASE_PATH)
# Place an URL here to FW if you want to download FW instead
MLNX_FW_BASE_URL =
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
SIMX_VERSION = 23.7-1086
FW_FROM_URL = y
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
MLNX_FW_ASSETS_RELEASE_TAG = fw-2012.1020
MLNX_FW_ASSETS_URL = $(MLNX_ASSETS_GITHUB_URL)/releases/download/$(MLNX_FW_ASSETS_RELEASE_TAG)
ifeq ($(MLNX_FW_BASE_URL), )
MLNX_FW_BASE_URL = $(MLNX_FW_ASSETS_URL)
endif
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
MLNX_SPC_FW_VERSION = 13.2012.1020
MLNX_SPC_FW_FILE = fw-SPC-rel-$(subst .,_,$(MLNX_SPC_FW_VERSION))-EVB.mfa
$(MLNX_SPC_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC_FW_FILE)
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
MLNX_SPC2_FW_VERSION = 29.2012.1020
MLNX_SPC2_FW_FILE = fw-SPC2-rel-$(subst .,_,$(MLNX_SPC2_FW_VERSION))-EVB.mfa
$(MLNX_SPC2_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC2_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC2_FW_FILE)
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
MLNX_SPC3_FW_VERSION = 30.2012.1020
MLNX_SPC3_FW_FILE = fw-SPC3-rel-$(subst .,_,$(MLNX_SPC3_FW_VERSION))-EVB.mfa
$(MLNX_SPC3_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC3_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC3_FW_FILE)
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
MLNX_SPC4_FW_VERSION = 34.2012.1020
MLNX_SPC4_FW_FILE = fw-SPC4-rel-$(subst .,_,$(MLNX_SPC4_FW_VERSION))-EVB.mfa
$(MLNX_SPC4_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC4_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC4_FW_FILE)
MLNX_FW_FILES = $(MLNX_SPC_FW_FILE) $(MLNX_SPC2_FW_FILE) $(MLNX_SPC3_FW_FILE) $(MLNX_SPC4_FW_FILE)
ifeq ($(FW_FROM_URL),n)
SONIC_COPY_FILES += $(MLNX_FW_FILES)
else
SONIC_ONLINE_FILES += $(MLNX_FW_FILES)
endif
MLNX_FILES += $(MLNX_FW_FILES)
export MLNX_SPC_FW_FILE
export MLNX_SPC2_FW_FILE
export MLNX_SPC3_FW_FILE
[202211] [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2211.25.1.0 (#16096) (#16095) This is to backport #16096 Why I did it SONiC changes: Support Spectrum4 ASIC FW binary building. Support new SDK sx-obj-desc lib building since new SAI need it. Remove SX_SCEW debian package from Mellanox SDK build since we are no longer using it (we use libxml2 instead). Update SAI, SDK, FW to version 4.6.1020/2012.1020/SAIBuild2211.25.1.0 SDK/FW bug fixes In SPC-1 platforms: Fastboot mode is not operational for Split port with Force mode in 50G speed SFP modules are kept in disabled state after set LPM (low power mode) on/off for at least 3 minutes. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. SDK/FW Features On SN2700 all ports can support y cable by credo SAI bug Fixes When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 when fastboot enable Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features Port init profile Dual ToR Active-Standby | Additional MAC support Work item tracking Microsoft ADO (number only): How I did it Update SDK/FW/SAI make files How to verify it Run full sonic-mgmt regression on Mellanox platform
2023-08-20 06:24:32 -05:00
export MLNX_SPC4_FW_FILE