SHA256
1
0
forked from pool/rshim

Accepting request 800077 from home:mbrugger

User-space driver for Mellanox BlueField SoC

This is the user-space driver to access the BlueField SoC via the rshim
interface. It provides ways to push boot stream, debug the target or login
via the virtual console or network interface.

OBS-URL: https://build.opensuse.org/request/show/800077
OBS-URL: https://build.opensuse.org/package/show/hardware/rshim?expand=0&rev=1
This commit is contained in:
Michal Suchanek 2020-05-20 18:42:08 +00:00 committed by Git OBS Bridge
commit 2f658f7a6b
5 changed files with 93 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
rshim-2.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48d0e0467a3d13286c810d2c50751bfbb58cd8e328b82ebe8e08264add47b052
size 48912

4
rshim.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Apr 27 13:45:32 UTC 2020 - Matthias Brugger <mbrugger@suse.com>
- add version 2.0.4

62
rshim.spec Normal file
View File

@ -0,0 +1,62 @@
#
# spec file for package rshim
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019 Mellanox Technologies. All Rights Reserved.
#
# 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/
#
Name: rshim
Version: 2.0.4
Release: 0
Summary: User-space driver for Mellanox BlueField SoC
License: GPL-2.0-only
Group: System/Management
URL: https://github.com/mellanox/rshim-user-space
Source0: %{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fuse-devel
BuildRequires: pciutils-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libusb-1.0)
%description
This is the user-space driver to access the BlueField SoC via the rshim
interface. It provides ways to push boot stream, debug the target or login
via the virtual console or network interface.
%prep
%setup -q
%build
./bootstrap.sh
%configure
%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
%files
%license LICENSE
%doc README.md
%{_unitdir}/rshim.service
%{_sbindir}/rshim
%{_mandir}/man8/rshim.8%{?ext_man}
%changelog