parent
8e749e957a
commit
875b81e407
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3420.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3700c.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_2x10g_100x50g_12x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_112x50g_8x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_24x50g_52x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_1x10g_28x50g_49x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_3800_28x50g_52x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4410.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600C.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_100x50g_12x100g_2x10g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_112x50g_8x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4600c_48x50g_40x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x200g_8x100g_96x25g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_128x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_8x400g_48x100g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4700_32x100g_48x200g.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/sonic/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_4800.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5600.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,3 +1,4 @@
|
||||
SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/sai_5600.xml
|
||||
SAI_DUMP_STORE_PATH=/var/log/mellanox/sdk-dumps
|
||||
SAI_DUMP_STORE_AMOUNT=10
|
||||
SAI_DUMP_MFT_CFG_PATH=/etc/mft/fwtrace_cfg
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2016-2021 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Apache-2.0
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -19,7 +19,7 @@
|
||||
DOCKER_SYNCD_PLATFORM_CODE = mlnx
|
||||
include $(PLATFORM_PATH)/../template/docker-syncd-bullseye.mk
|
||||
|
||||
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API) $(MFT) $(IPROUTE2_MLNX)
|
||||
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD) $(PYTHON_SDK_API) $(MFT) $(MFT_FWTRACE_CFG) $(IPROUTE2_MLNX)
|
||||
|
||||
ifeq ($(ENABLE_ASAN), y)
|
||||
$(DOCKER_SYNCD_BASE)_DEPENDS += $(SYNCD_DBG)
|
||||
|
10
platform/mellanox/mft-fwtrace-cfg.dep
Normal file
10
platform/mellanox/mft-fwtrace-cfg.dep
Normal file
@ -0,0 +1,10 @@
|
||||
# DPKG FRK
|
||||
|
||||
SPATH := $($(MFT_FWTRACE_CFG)_SRC_PATH)
|
||||
DEP_FILES := $(SONIC_COMMON_FILES_LIST) $(PLATFORM_PATH)/mft-fwtrace-cfg.mk $(PLATFORM_PATH)/mft-fwtrace-cfg.dep
|
||||
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
|
||||
DEP_FILES += $(shell git ls-files -- $(SPATH))
|
||||
|
||||
$(MFT_FWTRACE_CFG)_CACHE_MODE := GIT_CONTENT_SHA
|
||||
$(MFT_FWTRACE_CFG)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
|
||||
$(MFT_FWTRACE_CFG)_DEP_FILES := $(DEP_FILES)
|
22
platform/mellanox/mft-fwtrace-cfg.mk
Normal file
22
platform/mellanox/mft-fwtrace-cfg.mk
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (c) 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.
|
||||
#
|
||||
|
||||
MFT_FWTRACE_CFG = mft-fwtrace-cfg-$(MFT_VERSION)-$(MFT_REVISION).deb
|
||||
$(MFT_FWTRACE_CFG)_SRC_PATH = $(PLATFORM_PATH)/mft-fwtrace-cfg
|
||||
SONIC_MAKE_DEBS += $(MFT_FWTRACE_CFG)
|
||||
|
||||
export MFT_FWTRACE_CFG
|
5
platform/mellanox/mft-fwtrace-cfg/DEBIAN/changelog
Normal file
5
platform/mellanox/mft-fwtrace-cfg/DEBIAN/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
mft-fwtrace-cfg (1.0.0) STABLE; urgency=low
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Vadym Hlushko <vadymh@nvidia.com> Mon, 24 Jul 2023 12:03:04 +0300
|
7
platform/mellanox/mft-fwtrace-cfg/DEBIAN/control
Executable file
7
platform/mellanox/mft-fwtrace-cfg/DEBIAN/control
Executable file
@ -0,0 +1,7 @@
|
||||
Package: mft-fwtrace-cfg
|
||||
Version: 1.0.0
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Maintainer: Vadym Hlushko <vadymh@nvidia.com>
|
||||
Description: fwtrace_cfg files for the mlxtrace utility from the MFT debian package
|
25
platform/mellanox/mft-fwtrace-cfg/Makefile
Normal file
25
platform/mellanox/mft-fwtrace-cfg/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
#
|
||||
# Copyright (c) 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.
|
||||
#
|
||||
.ONESHELL:
|
||||
SHELL = /bin/bash
|
||||
.SHELLFLAGS += -e
|
||||
|
||||
MAIN_TARGET = $(MFT_FWTRACE_CFG)
|
||||
|
||||
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
|
||||
dpkg -b . $(MAIN_TARGET)
|
||||
mv $(MAIN_TARGET) $(DEST)/
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2017-2021 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Copyright (c) 2017-2023 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Apache-2.0
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -19,7 +19,7 @@
|
||||
SONIC_ONE_IMAGE = sonic-mellanox.bin
|
||||
$(SONIC_ONE_IMAGE)_MACHINE = mellanox
|
||||
$(SONIC_ONE_IMAGE)_IMAGE_TYPE = onie
|
||||
$(SONIC_ONE_IMAGE)_INSTALLS += $(SX_KERNEL) $(KERNEL_MFT) $(MFT_OEM) $(MFT) $(MLNX_HW_MANAGEMENT)
|
||||
$(SONIC_ONE_IMAGE)_INSTALLS += $(SX_KERNEL) $(KERNEL_MFT) $(MFT_OEM) $(MFT) $(MFT_FWTRACE_CFG) $(MLNX_HW_MANAGEMENT)
|
||||
$(SONIC_ONE_IMAGE)_INSTALLS += $(SYSTEMD_SONIC_GENERATOR)
|
||||
ifeq ($(INSTALL_DEBUG_TOOLS),y)
|
||||
$(SONIC_ONE_IMAGE)_DOCKERS += $(SONIC_INSTALL_DOCKER_DBG_IMAGES)
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Copyright (c) 2016-2023 NVIDIA CORPORATION & AFFILIATES.
|
||||
# Apache-2.0
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
@ -17,6 +17,7 @@
|
||||
include $(PLATFORM_PATH)/sdk.mk
|
||||
include $(PLATFORM_PATH)/fw.mk
|
||||
include $(PLATFORM_PATH)/mft.mk
|
||||
include $(PLATFORM_PATH)/mft-fwtrace-cfg.mk
|
||||
include $(PLATFORM_PATH)/mlnx-sai.mk
|
||||
include $(PLATFORM_PATH)/hw-management.mk
|
||||
include $(PLATFORM_PATH)/mlnx-platform-api.mk
|
||||
|
Loading…
Reference in New Issue
Block a user