sonic-buildimage/platform/mellanox/fw.mk

42 lines
1.2 KiB
Makefile
Raw Normal View History

# 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 =
ifneq ($(MLNX_FW_BASE_URL), )
FW_FROM_URL = y
else
FW_FROM_URL = n
endif
[Mellanox] Update SAI ver. 1.19.0, SDK\FW ver. 4.4.3106\2008.3110 (#7820) Why I did it * For SAI - Upgrade to Version 1.19.0 - Add support for VxLAN encap TTL uniform model on SPC2/3 - Add ACL entry actions set VRF, set do no learn, add VLAN ID, add VLAN priority - Add ACL field has VLAN tag - Bulk counters (improve port statistics performance) - Create async dump extra as part of debug generate dump - Create irisc dump on severe health event - Support 0 port systems (modify get switch mac to work accordingly) - Set interface vlan up state for ping tool in SONiC - Support attributes SAI_PORT_ATTR_QOS_SCHEDULER_PROFILE_ID, SAI_PORT_ATTR_QOS_INGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_QOS_EGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_POLICER_ID as part of port create Git stats * For SDK\FW - Upgrade to Version SDK 4.4.3106, FW 2008_3110 Added Features: - Increased ACL table - Enhanced PSAMPLE support - Added support for Finisar SR4 module in SN3700 systems - Added support for Python 3.0 in examples. Fix bugs: - On LR4 transceivers 00YD278, the firmware incorrectly identified the transceiver - Reduce memory consumption for virtual LAG - Fixed PSAMPLE listeners cleanup on SDK drivers unloading. - On Spectrum-2 and Spectrum-3 systems, slow reaction time to Rx pause packets may lead to buffer overflow on servers. - BER may be experienced when using 5m DAC cables between SN4700 and SN2700 in 100GbE speed. - On very rare occasion, when connecting DR4 PAM4 transceiver to 100GbE DR1 NRZ, low BER may be experienced. - Unexpected packet drops on the port ingress buffer may be experienced when working in 400GbE mode. Note: When performing ISSU from an older version, this fix won't be applied. For fix to apply, a non-ISSU reset is required. - Fix SN3800 specific warm boot scenario: Disable interface, Warm Boot, Enable Interface --> link will remain down. Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-06-10 06:15:55 -05:00
MLNX_SPC_FW_VERSION = 13.2008.3110
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)
[Mellanox] Update SAI ver. 1.19.0, SDK\FW ver. 4.4.3106\2008.3110 (#7820) Why I did it * For SAI - Upgrade to Version 1.19.0 - Add support for VxLAN encap TTL uniform model on SPC2/3 - Add ACL entry actions set VRF, set do no learn, add VLAN ID, add VLAN priority - Add ACL field has VLAN tag - Bulk counters (improve port statistics performance) - Create async dump extra as part of debug generate dump - Create irisc dump on severe health event - Support 0 port systems (modify get switch mac to work accordingly) - Set interface vlan up state for ping tool in SONiC - Support attributes SAI_PORT_ATTR_QOS_SCHEDULER_PROFILE_ID, SAI_PORT_ATTR_QOS_INGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_QOS_EGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_POLICER_ID as part of port create Git stats * For SDK\FW - Upgrade to Version SDK 4.4.3106, FW 2008_3110 Added Features: - Increased ACL table - Enhanced PSAMPLE support - Added support for Finisar SR4 module in SN3700 systems - Added support for Python 3.0 in examples. Fix bugs: - On LR4 transceivers 00YD278, the firmware incorrectly identified the transceiver - Reduce memory consumption for virtual LAG - Fixed PSAMPLE listeners cleanup on SDK drivers unloading. - On Spectrum-2 and Spectrum-3 systems, slow reaction time to Rx pause packets may lead to buffer overflow on servers. - BER may be experienced when using 5m DAC cables between SN4700 and SN2700 in 100GbE speed. - On very rare occasion, when connecting DR4 PAM4 transceiver to 100GbE DR1 NRZ, low BER may be experienced. - Unexpected packet drops on the port ingress buffer may be experienced when working in 400GbE mode. Note: When performing ISSU from an older version, this fix won't be applied. For fix to apply, a non-ISSU reset is required. - Fix SN3800 specific warm boot scenario: Disable interface, Warm Boot, Enable Interface --> link will remain down. Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-06-10 06:15:55 -05:00
MLNX_SPC2_FW_VERSION = 29.2008.3110
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)
[Mellanox] Update SAI ver. 1.19.0, SDK\FW ver. 4.4.3106\2008.3110 (#7820) Why I did it * For SAI - Upgrade to Version 1.19.0 - Add support for VxLAN encap TTL uniform model on SPC2/3 - Add ACL entry actions set VRF, set do no learn, add VLAN ID, add VLAN priority - Add ACL field has VLAN tag - Bulk counters (improve port statistics performance) - Create async dump extra as part of debug generate dump - Create irisc dump on severe health event - Support 0 port systems (modify get switch mac to work accordingly) - Set interface vlan up state for ping tool in SONiC - Support attributes SAI_PORT_ATTR_QOS_SCHEDULER_PROFILE_ID, SAI_PORT_ATTR_QOS_INGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_QOS_EGRESS_BUFFER_PROFILE_LIST, SAI_PORT_ATTR_POLICER_ID as part of port create Git stats * For SDK\FW - Upgrade to Version SDK 4.4.3106, FW 2008_3110 Added Features: - Increased ACL table - Enhanced PSAMPLE support - Added support for Finisar SR4 module in SN3700 systems - Added support for Python 3.0 in examples. Fix bugs: - On LR4 transceivers 00YD278, the firmware incorrectly identified the transceiver - Reduce memory consumption for virtual LAG - Fixed PSAMPLE listeners cleanup on SDK drivers unloading. - On Spectrum-2 and Spectrum-3 systems, slow reaction time to Rx pause packets may lead to buffer overflow on servers. - BER may be experienced when using 5m DAC cables between SN4700 and SN2700 in 100GbE speed. - On very rare occasion, when connecting DR4 PAM4 transceiver to 100GbE DR1 NRZ, low BER may be experienced. - Unexpected packet drops on the port ingress buffer may be experienced when working in 400GbE mode. Note: When performing ISSU from an older version, this fix won't be applied. For fix to apply, a non-ISSU reset is required. - Fix SN3800 specific warm boot scenario: Disable interface, Warm Boot, Enable Interface --> link will remain down. Signed-off-by: Dror Prital <drorp@nvidia.com>
2021-06-10 06:15:55 -05:00
MLNX_SPC3_FW_VERSION = 30.2008.3110
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_FW_FILES = $(MLNX_SPC_FW_FILE) $(MLNX_SPC2_FW_FILE) $(MLNX_SPC3_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