4f403c9079
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
69 lines
2.2 KiB
Makefile
69 lines
2.2 KiB
Makefile
#
|
|
# 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
|
|
|
|
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 =
|
|
|
|
SIMX_VERSION = 23.7-1086
|
|
|
|
FW_FROM_URL = y
|
|
|
|
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
|
|
|
|
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)
|
|
|
|
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)
|
|
|
|
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)
|
|
|
|
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
|
|
export MLNX_SPC4_FW_FILE
|