Microcode utility for BSD
The manual page is not yet converted to nroff, read it here please:
http://bsd.denkverbot.info/2018/03/cpupdate-manpage-suggestion.html
Please do not install via pkg.
Please use ports or manually clone it with git.
To install cpupdate:
Do "cd /usr/ports/sysutils/cpupdate".
Then run "make config".
In the dialog shown, activate the options for downloading microcode files.
Then do "make install".
You get a notice printed where the microcode files that have been downloaded have been placed.
Now you have to place them into where the program expects them.
To install the Intel microcode pack:
As root, do "mkdir -p /usr/local/share/cpupdate/CPUMicrocodes/primary/Intel".
Then do "mv /usr/ports/sysutils/cpupdate/work/intel-ucode/* /usr/local/share/cpupdate/CPUMicrocodes/primary/Intel"
This moves the Intel microcode files to the directory cpupdate expects them in.
To install the platomav/CPUMicrocodes collection:
As root, do "mkdir -p /usr/local/share/cpupdate/CPUMicrocodes/secondary/Intel".
Then do "cpupdate -IC -S /usr/ports/sysutils/cpupdate/work/CPUMicrocodes-2ece631/Intel -T /usr/local/share/cpupdate/CPUMicrocodes/secondary/Intel".
This converts the legacy-format microcode files to modern Intel multi-blobbed format ready-to-use by cpupdate.
There are also some temporary notes, covering the directories used etc:
http://bsd.denkverbot.info/2018/03/notes-for-making-sysutilscpupdate-port.html
Update:
There is a new convenience target "install-microcodes" added by Eugene Grosbein.
See details here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226620#c5
Thank you very much, Eugene!