1 |
On Tue, Jan 9, 2018 at 12:15 AM, Peter Humphrey <peter@××××××××××××.uk> wrote: |
2 |
> On Monday, 8 January 2018 10:29:41 GMT Max Zettlmeißl wrote: |
3 |
>> > How do you build the microcode into the kernel? The only |
4 |
>> > place I can see to do that in menuconfig is under Device Drivers; |
5 |
>> > there's no such field under Firmware. |
6 |
>> |
7 |
>> The Device Drivers section is exactly where the microcode is included. |
8 |
>> CONFIG_EXTRA_FIRMWARE is the relevant symbol. |
9 |
> |
10 |
> Right. So which of the 95 files under /lib/firmware/intel-ucode do I |
11 |
> specify? That's in addition to the 14 files I have for my amdgpu. |
12 |
> |
13 |
|
14 |
In my system (intel): |
15 |
|
16 |
$ iucode_tool -S |
17 |
iucode_tool: system has processor(s) with signature 0x000906e9 |
18 |
$ iucode_tool -L /lib/firmware/intel-ucode | grep 0x000906e9 -B 1 |
19 |
microcode bundle 18: /lib/firmware/intel-ucode/06-9e-09 |
20 |
018/001: sig 0x000906e9, pf_mask 0x2a, 2017-04-06, rev 0x005e, size 97280 |
21 |
018/002: sig 0x000906e9, pf_mask 0x2a, 2017-04-06, rev 0x005e, size 97280 |
22 |
|
23 |
So in this example "intel-ucode/06-9e-09" is what you'll write in the |
24 |
kernel form. |
25 |
|
26 |
There is a amd-ucode dir in /lib/firmware, so I assume it will be the same. |
27 |
|
28 |
Jorge Almeida |