Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Placing Firmware in initrd
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
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Aug 24, 2008 2:23 am    Post subject: Placing Firmware in initrd Reply with quote

Is it possible to place firmware for kernel drivers inside initrd? How would I add it?
_________________
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Aug 24, 2008 5:23 am    Post subject: Reply with quote

From /etc/genkernel.conf:
Code:
# Enable copying of firmware into initramfs
# FIRMWARE="no"
# Specify directory to pull from
# FIRMWARE_DIR="/lib/firmware"
# Specify specific firmware files to include. This overrides FIRMWARE_DIR
# FIRMWARE_FILES=""

So it looks like it can be done.
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Sun Aug 24, 2008 6:06 am    Post subject: Reply with quote

yabbadabbadont wrote:
From /etc/genkernel.conf:
Code:
# Enable copying of firmware into initramfs
# FIRMWARE="no"
# Specify directory to pull from
# FIRMWARE_DIR="/lib/firmware"
# Specify specific firmware files to include. This overrides FIRMWARE_DIR
# FIRMWARE_FILES=""

So it looks like it can be done.

Hmmm... That's genkernel. I wonder what lower-level command that conf file controls.
_________________
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Aug 24, 2008 6:35 am    Post subject: Reply with quote

genkernel.... :lol:

You can use it to create only the initrd if you like. That is what I use it for with my custom kernel.
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