Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Apr 2016 15:19:05 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413650 - in head/sysutils: . intel-nvmupdate intel-nvmupdate/files
Message-ID:  <201604191519.u3JFJ5OD042437@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Tue Apr 19 15:19:05 2016
New Revision: 413650
URL: https://svnweb.freebsd.org/changeset/ports/413650

Log:
  Add firmware update tool for Intel ixl(4) devices.  This allows FreeBSD
  users to natively update their card's firmware.
  
  Submitted by:	Sergey Kozlov <kozlov.sergey.404@gmail.com>
  Reviewed by:	jeffrey.e.piper@intel.com
  Sponsored by:	Intel Corporation
  Differential Revision:	https://reviews.freebsd.org/D5828

Added:
  head/sysutils/intel-nvmupdate/
  head/sysutils/intel-nvmupdate/Makefile   (contents, props changed)
  head/sysutils/intel-nvmupdate/distinfo   (contents, props changed)
  head/sysutils/intel-nvmupdate/files/
  head/sysutils/intel-nvmupdate/files/nvmupdate.in   (contents, props changed)
  head/sysutils/intel-nvmupdate/pkg-descr   (contents, props changed)
  head/sysutils/intel-nvmupdate/pkg-message   (contents, props changed)
  head/sysutils/intel-nvmupdate/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Apr 19 15:11:32 2016	(r413649)
+++ head/sysutils/Makefile	Tue Apr 19 15:19:05 2016	(r413650)
@@ -433,6 +433,7 @@
     SUBDIR += iat
     SUBDIR += inotify-tools
     SUBDIR += installwatch
+    SUBDIR += intel-nvmupdate
     SUBDIR += intel-pcm
     SUBDIR += iocage
     SUBDIR += iocage-devel

Added: head/sysutils/intel-nvmupdate/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/Makefile	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,49 @@
+# Created by: Sergey Kozlov <sergey.kozlov@intel.com>
+# $FreeBSD$
+
+PORTNAME=	nvmupdate
+DISTVERSION=	5_02
+CATEGORIES=	sysutils
+MASTER_SITES=	https://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/ \
+		http://downloadmirror.intel.com/${MASTER_SITE_SUBDIR}/
+MASTER_SITE_SUBDIR=	25792/eng
+PKGNAMEPREFIX=	intel-
+DISTNAME=	XL710_NVMUpdatePackage_v${DISTVERSION}_FreeBSD
+
+MAINTAINER=	freebsd@intel.com
+COMMENT=	NVM Update Utility for Intel(R) Ethernet Adapters
+
+LICENSE=		IFL IPL
+LICENSE_COMB=		multi
+
+LICENSE_NAME_IFL=	Intel Firmware License
+LICENSE_FILE_IFL=	${WRKSRC}/Intel_firmware_license.txt
+LICENSE_PERMS_IFL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+LICENSE_NAME_IPL=	Intel Proprietary License
+LICENSE_FILE_IPL=	${WRKSRC}/license.txt
+LICENSE_PERMS_IPL=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+WRKSRC=			${WRKDIR}/XL710/FreeBSDx64
+NO_BUILD=		yes
+ONLY_FOR_ARCHS=		amd64
+ONLY_FOR_ARCHS_REASON=	not supported on anything other than amd64
+
+SUB_FILES=	nvmupdate
+SUB_LIST=	NVMUPDATE_DIR=${NVMUPDATE_DIR}
+
+NVMUPDATE_DIR=	intel-nvmupdate
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 1002000
+IGNORE=		is not supported on FreeBSD 10.1 and older
+.endif
+
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR} "! -name 'nvmupdate64e'"
+	${INSTALL_PROGRAM} ${WRKSRC}/nvmupdate64e ${STAGEDIR}${PREFIX}/${NVMUPDATE_DIR}
+	${INSTALL_SCRIPT} ${WRKDIR}/nvmupdate ${STAGEDIR}${PREFIX}/sbin/
+
+.include <bsd.port.post.mk>

Added: head/sysutils/intel-nvmupdate/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/distinfo	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,2 @@
+SHA256 (XL710_NVMUpdatePackage_v5_02_FreeBSD.tar.gz) = b2d4f4ed66c5879c47fb6c0937a50fcf50e7007d8e24246d1e9f4531ba1b90a8
+SIZE (XL710_NVMUpdatePackage_v5_02_FreeBSD.tar.gz) = 24168353

Added: head/sysutils/intel-nvmupdate/files/nvmupdate.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/files/nvmupdate.in	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,4 @@
+#!/bin/sh
+# $FreeBSD$
+cd %%PREFIX%%/%%NVMUPDATE_DIR%%
+./nvmupdate64e $@

Added: head/sysutils/intel-nvmupdate/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/pkg-descr	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,5 @@
+This package contains all the required files to update the NVM on the
+Intel(R) Ethernet adapters in your system. It contains the NVMUpdate utility,
+configuration file, updated NVM binaries, and required driver files.
+
+WWW: https://downloadcenter.intel.com

Added: head/sysutils/intel-nvmupdate/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/pkg-message	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,27 @@
+===============================================================================
+
+THIS PACKAGE INSTALLS THE NEWER VERSION OF THE SOFTWARE WHICH CAN CAUSE SYSTEM
+INSTABILITY WHILE USED. USE THE UPDATED VERSION ONLY IF YOU EXPERIENCE
+PROBLEMS WITH THE PRESENT NVM IMAGE VERSION
+
+This package should only be used on Intel branded adapters. Please contact your
+OEM vendor for an appropriate package. This package only updates the NVM image.
+It does not update the preboot image. To update your preboot image, please
+download the appropriate package.
+
+DO NOT
+- Power down your system during the NVM Update.
+- Remove the NIC before the NVM Update completes.
+- Interrupt the NVM Update in any other way.
+Doing so may make your device unusable.
+
+For the package to function properly please make sure you have latest ixl driver
+installed. If necessary - install the updated version from net/intel-ixl-kmod
+
+Usage:
+# nvmupdate
+
+Getting help:
+# nvmupdate -h
+
+==============================================================================

Added: head/sysutils/intel-nvmupdate/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/intel-nvmupdate/pkg-plist	Tue Apr 19 15:19:05 2016	(r413650)
@@ -0,0 +1,66 @@
+intel-nvmupdate/AXX1P40FRTIOM_4p42_CFGID4p0_80001934.bin
+intel-nvmupdate/AXX1P40FRTIOM_5p02_CFGID4p0.bin
+intel-nvmupdate/AXX1P40FRTIOM_gpio.txt
+intel-nvmupdate/AXX2P40FRTIOM_4p42_CFGID4p5_80001935.bin
+intel-nvmupdate/AXX2P40FRTIOM_5p02_CFGID4p5.bin
+intel-nvmupdate/AXX2P40FRTIOM_gpio.txt
+intel-nvmupdate/Intel_Proprietary_License.pdf
+intel-nvmupdate/Intel_firmware_license.txt
+intel-nvmupdate/PF_Alloc.txt
+intel-nvmupdate/PF_Alloc_1589.txt
+intel-nvmupdate/PF_Alloc_LR4.txt
+intel-nvmupdate/PF_Alloc_WOL_DIS.txt
+intel-nvmupdate/X710DA2_4p42_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/X710DA2_5p02_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/X710DA4FH_4p42_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/X710DA4FH_5p02_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/X710DA4_4p42_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/X710DA4_5p02_CFGID7p2_OEMGEN.bin
+intel-nvmupdate/XL710QDA1_4p42_CFGID4p0_OEMGEN.bin
+intel-nvmupdate/XL710QDA1_5p02_CFGID4p0_OEMGEN.bin
+intel-nvmupdate/XL710QDA1_gpio.txt
+intel-nvmupdate/XL710QDA2_4p42_CFGID4p5_OEMGEN.bin
+intel-nvmupdate/XL710QDA2_5p02_CFGID4p5_OEMGEN.bin
+intel-nvmupdate/XL710QDA2_gpio.txt
+intel-nvmupdate/XL710_4p42_KR_KR4_NCSI_CFGID2p0_Single.bin
+intel-nvmupdate/XL710_4p42_KR_KR4_NCSI_CFGID2p4_Dual.bin
+intel-nvmupdate/XL710_4p42_KR_KX_NCSI_CFGID3p8_Quad.bin
+intel-nvmupdate/XL710_4p42_KX_KX4_NCSI_CFGID1p0_Dual.bin
+intel-nvmupdate/XL710_4p42_QSFP_MCTP_CFGID4p0_Single.bin
+intel-nvmupdate/XL710_4p42_QSFP_MCTP_CFGID4p5_Dual.bin
+intel-nvmupdate/XL710_4p42_QSFP_NCSI_CFGID4p0_Single.bin
+intel-nvmupdate/XL710_4p42_QSFP_NCSI_CFGID4p5_Dual.bin
+intel-nvmupdate/XL710_4p42_SFI_MCTP_CFGID7p2_Quad.bin
+intel-nvmupdate/XL710_4p42_SFI_NCSI_CFGID7p2_Quad.bin
+intel-nvmupdate/XL710_5p02_KR_KR4_NCSI_CFGID2p0_Single.bin
+intel-nvmupdate/XL710_5p02_KR_KR4_NCSI_CFGID2p4_Dual.bin
+intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p0_Quad.bin
+intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p2_Quad.bin
+intel-nvmupdate/XL710_5p02_KR_KX_NCSI_CFGID3p8_Quad.bin
+intel-nvmupdate/XL710_5p02_KX_KX4_NCSI_CFGID1p0_Dual.bin
+intel-nvmupdate/XL710_5p02_QSFP_Breakout_MCTP_CFGID6p0_Quad.bin
+intel-nvmupdate/XL710_5p02_QSFP_Breakout_MCTP_CFGID6p4_Quad.bin
+intel-nvmupdate/XL710_5p02_QSFP_Breakout_NCSI_CFGID6p0_Quad.bin
+intel-nvmupdate/XL710_5p02_QSFP_MCTP_CFGID4p0_Single.bin
+intel-nvmupdate/XL710_5p02_QSFP_MCTP_CFGID4p5_Dual.bin
+intel-nvmupdate/XL710_5p02_QSFP_NCSI_CFGID4p0_Single.bin
+intel-nvmupdate/XL710_5p02_QSFP_NCSI_CFGID4p5_Dual.bin
+intel-nvmupdate/XL710_5p02_SFI_MCTP_CFGID7p2_Quad.bin
+intel-nvmupdate/XL710_5p02_SFI_NCSI_CFGID7p2_Quad.bin
+intel-nvmupdate/XL710_5p02_XLAUI_NCSI_CFGID2p61_Dual.bin
+intel-nvmupdate/XL710_X710_4p42_KR_KX_NCSI_CFGID0p5_Dual.bin
+intel-nvmupdate/XL710_X710_4p42_SFI_Backplane_MCTP_CFGID7p2_Dual.bin
+intel-nvmupdate/XL710_X710_4p42_SFI_MCTP_CFGID7p2_Dual.bin
+intel-nvmupdate/XL710_X710_4p42_SFI_NCSI_CFGID7p2_Dual.bin
+intel-nvmupdate/XL710_X710_5p02_KR_KX_NCSI_CFGID0p5_Dual.bin
+intel-nvmupdate/XL710_X710_5p02_SFI_Backplane_MCTP_CFGID7p2_Dual.bin
+intel-nvmupdate/XL710_X710_5p02_SFI_MCTP_CFGID7p2_Dual.bin
+intel-nvmupdate/XL710_X710_5p02_SFI_NCSI_CFGID7p2_Dual.bin
+intel-nvmupdate/file_license.txt
+intel-nvmupdate/license.pdf
+intel-nvmupdate/license.txt
+intel-nvmupdate/nvmupdate.cfg
+intel-nvmupdate/nvmupdate64e
+intel-nvmupdate/readme.txt
+intel-nvmupdate/version.txt
+sbin/nvmupdate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604191519.u3JFJ5OD042437>