mstflint/mstflint.spec

93 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mstflint
#
# Copyright (c) 2023 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.25.0
Release: 0
Summary: Mellanox Firmware Burning and Diagnostics Tools
License: BSD-2-Clause OR GPL-2.0-only
Group: System/Console
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 17:05:32 +01:00
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
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
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
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 17:05:32 +01:00
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
Accepting request 674852 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-3 (bsc#1103497) - Added option to query only flashed FW version, which reduces the CPU usage during the query. To use this option you should use "--next_boot_fw_ver" flag. - Fixed issue of missing information during query. - Added support for python 3. - Added option to reduce cpu utilization with "--low_cpu" flag. - Added compatibility to 1.1.X version, in addition to previously supported 1.0.2 version. - Added support for Mellanox Quantum switch systems and ConnectX-6 Ready adapter cards. - mstarchive tool The mstarchive tool allows the user to create a file with the mfa2 extension. The new file contains several binary files of a given firmware for different adapter cards. - mstprivhost The ability to restrict the hosts from configuring the NIC. Meaning, only the Arm side will have the privilege to configure the NIC. Note: This utility is supported in BlueField devices only. - mstconfig in BlueField Enables the user to manage (grand/restrict) mlxconfig configuration privileges for BlueField Arm systems. - Refresh patchest against latest sources: - Add-armv6-and-armv7-support.patch - Add-s390-s390x-support.patch - Fix-gcc7-and-gcc8.patch - Remove-date-time-info-from-build.patch - fix-race-condition-during-install.patch - Drop Fixed-licenses-of-files.patch as it was merged upstream OBS-URL: https://build.opensuse.org/request/show/674852 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=31
2019-02-14 07:54:30 +01:00
%{_bindir}/mstprivhost
%{_bindir}/mstregdump
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 17:05:32 +01:00
%{_bindir}/mstresourcedump
Accepting request 839558 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.15.0-1 (jsc#SLE-15968) - New Supported Devices - ConnectX-6Lx adapter cards support. - BlueField-2 adapter cards support. - mstconfig tool - QOS ets configuration ConnectX-4 LX 25NIC failed when enabled VFs > 21 - Network programmability (Dynamic Flex Parse) Packet classification on eCPRI header on receive with DPDK - Improved BlueField NVMf Performance when working in 4K block size [BlueField SmartNIC] Support full virtio-net PCI device emulation + Device Hot Plug - BareMetal case GA - ConnectX-6 SHARPv2 to achieve line-rate performance - New Feature - BOOT_INTERRUPT_DIS parameter was added to mlxconfig. When TRUE, legacy interrupts should not be used for receive/transmit indication. Polling should be used instead. - mstdump tool - Fixed an issue that caused mstflint to print garbage messages. To fix the bug, the new kernel module should be recompiled and loaded - mstreg tool [software steering, ASAP^2, Connection Tracking] adding DP_HASH support - Virtual output Queuing - exposing descriptors - New Feature - Increased the registry keys the tool supports and now it exposes the full PRM. - For additional information, refer to the PRM. - mstlink tool - need mstlink to support TX SerDes set --database at Quantum and Spectrum-2 - QSFP DD + CMIS - mstlink - support for 400G - mstlink to enforce PRBS at host-management and/ or multi-host systems - mstlink - add support to configure PRBS - Read/Write SerDes Tx taps with new SLTP register - mstlink - Fix the return bad status of SLTP according to the new return values - New Feature - HDR lane rate is now supported when in Pseudorandom Binary Sequence (PRBS) mode. - New Feature - Added support for switching between NRZ/PAM4 speeds for new devices that support - HDR/200G speeds (ConnectX-6, ConnectX-6 Dx, Mellanox Quantum, Mellanox Spectrum 2). - mstfwreset tool - handling mstfwreset on SN in different modes - mstflint tool [Secure Boot][BlueField-2] EFUSE keys burn tool (Arm OS) for RSA Keys and MKEK - Support HPCC in CX6Dx - Add life cycle, secure boot, recovery indications to the flint query full command - New Feature - Enables the user to insert information manually to the flash on components such as MFG/DEV GUID/MAC when no information exists after the burn process using the command "mstflint -d \<device\> sg \<guid\>". If the information is not inserted manually, the existing GUID/MAC - information will be used instead. - New Feature - Enables the user to query the MFA2 file using a PSID. - mstresourcedump tool - MSTResoruceDump new tool: Build a dump passer tool for parsing resource dumps - Added support for "--virtual-hca-id" command. Now the tool can provide info on the virtual HCA (host channel adapter, NIC) ID. OBS-URL: https://build.opensuse.org/request/show/839558 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=39
2020-10-05 15:29:34 +02:00
%{_bindir}/mstresourceparse
%{_bindir}/mstvpd
Accepting request 728694 from home:NMoreyChaisemartin:branches:science:HPC - Update to v4.11.0-5 (bsc#1136328) - Build related changes - Disabled -Werror compiler flag - Added the option to choose local system libraries if available in the machine - Enhanced python 3 compatibility - Removed python shebangs from the scripts - Fixed multiple rpmbuild issues - Added --enable-all-static configure flag that allows compilation of static executables, when the the option is supported by the compiler - All python scripts were aligned to unix encoding - Fixed multiple builds and compilation issues - mstprivhost tool - Added mstprivhost tool to set host privilege configurations - mstflint tool - Added missing Rom info attribute for legacy FW qq query - Fixed query timeout when device is locked - Renamed former --next_boot_fw_ver to --flashed_version flag. This flag queries the flashed version. - Note that the previous flag is supported to keep compatibility. - Fixed an issue with FW upgrade on ConnectX-5 EN - mstregdup tool - Fixed segfault - mstconfig - Added new params: - mstfwtrace - Added fwtracer: in this release, this tool supports secure FW flow only - libibmad - Added support for libibmad 12 in addition to 5 - Python tools - Fixed Python wrapper to work properly in multiple OSes and multiple Python versions - Added adb generic tools - Added mstreg tool: To enable this option please use "--enable-adb-genaric-tools" flag OBS-URL: https://build.opensuse.org/request/show/728694 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=35
2019-09-06 09:06:57 +02:00
%{_bindir}/mstfwtrace
%{_mandir}/man1/*.1%{ext_man}
%{_libdir}/mstflint/
%{_datadir}/mstflint/
%changelog