summaryrefslogtreecommitdiff
path: root/sysutils/devcpu-data/files/pkg-message.in
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2023-08-10 13:57:31 -0300
committerJoseph Mingrone <jrm@FreeBSD.org>2023-08-16 14:06:40 -0300
commitbc7829212d153aeff69b439d08e2e3001ef88ba3 (patch)
treedbd5b697523d2fe44889d386bd07de89d5b4dad4 /sysutils/devcpu-data/files/pkg-message.in
parentsecurity/tailscale: Update to 1.48.0 (diff)
sysutils/cpu-microcode-*: Reorganize CPU microcode ports
Prior to this update, sysutils/devcpu-data, which only contained an RC script, had run dependencies on the AMD and Intel microcode ports. This made it cumbersome to have just the AMD or just the Intel microcode ports installed. With this change, the microcode ports now depend on the RC script. Other changes: - Use more intuitive port names: cpu-microcode, cpu-microcode-amd, cpu-microcode-intel, and cpu-microcode-rc. - Add the metaport, cpu-microcode, which pulls in all related ports. - Pet portclippy/portfmt Reviewed by: lwhsu, markj Approved by: sbruno (maintainer) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41406
Diffstat (limited to 'sysutils/devcpu-data/files/pkg-message.in')
-rw-r--r--sysutils/devcpu-data/files/pkg-message.in46
1 files changed, 0 insertions, 46 deletions
diff --git a/sysutils/devcpu-data/files/pkg-message.in b/sysutils/devcpu-data/files/pkg-message.in
deleted file mode 100644
index c2860f035372..000000000000
--- a/sysutils/devcpu-data/files/pkg-message.in
+++ /dev/null
@@ -1,46 +0,0 @@
-[
-{ type: install
- message: <<EOM
-This port includes an RC script, which is one of two methods to update the
-CPU microcode on a FreeBSD system.
-
-1. The first method, which does not require the RC script included in this
- port is currently only supported on FreeBSD 12.0 or later and Intel i386
- and amd64 processors. It is the preferred method when available because
- it ensures that any CPU features introduced by a microcode update are
- visible to the kernel by applying the update before the kernel performs
- CPU feature detection.
-
- To enable updates using the first method, add the following lines to
- /boot/loader.conf:
-
- cpu_microcode_load="YES"
- cpu_microcode_name="/boot/firmware/intel-ucode.bin"
-
- The microcode update will be loaded when the system is rebooted.
-
-
-2. The second method, which uses the RC script included in this port can
- be enabled by adding the following line to /etc/rc.conf:
-
- microcode_update_enable="YES"
-
- The microcode update is then applied upon reboot or when the microcode
- update service is run via:
-
- # service microcode_update start
-
- If the CPU requires a microcode update, a console message such as the
- following will appear:
-
- Updating CPU Microcode...
- %%DATADIR%%/m32306c3_00000022.fw: updating cpu /dev/cpuctl0 from rev 0x17 to rev 0x22... done.
- %%DATADIR%%/m32306c3_00000022.fw: updating cpu /dev/cpuctl2 from rev 0x17 to rev 0x22... done.
- %%DATADIR%%/m32306c3_00000022.fw: updating cpu /dev/cpuctl4 from rev 0x17 to rev 0x22... done.
- %%DATADIR%%/m32306c3_00000022.fw: updating cpu /dev/cpuctl6 from rev 0x17 to rev 0x22... done.
- Done.
-
-It is safe to enable both methods.
-EOM
-}
-]