# Customize linux distrubtion for WP85

**URL:** <https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004>\
**Category:** Legato Linux distribution (Yocto project)\
**Created:** [October 22, 2015, 10:45am UTC](https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004 "2015-10-22T10:45:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![totosdf](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@totosdf](https://forum.legato.io/u/totosdf)\
**Post date:** [October 22, 2015, 10:45am UTC](https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004/1 "2015-10-22T10:45:49Z")

</div>

Hi,

I am working on the mangoh, we have already generated a linux with Legato-Dist-Source-mdm9x15-15.08.0.Beta.tar.bz2. I have also updated the firmware of the mangoh.  
And now I would like to customize the image by activating or disabling devices/bus as SPI or UART. Yocto build an image based on the kernel 3.4 so there is not the devicetree.

1. So my question is, how and where can we customize our image without devicetree ?

On WP85 pinout we can see:  
51 Core SPI1 SPI1\_MRDY  
52 Core SPI1 SPI1\_MISO  
53 Core SPI1 SPI1\_CLK  
54 Core SPI1 SPI1\_MOSI

and :  
92 Extension SPI2 Reserved  
93 Extension SPI2 Reserved  
94 Extension SPI2 Reserved  
95 Extension SPI2 Reserved

1. Which spi is used on the legato linux distribution when we have /dev/sierra\_spi and where the attribution of those pins are done in the kernel ?

Thanks.  
Best regards.

---

<div class="post-metadata">

**Author:** ![totosdf](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@totosdf](https://forum.legato.io/u/totosdf)\
**Post date:** [October 23, 2015, 1:36pm UTC](https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004/2 "2015-10-23T13:36:07Z")

</div>

Anybody ?

---

<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:** [November 4, 2015, 1:45pm UTC](https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004/3 "2015-11-04T13:45:02Z")

</div>

Hi.

We don’t support the WP85 on kernel 3.4. Where did you get the source code from? The supported kernel on the WP85 is 3.14.

Regards,  
Andrew

---

<div class="post-metadata">

**Author:** ![totosdf](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@totosdf](https://forum.legato.io/u/totosdf)\
**Post date:** [November 10, 2015, 8:49am UTC](https://forum.legato.io/t/customize-linux-distrubtion-for-wp85/2004/4 "2015-11-10T08:49:22Z")

</div>

Hi,

With the tarball Legato-Dist-Source-mdm9x15-15.08.0.Beta.tar.bz2 that can be downloaded on your web site when we build the yocto distribution with the default BSP swi-mdm9x15, a yocto-legato\_wp85.cwe is created and the fwupdate seems to be ok.

If this .cwe is not the right one then how can I specify to yocto to build a distribution for the WP85 with the right yocto using the kernel 3.14 ?  
I already have your last yocto based on kernel 3.14 and legato 15.09.

Regards,
