Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I remove CONFIG_FIRMWARE_IN_KERNEL from config?
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
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 687
Location: Tokyo, Japan

PostPosted: Fri Jul 18, 2014 2:52 am    Post subject: Can I remove CONFIG_FIRMWARE_IN_KERNEL from config? Reply with quote

Recently when I compile my kernel I get the following message in the output.

Quote:
>> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...


Is this optimal config for the kernel or should I change it to CONFIG_FIRMWARE_IN_KERNEL=n and let it install the firmware?

So I guess my question is do I want firmware in the kernel or installed?
Thanks.
Back to top
View user's profile Send private message
boerKrelis
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 241
Location: The Netherlands

PostPosted: Fri Jul 18, 2014 1:53 pm    Post subject: Reply with quote

Depends on whether you have drivers that you want to build into your kernel that need some firmware blob. Such is the case for an ATI Radeon I'm using.
Back to top
View user's profile Send private message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 77

PostPosted: Mon Mar 30, 2015 1:53 pm    Post subject: Reply with quote

Guys, sorry to bring this backup but this is exactly what i'm looking for.

I have the ATI RADEON (which uses /lib/firmware/radeon/***.bin) firmware.

As well as a Realtek Wifi card which uses some firmware too.

If I set the RADEON drivers as a module, I don't need to also specify the "in-kernel firmware blobs" while compiling the kernel, and i can set CONFIG_FIRMWARE_IN_KERNEL=n ?

cf.

NeddySeagoon wrote:
charles17,

There are four possible combinations for a module that needs fimware.
The module and firmware can both be in the kernel - that works
The module can be in /lib/modules and the firmware in /lib/firmware - that works too.
The other two combinations fail.
A built in driver cannot load its firmware from /lib/firmware as root is not yet mouted.
A loadable module cannot get its firmware from inside the kernel as its no longer available.

The wart on the face of both being in the kernel is that its not always clear at kernel build time which firmware you need.
Its then a kernel rebuild to fix it, after you read dmesg to find out the firmware file name you really need.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5761

PostPosted: Mon Mar 30, 2015 2:09 pm    Post subject: Reply with quote

You don't need firmware in-kernel for modules, no. That delays the framebuffer load until after userspace is running though, which may not be a good thing if something goes wrong in an init script and you miss it while the screen's blank.
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