diff options
author | sbruno <sbruno@FreeBSD.org> | 2018-01-14 05:35:44 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2018-01-14 05:35:44 +0800 |
commit | 8deb62abffd505e7bb2dfe3b2a810520044d8bc4 (patch) | |
tree | fcfa3c1909ccc2e086f6f46a2591878193cd060a /sysutils | |
parent | 5d221e62799700add0c974e102372b31ac5cdcba (diff) | |
download | freebsd-ports-gnome-8deb62abffd505e7bb2dfe3b2a810520044d8bc4.tar.gz freebsd-ports-gnome-8deb62abffd505e7bb2dfe3b2a810520044d8bc4.tar.zst freebsd-ports-gnome-8deb62abffd505e7bb2dfe3b2a810520044d8bc4.zip |
sysutils/devcpu-data: Update AMD microcode, add cpu 17h microcode,
drop malfunctioning individual "AMD-XXX" files.
On the few machines that actually have microcode updates, chopping up the
microcode is incorrect and results in a failure to update. Don't do that.
I personally run this on my FX-8150 and this has been tested by a few others.
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13832
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/devcpu-data/Makefile | 5 | ||||
-rw-r--r-- | sysutils/devcpu-data/distinfo | 6 | ||||
-rw-r--r-- | sysutils/devcpu-data/files/Makefile | 7 | ||||
-rw-r--r-- | sysutils/devcpu-data/pkg-plist | 20 |
4 files changed, 13 insertions, 25 deletions
diff --git a/sysutils/devcpu-data/Makefile b/sysutils/devcpu-data/Makefile index dadbf483c622..dc87c34d0e20 100644 --- a/sysutils/devcpu-data/Makefile +++ b/sysutils/devcpu-data/Makefile @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= data -PORTVERSION= 1.13 -PORTREVISION= 2 +PORTVERSION= 1.14 CATEGORIES= sysutils MASTER_SITES= https://downloadmirror.intel.com/27431/eng/:intel \ LOCAL/sbruno:amd PKGNAMEPREFIX= devcpu- -DISTFILES= microcode-20171117.tgz:intel amd-ucode-2014-12-01.tar.bz2:amd +DISTFILES= microcode-20171117.tgz:intel amd64-microcode_3.20171205.1.tar.xz:amd MAINTAINER= clarkjc@runbox.com COMMENT= Intel and AMD CPUs microcode updates diff --git a/sysutils/devcpu-data/distinfo b/sysutils/devcpu-data/distinfo index 8da67a3cbd50..99daf743d14d 100644 --- a/sysutils/devcpu-data/distinfo +++ b/sysutils/devcpu-data/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1515697139 +TIMESTAMP = 1515706070 SHA256 (microcode-20171117.tgz) = 93bd1da9fa58ece0016702e657f708b7e496e56da637a3fe9a6d21f1d6f524dc SIZE (microcode-20171117.tgz) = 3594762 -SHA256 (amd-ucode-2014-12-01.tar.bz2) = e8f37ed12955585a625ee7cd48d89f9a04ceb2afa36081b52cc59d08a3bb8293 -SIZE (amd-ucode-2014-12-01.tar.bz2) = 20585 +SHA256 (amd64-microcode_3.20171205.1.tar.xz) = a38bc072f535a3d3c1bf4e9e545197aa5114e979e94ef7e4a67e615df2f853a7 +SIZE (amd64-microcode_3.20171205.1.tar.xz) = 32584 diff --git a/sysutils/devcpu-data/files/Makefile b/sysutils/devcpu-data/files/Makefile index ff35cab64509..fc1c2586691c 100644 --- a/sysutils/devcpu-data/files/Makefile +++ b/sysutils/devcpu-data/files/Makefile @@ -1,14 +1,15 @@ -AMD_UCODE_DIR= amd-ucode +AMD_UCODE_DIR= amd64-microcode-3.20171205.1 AMD_UCODE= $(AMD_UCODE_DIR)/microcode_amd.bin \ $(AMD_UCODE_DIR)/microcode_amd_fam15h.bin \ - $(AMD_UCODE_DIR)/microcode_amd_fam16h.bin + $(AMD_UCODE_DIR)/microcode_amd_fam16h.bin \ + $(AMD_UCODE_DIR)/microcode_amd_fam17h.bin INTEL_UCODE= microcode.dat OUTPUT_DIR= mcodes all: ucode ucode: ucode-tool mkdir -p $(OUTPUT_DIR) ./ucode-tool -o $(OUTPUT_DIR) -i $(INTEL_UCODE) - ./ucode-tool -o $(OUTPUT_DIR) -a $(AMD_UCODE) + mv ${AMD_UCODE} $(OUTPUT_DIR) # Use the host cc to compile ucode-tool in case of cross-compile ucode-tool: ucode-tool.c diff --git a/sysutils/devcpu-data/pkg-plist b/sysutils/devcpu-data/pkg-plist index 308490f361b1..40b4082d9d11 100644 --- a/sysutils/devcpu-data/pkg-plist +++ b/sysutils/devcpu-data/pkg-plist @@ -1,20 +1,4 @@ %%DATADIR%%/2f0708.fw -%%DATADIR%%/AMD-00001020-01000084.fw -%%DATADIR%%/AMD-00001022-01000083.fw -%%DATADIR%%/AMD-00001041-010000db.fw -%%DATADIR%%/AMD-00001043-010000c8.fw -%%DATADIR%%/AMD-00001062-010000c7.fw -%%DATADIR%%/AMD-00001080-010000da.fw -%%DATADIR%%/AMD-00001081-010000d9.fw -%%DATADIR%%/AMD-000010a0-010000dc.fw -%%DATADIR%%/AMD-00002031-02000032.fw -%%DATADIR%%/AMD-00003010-03000027.fw -%%DATADIR%%/AMD-00005010-05000029.fw -%%DATADIR%%/AMD-00005020-05000119.fw -%%DATADIR%%/AMD-00006012-0600063d.fw -%%DATADIR%%/AMD-00006020-06000832.fw -%%DATADIR%%/AMD-00006101-06001119.fw -%%DATADIR%%/AMD-00007001-0700010f.fw %%DATADIR%%/M01106C2217.fw %%DATADIR%%/M01106CA107.fw %%DATADIR%%/M0120661104.fw @@ -173,6 +157,10 @@ %%DATADIR%%/med306e6_00000600.fw %%DATADIR%%/med306e7_0000070d.fw %%DATADIR%%/mef406f1_0b000021.fw +%%DATADIR%%/microcode_amd.bin +%%DATADIR%%/microcode_amd_fam15h.bin +%%DATADIR%%/microcode_amd_fam16h.bin +%%DATADIR%%/microcode_amd_fam17h.bin %%DATADIR%%/mu267114.fw %%DATADIR%%/mu267238.fw %%DATADIR%%/mu26732e.fw |