Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Loading a Firmware Module By hand?
Date: Mon, 18 Dec 2017 23:33:30
Message-Id: CAC=wYCGynA1JEfctVm-FHoHjBYfPx9R+GW3PrDhd8qmB+3JnqQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Loading a Firmware Module By hand? by Hunter Jozwiak
1 That particular firmware does not exist. I am trying to figure how far
2
3 > back I need to rollback the kernel. Sabayon's live ISO is using
4 > 4.13.0, but that is no longer in the tree. Not sure if I need to go
5 > back to the 4.12 ebuilds, or if 4.13.5 will suit my needs; perhaps
6 > there is a bit of source code that I can look at to see what is being
7 > used for the firmware?
8 >
9
10 Are you thinking that there's some interoperability issues between kernel
11 versions and firmwares? My impression is that's generally not a problem, so
12 wouldn't be too worried about trying different kernel versions.
13
14 So the steps are just;
15 - identify the correct firmware
16 - verify its in /lib/firmware (typically just emerge linux-firmware, but
17 sometimes others from /usr/portage/sys-firmware/ )
18 - configure the kernel to load it (in this case follow Floyd's instructions)
19 - build and install new kernel
20 - reboot
21
22 FYI on one of my systems;
23 $ zgrep ^C.*FIRM /proc/config.gz
24 CONFIG_PREVENT_FIRMWARE_BUILD=y
25 CONFIG_FIRMWARE_IN_KERNEL=y
26 CONFIG_EXTRA_FIRMWARE="i915/skl_dmc_ver1_26.bin i915/skl_guc_ver6_1.bin
27 intel-ucode/06-4e-03"
28 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
29 CONFIG_FIRMWARE_MEMMAP=y
30 $ dmesg | egrep '(firm|microcode)'
31 [ 0.300096] [drm] Finished loading DMC firmware i915/skl_dmc_ver1_26.bin
32 (v1.26)
33 [ 0.321592] microcode: sig=0x406e3, pf=0x80, revision=0xba
34 [ 0.321679] microcode: Microcode Update Driver: v2.2.
35 $