Gentoo Archives: gentoo-user

From: Floyd Anderson <f.a@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Loading a Firmware Module By hand?
Date: Mon, 18 Dec 2017 22:22:19
Message-Id: 20171218222209.kgc3iyp27x64kvmt@31c0.net
In Reply to: Re: [gentoo-user] Loading a Firmware Module By hand? by Floyd Anderson
1 >
2 >If you want to build into the kernel again, check
3 >‘/lib/firmware/ath10k/QCA6174/hw2.1/firmware-6.bin’ exists and set:
4 >
5 > CONFIG_FIRMWARE_IN_KERNEL=y
6 > CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw2.1/firmware-6.bin"
7 > CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
8 >
9
10 I must correct myself. I’ve seen that the file ‘firmware-6.bin’ is
11 located in ‘/lib/firmware/ath10k/QCA6174/hw3.0’ and ‘firmware-5.bin’
12 lives in ‘/lib/firmware/ath10k/QCA6174/hw2.1’, see [1].
13
14 That is where your firmware loading error comes from (and my wrong
15 example for the CONFIG_EXTRA_FIRMWARE). So, the correct kernel
16 configuration should be:
17
18 CONFIG_FIRMWARE_IN_KERNEL=y
19 CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw2.1/firmware-5.bin"
20 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
21
22 or
23
24 CONFIG_FIRMWARE_IN_KERNEL=y
25 CONFIG_EXTRA_FIRMWARE="ath10k/QCA6174/hw3.0/firmware-6.bin"
26 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
27
28
29 [1] <https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/ath10k/QCA6174>
30
31
32 --
33 Regards,
34 floyd