1 |
On Tue, Dec 22, 2015 at 9:39 PM, Mick <michaelkintzios@×××××.com> wrote: |
2 |
|
3 |
> On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote: |
4 |
> > On Sun, Dec 20, 2015 at 9:04 PM, Mick <michaelkintzios@×××××.com> wrote: |
5 |
> |
6 |
> > > This is not working for me on a Kaveri system. |
7 |
> > > |
8 |
> > > The wiki page suggests these firmware blobs: |
9 |
> > > |
10 |
> > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin |
11 |
> > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin |
12 |
> > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin |
13 |
> > > radeon/kaveri_vce.bin |
14 |
> > > |
15 |
> > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available |
16 |
> when |
17 |
> > > I use sys-kernel/linux-firmware: |
18 |
> > > |
19 |
> > > find /lib/firmware/radeon/ -iname KAVERI*sdma* |
20 |
> > > /lib/firmware/radeon/kaveri_sdma.bin |
21 |
> > > /lib/firmware/radeon/KAVERI_sdma.bin |
22 |
> > > |
23 |
> > > |
24 |
> > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there |
25 |
> > > either: |
26 |
> > > |
27 |
> > > find /lib/firmware/amdgpu/ -iname *sdma* |
28 |
> > > /lib/firmware/amdgpu/carrizo_sdma.bin |
29 |
> > > /lib/firmware/amdgpu/carrizo_sdma1.bin |
30 |
> > > /lib/firmware/amdgpu/fiji_sdma.bin |
31 |
> > > /lib/firmware/amdgpu/fiji_sdma1.bin |
32 |
> > > /lib/firmware/amdgpu/tonga_sdma.bin |
33 |
> > > /lib/firmware/amdgpu/tonga_sdma1.bin |
34 |
> > > /lib/firmware/amdgpu/topaz_sdma.bin |
35 |
> > > /lib/firmware/amdgpu/topaz_sdma1.bin |
36 |
> > > |
37 |
> > > |
38 |
> > > Building the recommended blobs fails like so: |
39 |
> > > |
40 |
> > > # make && make modules_install && make firmware_install |
41 |
> > > |
42 |
> > > CHK include/config/kernel.release |
43 |
> > > CHK include/generated/uapi/linux/version.h |
44 |
> > > CHK include/generated/utsrelease.h |
45 |
> > > CHK include/generated/bounds.h |
46 |
> > > CHK include/generated/asm-offsets.h |
47 |
> > > CALL scripts/checksyscalls.sh |
48 |
> > > CHK include/generated/compile.h |
49 |
> > > |
50 |
> > > kernel/Makefile:135: *** No X.509 certificates found *** |
51 |
> > > make[1]: *** No rule to make target |
52 |
> > > '/lib/firmware//radeon/kaveri_sdma1.bin', |
53 |
> > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'. Stop. |
54 |
> > > Makefile:947: recipe for target 'firmware' failed |
55 |
> > > make: *** [firmware] Error 2 |
56 |
> |
57 |
> > That's interesting. 'kaveri_sdma1.bin' is found in the |
58 |
> > 'sys-firmware/amdgpu-ucode' package. See below. |
59 |
> > % pwd |
60 |
> > radeon_ucode/kaveri |
61 |
> |
62 |
> I don't seem to have such a directory, or the files therein. Where am I |
63 |
> supposed to look? |
64 |
> |
65 |
> This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC: |
66 |
> |
67 |
> >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo |
68 |
> * checking 44 files for package collisions |
69 |
> >>> Merging sys-firmware/amdgpu-ucode-20150803 to / |
70 |
> --- /lib/ |
71 |
> --- /lib/firmware/ |
72 |
> --- /lib/firmware/amdgpu/ |
73 |
> >>> /lib/firmware/amdgpu/carrizo_ce.bin |
74 |
> >>> /lib/firmware/amdgpu/carrizo_me.bin |
75 |
> >>> /lib/firmware/amdgpu/carrizo_mec.bin |
76 |
> >>> /lib/firmware/amdgpu/carrizo_mec2.bin |
77 |
> >>> /lib/firmware/amdgpu/carrizo_pfp.bin |
78 |
> >>> /lib/firmware/amdgpu/carrizo_rlc.bin |
79 |
> >>> /lib/firmware/amdgpu/carrizo_sdma.bin |
80 |
> >>> /lib/firmware/amdgpu/carrizo_sdma1.bin |
81 |
> >>> /lib/firmware/amdgpu/carrizo_uvd.bin |
82 |
> >>> /lib/firmware/amdgpu/carrizo_vce.bin |
83 |
> >>> /lib/firmware/amdgpu/fiji_ce.bin |
84 |
> >>> /lib/firmware/amdgpu/fiji_mc.bin |
85 |
> >>> /lib/firmware/amdgpu/fiji_me.bin |
86 |
> >>> /lib/firmware/amdgpu/fiji_mec.bin |
87 |
> >>> /lib/firmware/amdgpu/fiji_mec2.bin |
88 |
> >>> /lib/firmware/amdgpu/fiji_pfp.bin |
89 |
> >>> /lib/firmware/amdgpu/fiji_rlc.bin |
90 |
> >>> /lib/firmware/amdgpu/fiji_sdma.bin |
91 |
> >>> /lib/firmware/amdgpu/fiji_sdma1.bin |
92 |
> >>> /lib/firmware/amdgpu/fiji_smc.bin |
93 |
> >>> /lib/firmware/amdgpu/fiji_uvd.bin |
94 |
> >>> /lib/firmware/amdgpu/fiji_vce.bin |
95 |
> >>> /lib/firmware/amdgpu/tonga_ce.bin |
96 |
> >>> /lib/firmware/amdgpu/tonga_mc.bin |
97 |
> >>> /lib/firmware/amdgpu/tonga_me.bin |
98 |
> >>> /lib/firmware/amdgpu/tonga_mec.bin |
99 |
> >>> /lib/firmware/amdgpu/tonga_mec2.bin |
100 |
> >>> /lib/firmware/amdgpu/tonga_pfp.bin |
101 |
> >>> /lib/firmware/amdgpu/tonga_rlc.bin |
102 |
> >>> /lib/firmware/amdgpu/tonga_sdma.bin |
103 |
> >>> /lib/firmware/amdgpu/tonga_sdma1.bin |
104 |
> >>> /lib/firmware/amdgpu/tonga_smc.bin |
105 |
> >>> /lib/firmware/amdgpu/tonga_uvd.bin |
106 |
> >>> /lib/firmware/amdgpu/tonga_vce.bin |
107 |
> >>> /lib/firmware/amdgpu/topaz_ce.bin |
108 |
> >>> /lib/firmware/amdgpu/topaz_mc.bin |
109 |
> >>> /lib/firmware/amdgpu/topaz_me.bin |
110 |
> >>> /lib/firmware/amdgpu/topaz_mec.bin |
111 |
> >>> /lib/firmware/amdgpu/topaz_mec2.bin |
112 |
> >>> /lib/firmware/amdgpu/topaz_pfp.bin |
113 |
> >>> /lib/firmware/amdgpu/topaz_rlc.bin |
114 |
> >>> /lib/firmware/amdgpu/topaz_sdma.bin |
115 |
> >>> /lib/firmware/amdgpu/topaz_sdma1.bin |
116 |
> >>> /lib/firmware/amdgpu/topaz_smc.bin |
117 |
> |
118 |
> No /kaveri/ in there. |
119 |
> |
120 |
> |
121 |
> > Perhaps the path to the binary blobs specified in your kernel config file |
122 |
> > is wrong? You want to double check that. |
123 |
> |
124 |
> |
125 |
> This is what I have: |
126 |
> |
127 |
> grep /firmware .config |
128 |
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/" |
129 |
> |
130 |
> Looking at it again the amdgpu wiki page does not list amdgpu firmwares for |
131 |
> the KAVERI APU. However, I am confused as to why I can't find |
132 |
> radeon/kaveri_sdma1 in my installed firmwares (either from linux-firmware, |
133 |
> or |
134 |
> from amdgpu-ucode. |
135 |
> |
136 |
> -- |
137 |
> Regards, |
138 |
> Mick |
139 |
> |
140 |
|
141 |
What USE flags did you compile 'sys-firmware/amdgpu-ucode' with? |
142 |
|
143 |
If I am reading the section of the ebuild shown below correctly, having |
144 |
'legacy' enabled is what installs the 'kaveri' binaries. |
145 |
/usr/portage/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild:23,33 |
146 |
AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins" |
147 |
|
148 |
src_install() { |
149 |
local directory files legacyfiles |
150 |
if use legacy; then |
151 |
for directory in ${AMDGPU_LEGACY_CIK}; do |
152 |
legacyfiles+=( ${directory}/*.bin ) |
153 |
done |
154 |
insinto /lib/firmware/radeon |
155 |
doins ${legacyfiles[@]} |
156 |
fi |
157 |
|
158 |
'legacy' seems to be disabled by default. See below. |
159 |
# emerge -ap sys-firmware/amdgpu-ucode |
160 |
|
161 |
These are the packages that would be merged, in order: |
162 |
|
163 |
Calculating dependencies ... done! |
164 |
[ebuild N ~] sys-firmware/amdgpu-ucode-20150803 USE="-legacy" |