forked from pool/mstflint
- Update to v4.21.0-1 (jsc#PED-911, jsc#PED-1188) - Generic - Added support for NVIDIA ConnectX-7 adapter cards. - Added additional Flash support for ConnectX-4 Lx and ConnectX-5 adapter cards. - Python 2.x - Python 2.x is now end-of-life and no longer supported by MFT. - mstfwreset - For some configuration changes done using mstconfig, PCI rescan by the user is required. - Added a new reset-type ("NIC only reset") to mstfwreset which is applicable only to SmartNIC devices. The new reset-type is also the new default for SmartNIC devices. In case of reset-type is set to "NIC only reset", mstfwreset will not reset the internal host. - mstflint - Querying Vendor Specific Firmware Information from an Nvidia AOC / Transceiver Querying a firmware cable transceiver is now done using the "mstflint" tool. - cable/transceivers burning commands provide now validation and extract version from the image files. - Modified the output of the PCIe link information, removed the device status filed. - When downgrading to a firmware version that does not support the flash type of the device, mstflint will present the user a clear error of such scenario. - mlxconfig - Enable the users to apply token via MTUSB connected device. - mstresourceparse - mstresourceparse will present the union fields according to the selector. Unions that do not have a selector, will be presented with all the fields as before. - mstresourcedump - mstresourcedump tool now runs ~10X faster in mem mode with output to binary file. - Updated the "--virtual-hca-id" value output to be in a hexadecimal format. - Memory-Mode, data field is now transferred via memory instead of the resource-dump register. - mstlink - Removed irrelevant "eye" info fields in the output of the "show eye" command for PCIe links. - Removed the device status field from the PCIe info section. - Added support for "show_eye" command for ConnectX-7 over PCIe links. - Re-formatted the serdes Tx parameter layout in the "show_sedes_tx" command. - Added support for the PRBS test mode of Active/Optical CMIS modules. - Added support for additional configuration flags of the module control parameters. - Added support for new PRBS TX/RX patterns (--tx_prbs <tx_prbs_mode> & --rx_prbs <rx_prbs_mode>). - Added new show counters for 16nm devices. To see them run the "show_counter" command. - Extended the list of the cable information received for 16nm devices when running the "show_module" command. - Extended the information collection for 7nm and 16nm devices. See "--amber_collect" flag. - Extended the list of the cable information (LOL, LOS, FSM, and module status) for CMIS when running the "show_module" command. - mstdump - Added an optional parameter of the CSV path (-c | --csv) which loads the provides the CSV from a fixed location as a DB instead of the default one. - mstprivhost - Added a new flag to query all hosts status from the embedded Arm side for Multi-host systems. - Refresh patches against latest sources: - Remove-date-time-info-from-build.patch - Fix-gcc7-and-gcc8.patch OBS-URL: https://build.opensuse.org/request/show/1007257 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=45
93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package mstflint
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define extra_version -1
|
|
|
|
Name: mstflint
|
|
Version: 4.21.0
|
|
Release: 0
|
|
Summary: Mellanox Firmware Burning and Diagnostics Tools
|
|
License: BSD-2-Clause OR GPL-2.0-only
|
|
Group: System/Console
|
|
URL: http://www.openfabrics.org
|
|
Obsoletes: mstflint-devel < %{version}
|
|
Source: https://github.com/Mellanox/mstflint/releases/download/v%{version}%{extra_version}/mstflint-%{version}%{extra_version}.tar.gz
|
|
Patch1: Remove-date-time-info-from-build.patch
|
|
Patch4: Fix-gcc7-and-gcc8.patch
|
|
Patch5: fix-race-condition-during-install.patch
|
|
Patch6: PIE.patch
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: infiniband-diags-devel
|
|
BuildRequires: libibverbs-devel
|
|
BuildRequires: libopenssl-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: zlib-devel
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package contains a burning tool and diagnostic tools for Mellanox
|
|
manufactured HCA/NIC cards. It also provides access to the relevant
|
|
source code. Please see the file LICENSE for licensing details.
|
|
|
|
This package is based on a subset of the Mellanox Firmware Tools (MFT)
|
|
package. For a full documentation of the MFT package, please refer to
|
|
the downloads page at the Mellanox web site.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
%patch4
|
|
%patch5
|
|
%patch6
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
make %{?_smp_mflags} CFLAGS="%{optflags} -I. -fno-exceptions"
|
|
|
|
%install
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
|
rm -rf %{buildroot}%{_includedir}/mstflint
|
|
rm -rf %{buildroot}%{_libdir}/mstflint/*.a
|
|
rm -rf %{buildroot}%{_libdir}/*.a
|
|
rm -rf %{buildroot}%{_bindir}/hca_self_test.ofed
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc README
|
|
%license LICENSE COPYING
|
|
%{_bindir}/mstconfig
|
|
%{_bindir}/mstcongestion
|
|
%{_bindir}/mstflint
|
|
%{_bindir}/mstfwreset
|
|
%{_bindir}/mstmcra
|
|
%{_bindir}/mstmread
|
|
%{_bindir}/mstmtserver
|
|
%{_bindir}/mstmwrite
|
|
%{_bindir}/mstprivhost
|
|
%{_bindir}/mstregdump
|
|
%{_bindir}/mstresourcedump
|
|
%{_bindir}/mstresourceparse
|
|
%{_bindir}/mstvpd
|
|
%{_bindir}/mstfwtrace
|
|
%{_mandir}/man1/*.1%{ext_man}
|
|
%{_libdir}/mstflint/
|
|
%{_datadir}/mstflint/
|
|
|
|
%changelog
|