commit 2f658f7a6bc718eb7ac12885d12a2f8090b98bae7079e290999dd055d36fe451 Author: Michal Suchanek Date: Wed May 20 18:42:08 2020 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/rshim-2.0.4.tar.gz b/rshim-2.0.4.tar.gz new file mode 100644 index 0000000..3cdcac0 --- /dev/null +++ b/rshim-2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48d0e0467a3d13286c810d2c50751bfbb58cd8e328b82ebe8e08264add47b052 +size 48912 diff --git a/rshim.changes b/rshim.changes new file mode 100644 index 0000000..4b93c05 --- /dev/null +++ b/rshim.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Apr 27 13:45:32 UTC 2020 - Matthias Brugger + +- add version 2.0.4 diff --git a/rshim.spec b/rshim.spec new file mode 100644 index 0000000..c4d9d35 --- /dev/null +++ b/rshim.spec @@ -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