On Tue, 09 Jan 2018 00:15:03 +0000, Peter Humphrey wrote:

> > > How do you build the microcode into the kernel? The only
> > > place I can see to do that in menuconfig is under Device Drivers;
> > > there's no such field under Firmware.  
> > 
> > The Device Drivers section is exactly where the microcode is included.
> > CONFIG_EXTRA_FIRMWARE is the relevant symbol.  
> 
> Right. So which of the 95 files under /lib/firmware/intel-ucode do I 
> specify? That's in addition to the 14 files I have for my amdgpu.

I found the simplest way to do it was to emerge intel-microcode with the
initramfs uSE flag. Then copy /lib/firmware/microcode.cpio to /boot and
add it as an initrd - before the existing one if you already use one.

That way it is still loaded at the same time but you don't need to
recompile your kernels (most of us probably have more than one in /boot)
each time there is a microcode update. The USE flag takes care of
selecting the correct file for your CPU.


-- 
Neil Bothwick

Top Oxymorons Number 20: Synthetic natural gas

Attachment: pgpNQjdJJjvIs.pgp
Description: OpenPGP digital signature

Reply via email to