1 |
On Saturday, 13 July 2019 19:16:18 BST Corbin wrote: |
2 |
> For reference, the .config file for the kernel should have something |
3 |
> |
4 |
> along the lines of this: |
5 |
> > # |
6 |
> > # Firmware loader |
7 |
> > # |
8 |
> > CONFIG_FW_LOADER=y |
9 |
> > CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd.bin |
10 |
> > amd-ucode/microcode_amd_fam15h.bin amdgpu/polaris10_ce.bin |
11 |
> > amdgpu/polaris10_ce_2.bin amdgpu/polaris10_k_smc.bin |
12 |
> > amdgpu/polaris10_mc.bin amdgpu/polaris10_me.bin |
13 |
> > amdgpu/polaris10_me_2.bin amdgpu/polaris10_mec.bin |
14 |
> > amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec2_2.bin |
15 |
> > amdgpu/polaris10_pfp.bin amdgpu/polaris10_pfp_2.bin |
16 |
> > amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma.bin |
17 |
> > amdgpu/polaris10_sdma1.bin amdgpu/polaris10_smc.bin |
18 |
> > amdgpu/polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin |
19 |
> > amdgpu/polaris10_vce.bin" |
20 |
> > CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/" |
21 |
> > CONFIG_FW_LOADER_USER_HELPER=y |
22 |
|
23 |
As I understand it the CONFIG_FW_LOADER_USER_HELPER has some edge use cases, |
24 |
but is not needed for our hardware/firmware. |
25 |
|
26 |
|
27 |
> CPU is a AMD FX-9590 ( Fam15h ) |
28 |
> |
29 |
> Video is a RX480 ( Polaris 10 ) |
30 |
> |
31 |
> And, yes, both microcode updates ( Fam10h / Fam15h ) need to be builtin. |
32 |
|
33 |
Are you sure about this? |
34 |
|
35 |
I added 'amd-ucode/microcode_amd.bin' for Fam10h, rebooted and nothing changed |
36 |
here as far as microcode patches is concerned. I am not using savedconfig on |
37 |
this PC, so all amd-ucode binaries are available to be loaded from the |
38 |
filesystem. |
39 |
|
40 |
|
41 |
> Previous generation CPU updates will be builtin, even if you try to |
42 |
> exclude them. |
43 |
|
44 |
Fine, so following the wiki page and ONLY adding the microcode specific to the |
45 |
CPU family should still work. |
46 |
|
47 |
> Corbin |
48 |
|
49 |
Thanks Corbin, I wonder if despite articles about microcode patch releases to |
50 |
deal with spectre and what not, there are just no patches made available for |
51 |
my aging AMD CPUs. |
52 |
-- |
53 |
Regards, |
54 |
|
55 |
Mick |