# Add external firmware

**URL:** https://forum.legato.io/t/add-external-firmware/1997
**Category:** Legato Linux distribution (Yocto project)
**Created:** [April 18, 2015, 4:16am UTC](https://forum.legato.io/t/add-external-firmware/1997 "2015-04-18T04:16:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![congcong2015](https://avatars.discourse-cdn.com/v4/letter/c/dec6dc/32.png) [@congcong2015](https://forum.legato.io/u/congcong2015)
#### Post date: [April 18, 2015, 4:16am UTC](https://forum.legato.io/t/add-external-firmware/1997/1 "2015-04-18T04:16:30Z")

</div>

Hi: Team

I try to copy a external compiled firmware (.bin) to the PATH /lib/firmware , while system denied the action and show : Read-only file system . so, how to solve this . in addition, is this the wrong approach? should I must bind the kernel-firmware to the image directly . and how to do it . Thanks!

B/R

Jim

---

<div class="post-metadata">

### Author: ![amitchell](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/amitchell/32/68_2.png) [@amitchell](https://forum.legato.io/u/amitchell)
#### Post date: [April 20, 2015, 3:36pm UTC](https://forum.legato.io/t/add-external-firmware/1997/2 "2015-04-20T15:36:23Z")

</div>

Hi Jim,

Can you give us more details on what it is you’re trying to do?

Thanks.

---

<div class="post-metadata">

### Author: ![JayM2M](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@JayM2M](https://forum.legato.io/u/JayM2M)
#### Post date: [April 22, 2015, 4:44pm UTC](https://forum.legato.io/t/add-external-firmware/1997/3 "2015-04-22T16:44:36Z")

</div>

Hi,

You need to use Yocto in order to rebuild the rootfs image with a custom recipe which will install your bin file in the /lib/firmware folder.  
Then flash this new rootfs image in the module using fastboot.

Also, some well-known firmware binaries (e.g. for WiFi chipsets) can be easy added to the rootfs images (in /lib/firmware) by adding the following line into the image recipe (e.g. meta-swi/meta-swi-mdm9x15/recipes-core/images/mdm9x15-image.inc):  
IMAGE\_INSTALL += “linux-firmware-XXXXX”  
Where “XXXXX” is the name of your firmware package.

Example:  
IMAGE\_INSTALL += “linux-firmware-ath6k”  
this will add all the firmware binary files for the Atheros WiFi chipsets (AR6XXX series) in the /lib/firmware.

List of firmware packages supported by the kernel is available in this yocto folder:  
kernel/firmware/WHENCE

Jay

---

<div class="post-metadata">

### Author: ![congcong2015](https://avatars.discourse-cdn.com/v4/letter/c/dec6dc/32.png) [@congcong2015](https://forum.legato.io/u/congcong2015)
#### Post date: [April 23, 2015, 10:54am UTC](https://forum.legato.io/t/add-external-firmware/1997/4 "2015-04-23T10:54:18Z")

</div>

Hi:

thanks ! I have added the bin file according to your advice.  
also , with command `mount -o remount,rw / ` fixed the read-only file system issue.

B/R
