Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Loading a Firmware Module By hand?
Date: Sun, 17 Dec 2017 09:18:23
Message-Id: 1651601.XtACczL8qe@dell_xps
In Reply to: [gentoo-user] Loading a Firmware Module By hand? by Hunter Jozwiak
1 On Sunday, 17 December 2017 05:34:14 GMT Hunter Jozwiak wrote:
2 > Hi,
3 >
4 > I have an ath10k_pci device that I'm trying to get hooked to the
5 > Internet, but I'm having some strange issues. It is trying to load the
6 > 2.1 firmware, but I don't think that is the proper firmware for the
7 > interface to have; I think it ought to be loading the 3.0 module, but
8 > am not quite sure on that either, or how I could go about injecting
9 > that into the modprobe;
10
11 Usually the kernel will probe the device and load the appropriate firmware the
12 device needs. The output of dmesg will show if loading the firmware was
13 successful, or complain if different firmware was needed and not found in your
14 "/lib/firmware/" or whatever you have set up in your kernel as the directory
15 for firmware blobs.
16
17
18 > I wasn't able to pinpoint the firmware blob
19 > the ISO was using, so that wasn't much of a pointer in the right
20 > direction either. I see that the 3.0 blob does exist in
21 > /lib/firmware/ath10k/QCABLEFAGD/HW3.0, but there are many bin files,
22 > so choosing the right one is a bit tricky by the looks of things.
23 > Earlier today, I had read the Gentoo wiki on the topic, which
24 > suggested that I compile the blob into the kernel itself, but the link
25 > they gave only described the advantages and disadvantages of modular
26 > kernels and how to drop kmod if you're using a moduleless kernel. Does
27 > anybody have any insight on this matter?
28 >
29 > Thanks,
30 >
31 > Hunter
32
33 Have a look in:
34
35 # Generic Driver Options
36
37 and then:
38
39 CONFIG_PREVENT_FIRMWARE_BUILD=y
40 CONFIG_FW_LOADER=y
41 CONFIG_FIRMWARE_IN_KERNEL=y
42 CONFIG_EXTRA_FIRMWARE="Put your firmware files in here, space separated"
43 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
44
45 I don't have your NIC to know the specifics, but the above ought to work.
46 --
47 Regards,
48 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature