mstflint/mstflint.spec
Nicolas Morey-Chaisemartin 1811fb8cc5 Accepting request 766935 from home:NMoreyChaisemartin:branches:science:HPC
- Update to v4.13.3-2
  - ConnectX-6DX adapter cards GA support.
  - mstflint tool
    - New feature - Burning MFA2 images. Enables the user to extract (i.e. unzip)
      4MB images from MFA2 archive, that matches the device type and device PSIB.
    - New feature - Verifying MFA2 Archive. Enables the user to verify a given MFA2
      archive contains the image that matches the given device.
    - New feature - Verifying firmware image on a device which operates in livefish mode by
      comparing it with an existing binary firmware file.
    - Added image-reactivation feature which re-assigns the image signature to the
      previous image (in case the new image is faulty) enabling "fwreset" functionality
      or to burn a new image.
  - mstresourcedump tool
    - New mstresourcedump tool added to extracts and prints data segments generated
      by the firmware. The dump output is used by Mellanox for debug and troubleshooting.
  - mstfwreset tool
    - Added support for Socket Direct devices in the mstfwreset tool.
    - Added save/restore ATS PCIE capability.
    - Added support for Live-Patch in ConnectX-5.
    - Added a new reset option (reset-type) to the reset command of mstfwreset.
      The user can see the supported reset-types by using the query command.
  - mstlink tool
    - New feature - Using --json flag formats the output of the tool including all
      options & commands in JSON format and prints it.
    - Added support for reading the "Link Downed Counter" and "Link Error Recovery Counter"
      in the mstlink utility when using InfiniBand protocol only.
    - Added support for HDR PCIe grades in the EYE Opening Info in the mstlink utility.
    - Added a new flag (show links) to define the valid PCIe links.
    - Displays and configures port related data at the physical layer.
  - mstconfig tool
    - Added the ATS_ENABLED TLV param. When set to TRUE, the device will support Address
      Translation Service (ATS).
    - Added the VF_VPD_ENABLE parameter to mstconfig. When set, the VPD capability
      is exposed to Virtual Functions.
  - mstarchive tool
    - Added support for MFA2 query using the mstarchive tool.
  - mstfwtrace tool
    - Extracts and prints trace messages generated by the firmware of 5th generation devices.
      This tool supports secure firmware flow only.
  - mstreg tool
    - Exposes supported access registers, and allows users to obtain information
      regarding the registers fields and attributes, and to set and get data with
      a specific register.
  - mstfwmanager tool
    - Supports listing the contents of images archive. When running this command the tool
      will list all firmware images within this PLDM package for each image it displays.

OBS-URL: https://build.opensuse.org/request/show/766935
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=37
2020-01-24 16:05:32 +00:00

90 lines
2.7 KiB
RPMSpec

#
# spec file for package mstflint
#
# Copyright (c) 2020 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 -2
Name: mstflint
Version: 4.13.3
Release: 0
Summary: Mellanox Firmware Burning and Diagnostics Tools
License: GPL-2.0-only OR BSD-2-Clause
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
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
%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}/mstvpd
%{_bindir}/mstfwtrace
%{_mandir}/man1/*.1%{ext_man}
%{_libdir}/mstflint/
%{_datadir}/mstflint/
%changelog