debian: Ice Driver: use new comms ddp firmware

Debianizes commit a3e3f7ea3b

This is a firmware package for Intel Ethernet 800 series
adapters, addressing dynamic device personalization for the
communications market.

See the original commit for more details.

Verification:
- package builds correctly
- built package contains the ice comms ddp fw, softlink to
  it, and license file

Story: 2009823
Task: 44643

Change-Id: Ic201a6283f771c1d820fe769462d73fe78755efb
Signed-off-by: Jim Somerville <jim.somerville@windriver.com>
This commit is contained in:
Jim Somerville
2022-03-01 17:40:32 -05:00
committed by Jim Somerville
parent ef3c9a4618
commit 3201fe2890
4 changed files with 59 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ Source: ice
Section: net
Priority: optional
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
Build-Depends: debhelper-compat (= 13), linux-headers-5.10.0-6-amd64, linux-kbuild-5.10
Build-Depends: debhelper-compat (= 13), linux-headers-5.10.0-6-amd64, linux-kbuild-5.10, unzip
Standards-Version: 4.5.1
Rules-Requires-Root: no

View File

@@ -24,3 +24,49 @@ License: GPL-2
On Debian-based systems the full text of the GNU General Public License
version 2 license can be found in `/usr/share/common-licenses/GPL-2'.
Files: ice_comms*.pkg
Copyright: (c) 2020 - 2022 Intel Corporation.
License: Limited patent license
Redistribution. Redistribution and use in binary form, without
modification, are permitted solely operating in conjunction with Intel
authorized products, provided that the following conditions are met:
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Intel Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
is permitted.
Limited patent license. Intel Corporation grants a world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell ("Utilize") this software, but solely to the extent that any
such patent is necessary to Utilize the software alone, or in
combination with an operating system licensed under an approved Open
Source license as listed by the Open Source Initiative at
http://opensource.org/licenses. The patent license shall not apply to
any other combinations which include this software. No hardware per
se is licensed hereunder.
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
Comment: From Sean Lion of Intel Corporation on Tuesday, January 25, 2022 3:53 PM
To confirm, we would very much like to offer the DDP profiles as a part
of Starling X. There is no additional licensing nor signatures necessary
to host the driver in an open source hub. No signatures required as long
as the licensing terms are acceptable.

View File

@@ -49,11 +49,10 @@ override_dh_auto_install:
dh_install README $(_defaultdocdir)/kmod-$(kmod_name)-$(version)/
dh_install $(kmod_name).7 $(_mandir)/man7/
dh_install debian/extra/ice.conf $(_sysconfdir)/modules-load.d/
dh_install ddp/README /lib/firmware/updates/intel/ice/ddp/
dh_install ddp/LICENSE /lib/firmware/updates/intel/ice/ddp/
dh_install ddp/ice-*.pkg /lib/firmware/updates/intel/ice/ddp/
dh_install ice_comms/*.txt /lib/firmware/updates/intel/ice/ddp/
dh_install ice_comms/ice_comms*.pkg /lib/firmware/updates/intel/ice/ddp/
mkdir -p debian/$(kmod_name)/lib/firmware/intel/ice/ddp/
ln -frs debian/$(kmod_name)/lib/firmware/updates/intel/ice/ddp/ice-*.pkg debian/$(kmod_name)/lib/firmware/intel/ice/ddp/ice.pkg
ln -frs debian/$(kmod_name)/lib/firmware/updates/intel/ice/ddp/ice_comms*.pkg debian/$(kmod_name)/lib/firmware/intel/ice/ddp/ice.pkg
override_dh_strip:
dh_strip
@@ -65,4 +64,6 @@ ifeq ($(WITH_MOD_SIGN),1)
endif
override_dh_auto_build:
unzip *.zip
unzip -d ice_comms ice_comms*.zip
dh_auto_build -D ./src

View File

@@ -6,6 +6,13 @@ dl_path:
url: "https://sourceforge.net/projects/e1000/files/ice%20stable/\
1.7.16/ice-1.7.16.tar.gz"
md5sum: ee6880350a799f0337914c33f1b5c8c0
dl_files:
800-Series-DDP-Comms-Package-1.3.31.0.zip:
topdir: null
url: "https://downloadmirror.intel.com/713853/\
800%20Series%20DDP%20Comms%20Package%201.3.31.0.zip"
md5sum: d0d838120db7784f0419cd73d481aab3
sha256sum: 995375348a255a5425afe38676881d13c478747a07feb30e9bb2841b25e1bbd9
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true