Jump to content

How to use overlay for /lib/firmware ?


fserb

Recommended Posts

I know that since 6.9.1 there's a overlayfs on /lib/firmware and /lib/modules to "make it possible to install 3rd party modules at boot time"

 

I need to add some bluetooth driver file to /lib/firmware to be installed during boot.

 

The overlayfs allows me to write on /lib/firmware (that ends up on /var/local/overlay/lib/firmware) but the files I add there disappear after a reboot (obviously). I don't understand how I'm supposed to use it to install 3rd party modules (or in my case a patch) at boot time.

 

I understand how I could is this for modprobe, is this the only use case supported?

 

Do I need to regenerate bzfirmware? If so, is there a tutorial for that?

 

My actual problem:

[   16.149827] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   16.150209] Bluetooth: hci0: BCM: 'brcm/BCM20702A1-0a5c-21e8.hcd'

 

I have the hcd file, but not sure how to have it available at that point.

 

Thanks for the help.

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...