Skip to content

Commit ac68d4e

Browse files
committed
sysutils/cpu-microcode: bring back late loading during early boot stage
Although the situation is different on 26.7/15.1 it still affects most people trying to use microcode packages. PR: https://forum.opnsense.org/index.php?topic=52387.0
1 parent 6b10982 commit ac68d4e

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

sysutils/cpu-microcode/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PLUGIN_NAME= cpu-microcode-amd
22
PLUGIN_VERSION= 1.1
3+
PLUGIN_REVISION= 1
34
PLUGIN_COMMENT= CPU microcode updates
45
PLUGIN_DEPENDS= x86info
56
PLUGIN_MAINTAINER= franco@opnsense.org
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
cpu_microcode_load="YES"
2-
cpu_microcode_name="/boot/firmware/%%PLUGIN_VARIANT%%-ucode.bin"
1+
# If you want to use early loading make sure your bootloader code is updated
2+
# using a 26.7/15.1 build. Earlier kernels may cause boot stalls while it
3+
# tries to load microcode updates.
4+
#
5+
# Add the following lines to /boot/loader.conf.local if you prefer early load:
6+
#
7+
# cpu_microcode_load="YES"
8+
# cpu_microcode_name="/boot/firmware/%%PLUGIN_VARIANT%%-ucode.bin"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
export microcode_update_enable="YES"
4+
5+
/usr/local/etc/rc.d/microcode_update start

0 commit comments

Comments
 (0)