2021-10-17 11:03:02 -05:00
|
|
|
#
|
2022-03-23 06:19:25 -05:00
|
|
|
# Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES.
|
2021-10-17 11:03:02 -05:00
|
|
|
# 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.
|
|
|
|
#
|
2020-04-13 10:13:19 -05:00
|
|
|
# mellanox asic firmware
|
2016-12-05 13:12:19 -06:00
|
|
|
|
2019-10-08 09:57:13 -05: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
|
|
|
|
|
2022-06-07 07:11:25 -05:00
|
|
|
MLNX_SPC_FW_VERSION = 13.2010.2262
|
2019-02-14 01:08:04 -06:00
|
|
|
MLNX_SPC_FW_FILE = fw-SPC-rel-$(subst .,_,$(MLNX_SPC_FW_VERSION))-EVB.mfa
|
2019-10-08 09:57:13 -05:00
|
|
|
$(MLNX_SPC_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
|
2019-04-10 09:57:34 -05:00
|
|
|
$(MLNX_SPC_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC_FW_FILE)
|
2017-07-28 12:57:51 -05:00
|
|
|
|
2022-06-07 07:11:25 -05:00
|
|
|
MLNX_SPC2_FW_VERSION = 29.2010.2262
|
2019-02-14 01:08:04 -06:00
|
|
|
MLNX_SPC2_FW_FILE = fw-SPC2-rel-$(subst .,_,$(MLNX_SPC2_FW_VERSION))-EVB.mfa
|
2019-10-08 09:57:13 -05:00
|
|
|
$(MLNX_SPC2_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
|
2019-03-27 20:32:25 -05:00
|
|
|
$(MLNX_SPC2_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC2_FW_FILE)
|
2019-10-08 09:57:13 -05:00
|
|
|
|
2022-06-07 07:11:25 -05:00
|
|
|
MLNX_SPC3_FW_VERSION = 30.2010.2262
|
2020-03-09 10:58:49 -05:00
|
|
|
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)
|
|
|
|
|
2019-10-08 09:57:13 -05:00
|
|
|
ifeq ($(FW_FROM_URL),n)
|
2020-03-09 10:58:49 -05:00
|
|
|
SONIC_COPY_FILES += $(MLNX_FW_FILES)
|
2019-10-08 09:57:13 -05:00
|
|
|
else
|
2020-03-09 10:58:49 -05:00
|
|
|
SONIC_ONLINE_FILES += $(MLNX_FW_FILES)
|
2019-10-08 09:57:13 -05:00
|
|
|
endif
|
2019-02-14 01:08:04 -06:00
|
|
|
|
2020-04-13 10:13:19 -05:00
|
|
|
MLNX_FILES += $(MLNX_FW_FILES)
|
|
|
|
|
2019-02-14 01:08:04 -06:00
|
|
|
export MLNX_SPC_FW_FILE
|
|
|
|
export MLNX_SPC2_FW_FILE
|
2020-03-09 10:58:49 -05:00
|
|
|
export MLNX_SPC3_FW_FILE
|