On Wednesday, 20 December 2017 15:51:03 GMT Mick wrote:
> On Wednesday, 20 December 2017 15:28:03 GMT Peter Humphrey wrote:
> > On Wednesday, 20 December 2017 12:22:29 GMT Mick wrote:
> > > Has something changed in 4.14.7-gentoo sources from its predecessors?
> 
> [snip ...]
> 
> > What firmware are you trying to install? This box needs firmware for the
> > graphics card and the Intel CPU, and I've been declaring the file names
> > in CONFIG_EXTRA_FIRMWARE and CONFIG_EXTRA_FIRMWARE_DIR. As the display
> > works fine, and so does opencl on the GPU since I emerged
> > dev-libs/amdgpu-pro- opencl, I assume that the firmware is being
> > loaded. I didn't even know about a firmware_install make target.
> 
> Thanks Peter,
> 
> I am also declaring relevant firmware in the kernel for CPU microcode and
> GPU, but they do not get loaded when I build kernel 4.14.7:
> 
> $ grep FIRMWARE /usr/src/linux/.config
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> CONFIG_FIRMWARE_IN_KERNEL=y
> CONFIG_EXTRA_FIRMWARE="intel-ucode/06-1e-05 radeon/R700_rlc.bin radeon/
> RV730_smc.bin radeon/RV710_uvd.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
> # CONFIG_CYPRESS_FIRMWARE is not set
> # CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
> CONFIG_FIRMWARE_EDID=y
> CONFIG_FIRMWARE_MEMMAP=y
> # CONFIG_GOOGLE_FIRMWARE is not set
> # CONFIG_TEST_FIRMWARE is not set

Hm. Mine is:

# grep FIRMWARE /usr/src/linux/.config
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3f-02 intel-ucode/06-3f-04 amdgpu/
polaris10_ce.bin amdgpu/polaris10_k_smc.bin amdgpu/polaris10_mc.bin amdgpu/
polaris10_me.bin amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec.bin amdgpu/
polaris10_pfp.bin amdgpu/polaris10_rlc.bin amdgpu/polaris10_sdma1.bin 
amdgpu/polaris10_sdma.bin amdgpu/polaris10_smc.bin amdgpu/
polaris10_smc_sk.bin amdgpu/polaris10_uvd.bin amdgpu/polaris10_vce.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set
CONFIG_FIRMWARE_EDID=y
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_GOOGLE_FIRMWARE is not set
# CONFIG_TEST_FIRMWARE is not set

I don't see that cypress entry (why not? Are you using gentoo-sources?), but 
otherwise it looks the same. If I didn't have all that polaris stuff I 
wouldn't have an X display; that's how I started off, and I had to go 
looking for the right set of amdgpu modules to load.

> So I can't load a desktop because xserver will not launch.  I also recall
> having additional firmware for WiFi/BT cards on this laptop.
> 
> The same problem exists on other systems, some running AMD.

We must differ in some other way, I suppose in the way we build our kernels. 
This is my kernel build script on this UEFI box:

# cat /usr/local/bin/kmake
#!/bin/bash
mount /boot
cd /usr/src/linux
time (make -j12 && make modules_install && make install &&\
        /bin/ls -lh --color=auto /boot && echo &&\
        cp -v ./arch/x86/boot/bzImage /boot/EFI/Boot/bootX64.efi
) &&\
echo; echo "Rebuilding modules" && echo &&\
emerge --jobs --load-average=48 @module-rebuild @x11-module-rebuild && echo 
&&\
echo "Remounting /sys/firmware/efi/efivars read-write" &&\
mount -oremount,rw /sys/firmware/efi/efivars && echo &&\
echo "Don't forget to bootctl-install the new kernel!" && echo

HTH, but I wonder...

-- 
Regards,
Peter.


Reply via email to