# \[SOLVED\] Add Bluetooth stack in WP85 yocto legato kernel 16.07

**URL:** <https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [January 2, 2017, 9:38am UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303 "2017-01-02T09:38:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![babare](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/babare/32/93_2.png) [@babare](https://forum.legato.io/u/babare)\
**Post date:** [January 2, 2017, 9:38am UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/1 "2017-01-02T09:38:14Z")

</div>

Hi,

I’m trying to add bluetooth stack and driver for the bluetooth/wifi combo device WL18XX.  
The Yocto used to build kernel and image is yocto legato 16.07.

Yocto builds a bootable image as long as I don’t add this only one kernel config: **CONFIG\_BT**.  
If the kernel is built with this config, WP85 can’t boot anymore it prints **NO MISC PARTITION**.

The only thing I can after this is to flash the WP85 through USB with your tool.

With a previous version of your Legato Legato (maybe 15.XX) we could add Bluetooth kernel config without problem.

- 

> How can I solve this problem ?

PS: adding this BT config is the only change to the default kernel config provided by your Yocto.

Regards.

---

<div class="post-metadata">

**Author:** ![jsu](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jsu](https://forum.legato.io/u/jsu)\
**Post date:** [January 31, 2017, 1:50pm UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/2 "2017-01-31T13:50:24Z")

</div>

Hi,

you can find a wiki page here giving an example to add WL18xx Bluetooth support in legato yocto linux distribution: [https://github.com/mangOH/mangOH/wiki/Bluetooth-WL18xx-driver-for-mangOH](https://github.com/mangOH/mangOH/wiki/Bluetooth-WL18xx-driver-for-mangOH)

Regards

---

<div class="post-metadata">

**Author:** ![CoRfr](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/corfr/32/69_2.png) [@CoRfr](https://forum.legato.io/u/CoRfr)\
**Post date:** [January 31, 2017, 8:59pm UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/3 "2017-01-31T20:59:10Z")

</div>

Hi,

I would think you’re ending up with a kernel that is too big and cannot be loaded into RAM, resulting in what your observed.

Try to build CONFIG\_BT as a module instead (like in [Bluetooth WL18xx driver for mangOH · mangOH/mangOH Wiki · GitHub](https://github.com/mangOH/mangOH/wiki/Bluetooth-WL18xx-driver-for-mangOH)), as this should not add any size to the kernel itself.

Thanks

---

<div class="post-metadata">

**Author:** ![babare](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/babare/32/93_2.png) [@babare](https://forum.legato.io/u/babare)\
**Post date:** [February 9, 2017, 1:48pm UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/4 "2017-02-09T13:48:16Z")

</div>

Hi,

Thanks for your replies.

Building kernel with the CONFIG\_BT as a module solved the issue.

Regards !

---

<div class="post-metadata">

**Author:** ![jlouis](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jlouis](https://forum.legato.io/u/jlouis)\
**Post date:** [February 10, 2017, 9:46am UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/5 "2017-02-10T09:46:03Z")

</div>

Hello, I’m new to the mangoh world and I just discovered how to compile last days (it’s a cool OS by the way)

I’m trying to add bluetooth, I have no errors but I can’t build mdm9x15-image-minimal

The message is: “available image: core-image-minimal”

Did you have this issue? Thank you very much

---

<div class="post-metadata">

**Author:** ![jlouis](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jlouis](https://forum.legato.io/u/jlouis)\
**Post date:** [February 10, 2017, 12:29pm UTC](https://forum.legato.io/t/solved-add-bluetooth-stack-in-wp85-yocto-legato-kernel-16-07/2303/6 "2017-02-10T12:29:14Z")

</div>

For information, I have an Ubuntu 16.04.1 LTS version
