On Tue, Jul 14, 2020 at 01:20:39PM -0400, Walter Dnes wrote: > Still no wireless, but one bit of progress. It seems that the kernel > does *NOT* like using subdirectories below /lib/firmware. I copied the > ucode file to /lib/firmware and changed the path appropriately before > building the kernel.
I can't imagine why that would be the case. My /lib/firmware structure looks a
bit like this, for my video card:
/lib/firmware/
├── amdgpu
│ ├── polaris10_ce_2.bin
│ ├── polaris10_ce.bin
│ ├── polaris10_k2_smc.bin
│ ├── polaris10_k_mc.bin
│ ├── polaris10_k_smc.bin
│ ├── polaris10_mc.bin
│ ├── polaris10_me_2.bin
│ ├── polaris10_me.bin
│ ├── polaris10_mec2_2.bin
│ ├── polaris10_mec_2.bin
│ ├── polaris10_mec2.bin
│ ├── polaris10_mec.bin
│ ├── polaris10_pfp_2.bin
│ ├── polaris10_pfp.bin
│ ├── polaris10_rlc.bin
│ ├── polaris10_sdma1.bin
│ ├── polaris10_sdma.bin
│ ├── polaris10_smc.bin
│ ├── polaris10_smc_sk.bin
│ ├── polaris10_uvd.bin
│ ├── polaris10_vce.bin
│ ├── TAHITI_uvd.bin
│ └── TAHITI_vce.bin
├── regulatory.db
└── regulatory.db.p7s
1 directory, 25 files
... And the kernel .config:
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/"
CONFIG_EXTRA_FIRMWARE="amdgpu/polaris10_ce.bin amdgpu/polaris10_ce_2.bin
amdgpu/polaris10_k_smc.bin amdgpu/polaris10_k2_smc.bin
amdgpu/polaris10_k_mc.bin amdgpu/polaris10_mc.bin
amdgpu/polaris10_me.bin amdgpu/polaris10_me_2.bin
amdgpu/polaris10_mec2.bin amdgpu/polaris10_mec2_2.bin
amdgpu/polaris10_mec.bin amdgpu/polaris10_mec_2.bin
amdgpu/polaris10_pfp.bin amdgpu/polaris10_pfp_2.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"
It's tedious, but there's no reason that the kernel shouldn't find firmware in
subdirectories. Perhaps you needed to add a trailing oblique ('/') to your
CONFIG_EXTRA_FIRMWARE_DIR, such that the concatenated path is correct ?
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
signature.asc
Description: PGP signature

