From 094e28c74ecccfea79cf129dc8731c69a1263e36 Mon Sep 17 00:00:00 2001 From: Sean Bruno Date: Sat, 13 Jan 2018 21:35:44 +0000 Subject: 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 --- sysutils/devcpu-data/files/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sysutils/devcpu-data/files') 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 -- cgit v1.2.3