1 |
On Wednesday, 20 December 2017 15:51:03 GMT Mick wrote: |
2 |
> On Wednesday, 20 December 2017 15:28:03 GMT Peter Humphrey wrote: |
3 |
> > On Wednesday, 20 December 2017 12:22:29 GMT Mick wrote: |
4 |
> > > Has something changed in 4.14.7-gentoo sources from its predecessors? |
5 |
> |
6 |
> [snip ...] |
7 |
> |
8 |
> > What firmware are you trying to install? This box needs firmware for the |
9 |
> > graphics card and the Intel CPU, and I've been declaring the file names |
10 |
> > in CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR. As the display |
11 |
> > works fine, and so does opencl on the GPU since I emerged |
12 |
> > dev-libs/amdgpu-pro- opencl, I assume that the firmware is being |
13 |
> > loaded. I didn't even know about a firmware_install make target. |
14 |
> |
15 |
> Thanks Peter, |
16 |
> |
17 |
> I am also declaring relevant firmware in the kernel for CPU microcode and |
18 |
> GPU, but they do not get loaded when I build kernel 4.14.7: |
19 |
> |
20 |
> $ grep FIRMWARE /usr/src/linux/.config |
21 |
> CONFIG_PREVENT_FIRMWARE_BUILD=y |
22 |
> CONFIG_FIRMWARE_IN_KERNEL=y |
23 |
> CONFIG_EXTRA_FIRMWARE="intel-ucode/06-1e-05 radeon/R700_rlc.bin radeon/ |
24 |
> RV730_smc.bin radeon/RV710_uvd.bin" |
25 |
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/" |
26 |
> # CONFIG_CYPRESS_FIRMWARE is not set |
27 |
> # CONFIG_DRM_LOAD_EDID_FIRMWARE is not set |
28 |
> CONFIG_FIRMWARE_EDID=y |
29 |
> CONFIG_FIRMWARE_MEMMAP=y |
30 |
> # CONFIG_GOOGLE_FIRMWARE is not set |
31 |
> # CONFIG_TEST_FIRMWARE is not set |
32 |
|
33 |
Hm. Mine is: |
34 |
|
35 |
# grep FIRMWARE /usr/src/linux/.config |
36 |
CONFIG_PREVENT_FIRMWARE_BUILD=y |
37 |
CONFIG_FIRMWARE_IN_KERNEL=y |
38 |
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3f-02 intel-ucode/06-3f-04 amdgpu/ |
39 |
polaris10_ce.bin amdgpu/polaris10_k_smc.bin amdgpu/polaris10_mc.bin amdgpu/ |
40 |
polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/ |
41 |
polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin |
42 |
amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/ |
43 |
polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin" |
44 |
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" |
45 |
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set |
46 |
CONFIG_FIRMWARE_EDID=y |
47 |
CONFIG_FIRMWARE_MEMMAP=y |
48 |
# CONFIG_GOOGLE_FIRMWARE is not set |
49 |
# CONFIG_TEST_FIRMWARE is not set |
50 |
|
51 |
I don't see that cypress entry (why not? Are you using gentoo-sources?), but |
52 |
otherwise it looks the same. If I didn't have all that polaris stuff I |
53 |
wouldn't have an X display; that's how I started off, and I had to go |
54 |
looking for the right set of amdgpu modules to load. |
55 |
|
56 |
> So I can't load a desktop because xserver will not launch. I also recall |
57 |
> having additional firmware for WiFi/BT cards on this laptop. |
58 |
> |
59 |
> The same problem exists on other systems, some running AMD. |
60 |
|
61 |
We must differ in some other way, I suppose in the way we build our kernels. |
62 |
This is my kernel build script on this UEFI box: |
63 |
|
64 |
# cat /usr/local/bin/kmake |
65 |
#!/bin/bash |
66 |
mount /boot |
67 |
cd /usr/src/linux |
68 |
time (make -j12 && make modules_install && make install &&\ |
69 |
/bin/ls -lh --color=auto /boot && echo &&\ |
70 |
cp -v ./arch/x86/boot/bzImage /boot/EFI/Boot/bootX64.efi |
71 |
) &&\ |
72 |
echo; echo "Rebuilding modules" && echo &&\ |
73 |
emerge --jobs --load-average=48 @module-rebuild @x11-module-rebuild && echo |
74 |
&&\ |
75 |
echo "Remounting /sys/firmware/efi/efivars read-write" &&\ |
76 |
mount -oremount,rw /sys/firmware/efi/efivars && echo &&\ |
77 |
echo "Don't forget to bootctl-install the new kernel!" && echo |
78 |
|
79 |
HTH, but I wonder... |
80 |
|
81 |
-- |
82 |
Regards, |
83 |
Peter. |