Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with firmware loading in 4.18.5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 887
Location: Germany

PostPosted: Sat Sep 01, 2018 9:51 am    Post subject: Help with firmware loading in 4.18.5 Reply with quote

Hi,

the wiki article about firmware loading seems to be a bit outdated. It says there I need this config:
Code:
Device Drivers  --->
  Generic Driver Options  --->
    -*- Userspace firmware loading support
    [*]   Include in-kernel firmware blobs in kernel binary
    (/lib/firmware) Firmware blobs root directory


In 4.18.5 (and probably earlier versions, too) the options are:

Code:
Device Drivers  --->
  Generic Driver Options  --->
    -*- Userspace firmware loading support
    () Build named firmware blobs into the kernel binary
    (/lib/firmware) Firmware blobs root directory

Where () takes the name of the firmware file in question. But I don't really know the name.

I'm using an Nvidia gtx1060 and I installed the linux-firmware package.
There's actually some firmware in /lib/firmware/nvidia/gp106 - only there are several subdirectories, each of which contain several .bin files.

How do I configure my kernel correctly?
Thanks for your input.

Using the proprietary nvidia-drivers. Maybe that takes care of the firmware all by itself? Just a thought.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Sep 01, 2018 11:35 am    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers#Kernel

recommends build as a module in which case the kernel will pick the firmware
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54220
Location: 56N 3W

PostPosted: Sat Sep 01, 2018 11:48 am    Post subject: Reply with quote

Clad in Sky,

Firmware blobs root directory concated with each path fragment in the firmware list describes the files to load.
The file list is a space separated list. Do not use a leading / here unless you really mean it.

Code:
  │ │       -*- Firmware loading facility                                                │ │ 
  │ │       (amdgpu/polaris11_ce.bin amdgpu/polaris11_ce_2.bin amdgpu/polaris11_mc.bin am│ │ 
  │ │       (/lib/firmware/) Firmware blobs root directory                               │ │ 
  │ │       [ ]   Enable the firmware sysfs fallback mechanism   


My firmware is at /lib/firmware/amdgpu/polaris11_ce.bin, /lib/firmware/amdgpu/polaris11_ce_2.bin and so on.

Leaving Firmware blobs root directory empty and providing full pathnames in the list of firmware files should work too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 887
Location: Germany

PostPosted: Sun Sep 02, 2018 7:10 am    Post subject: Reply with quote

Thanks for the info.
Since I followed the Nvidia wiki guide, I seem to be all set, then.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum