forked from pool/rshim
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
4c675a37c5 | |||
|
9461cc9ac3 | ||
1625a4a47a | |||
|
69c9175cff |
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -21,5 +21,3 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
rshim-2.0.29.1.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
13
_service
13
_service
@@ -1,13 +0,0 @@
|
||||
<!-- See https://en.opensuse.org/openSUSE:Build_Service_Concept_SourceService -->
|
||||
<!-- for more details on the syntax -->
|
||||
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/Mellanox/rshim-user-space.git</param>
|
||||
<param name="filename">rshim</param>
|
||||
<param name="versionrewrite-pattern">rshim-(.*)</param>
|
||||
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:848c8192385ee9cf33d52e5fdf1041564d94f93ed6b012236d202dc5a1fdb3cb
|
||||
size 368640
|
3
rshim-2.3.8.tar.gz
Normal file
3
rshim-2.3.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bd590a99f3446e92018a64d13b30d3e283ca49724a683e05bec065827bb7c348
|
||||
size 131186
|
@@ -1,3 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 14 19:45:13 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 2.3.8:
|
||||
* Fix a potentially unintialized variable
|
||||
- includes changes from 2.3.7:
|
||||
* bfb-install: Reactivate NIC_FW for runtime upgrade
|
||||
- includes changes from 2.3.6:
|
||||
* bfb-install: cleanup the TMP_DIR
|
||||
- includes changes from 2.3.5:
|
||||
* bfb-install: add validation of bfb and rshim options
|
||||
* Fix the rshim command line for register read/write
|
||||
- includes changes from 2.3.4:
|
||||
* mlx-mkbfb: Improve the performance when extracting a single image
|
||||
* Reduce CPU utilization by network optimization
|
||||
- includes changes from 2.3.2:
|
||||
* bfb-install: Support trimmed NIC_FW
|
||||
* bfdump support
|
||||
* Use BREADCRUMB.BIT32 to indicate NIC mode
|
||||
* Added bfb-tool script
|
||||
- includes changes from 2.3.1:
|
||||
* Enhance command line for register read/write
|
||||
* Support PCIe device name runtime update
|
||||
* bfb-install: Enhancement for runtime upgrade
|
||||
* bfb-install: don't exit script when rshim install fails
|
||||
* Add fwpkg_unpack tool
|
||||
* Added mlx-mkbfb
|
||||
- build with fuse 3 (boo#1243151)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 10:40:20 UTC 2025 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.2.4.0
|
||||
* Update default USB timeout
|
||||
* Add BF_MODE misc output to show DPU or NIC mode (BF3 only)
|
||||
* Allow 0 to restrore USB_TIMEOUT default value
|
||||
* Allow multi rshim processes for dev attchment
|
||||
* Force stop if stuck during systemd service stop
|
||||
* removes unnecesary POLLOUT polling in USB
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 12:36:55 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.1.6.0
|
||||
* Add USB_TIMEOUT to rshim misc and conf settings
|
||||
* Use BOOT_RESET_SKIP command to simulate eMMC boot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 11:26:27 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
- Update to 2.1.5.0
|
||||
* Avoid polling blocked status during reset
|
||||
* Adjust default reset delay to 3 seconds on PCIe
|
||||
* Remove workaround support for BF2 A0 chip
|
||||
* Only poll/check locked mode for PCIe backend
|
||||
* support register read/write via /dev/rshim0/rshim for pcie_lf on BF3
|
||||
* add 'CLEAR_ON_READ' command to delete rshim log after read
|
||||
* Add ownership transfer feature
|
||||
* Allow /dev/rshim<N> devfs creation only with --force option enabled
|
||||
* Make sending the initial force command a one-time event
|
||||
* Add VFIO support for Bluefield-3 on PCIe
|
||||
* Add support for command mode
|
||||
* Adjust default boot timeout to 300s
|
||||
* Make rshim run in single instance
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 14:17:18 UTC 2024 - Matthias Brugger <mbrugger@suse.com>
|
||||
|
||||
|
51
rshim.spec
51
rshim.spec
@@ -3,6 +3,7 @@
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2019 Mellanox Technologies. All Rights Reserved.
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,19 +19,20 @@
|
||||
|
||||
|
||||
Name: rshim
|
||||
Version: 2.0.29.1
|
||||
Version: 2.3.8
|
||||
Release: 0
|
||||
Summary: User-space driver for Mellanox BlueField SoC
|
||||
License: GPL-2.0 or BSD-3-Clause
|
||||
License: BSD-3-Clause OR GPL-2.0-only
|
||||
Group: System/Management
|
||||
URL: https://github.com/mellanox/rshim-user-space
|
||||
Source0: %{name}-%{version}.tar
|
||||
Source0: https://github.com/Mellanox/rshim-user-space/archive/refs/tags/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: fuse-devel
|
||||
BuildRequires: pciutils-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(fuse3)
|
||||
BuildRequires: pkgconfig(libpci)
|
||||
BuildRequires: pkgconfig(libusb-1.0)
|
||||
ExcludeArch: %{ix86} armv6l armv6hl armv7l armv7hl
|
||||
|
||||
%description
|
||||
This is the user-space driver to access the BlueField SoC via the rshim
|
||||
@@ -38,25 +40,46 @@ interface. It provides ways to push boot stream, debug the target or login
|
||||
via the virtual console or network interface.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1 -n rshim-user-space-rshim-%{version}
|
||||
|
||||
%build
|
||||
./bootstrap.sh
|
||||
%configure
|
||||
%configure \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
--with-systemdsystemunitdir=%{_unitdir} \
|
||||
--enable-usb \
|
||||
--enable-pcie \
|
||||
--enable-fuse \
|
||||
%{nil}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install -C src INSTALL_DIR="%{buildroot}%{_sbindir}"
|
||||
install -d %{buildroot}%{_unitdir}
|
||||
install -m 0644 rshim.service %{buildroot}%{_unitdir}
|
||||
install -d %{buildroot}%{_mandir}/man8
|
||||
install -m 0644 man/rshim.8 %{buildroot}%{_mandir}/man8
|
||||
%make_install
|
||||
|
||||
%pre
|
||||
%service_add_pre rshim.service
|
||||
|
||||
%post
|
||||
%service_add_post rshim.service
|
||||
|
||||
%preun
|
||||
%service_del_preun rshim.service
|
||||
|
||||
%postun
|
||||
%service_del_postun rshim.service
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_unitdir}/rshim.service
|
||||
%config(noreplace) %{_sysconfdir}/rshim.conf
|
||||
%{_sbindir}/bf-reg
|
||||
%{_sbindir}/bfb-install
|
||||
%{_sbindir}/bfb-tool
|
||||
%{_sbindir}/fwpkg_unpack.py
|
||||
%{_sbindir}/mlx-mkbfb
|
||||
%{_sbindir}/rshim
|
||||
%{_mandir}/man8/rshim.8%{?ext_man}
|
||||
%{_unitdir}/rshim.service
|
||||
%{_mandir}/man1/*.1%{?ext_man}
|
||||
%{_mandir}/man8/*.8%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user