To update the intel-ucode package to the system, one need: 1. Ensure the existence of /sys/devices/system/cpu/microcode/reload 2. Copy intel-ucode directory to /lib/firmware, overwrite the files in /lib/firmware/intel-ucode/ 3. Write the reload interface to 1 to reload the microcode files, e.g. echo 1 > /sys/devices/system/cpu/microcode/reload
So:
# mkdir -p /lib/firmware/
# cp -r intel-ucode/ /lib/firmware
# echo 1 > /sys/devices/system/cpu/microcode/reload
Now I came from revision 0x44 to 0xd0
[root@pnixos:/home/paul/Downloads/microcode]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
stepping : 6
microcode : 0xd0
cpu MHz : 1600.000
I am so happy to know that my computer will now be slower! :) [but more secure]
So this seems to suggest that the current package does not work.
I don't see how the following is suppose to do the trick:
| installPhase = '' |
| mkdir -p $out kernel/x86/microcode |
| mv microcode.bin kernel/x86/microcode/GenuineIntel.bin |
| echo kernel/x86/microcode/GenuineIntel.bin | bsdcpio -o -H newc -R 0:0 > $out/intel-ucode.img |
>I guess you are running unstable?
I believe the CPU of the Thinkpad T460p is Family=6-Model=0x94-Stepping=3.