# How can I create mmc interface in R16 ? (Or there is a better way to deploy wifi module of mangOH-yellow )

**URL:** <https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678>\
**Category:** mangOH Yellow\
**Created:** [September 27, 2021, 9:07am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678 "2021-09-27T09:07:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [September 27, 2021, 9:07am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/1 "2021-09-27T09:07:07Z")

</div>

We can use the wifi function successfully on Mangoh Yellow (with fw: mangOH-yellow-wp76xx\_0.7.0.spk)  
we use instruction:  
wifi client start  
then we can create a wifi devide node on system.

but we found some problem after used the Yocto re-build kernel image of R16 and updated it  
the “wifi client start” became unavailable  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/d/d43890baa4bd818c669fe1162da912db1d844950.png)

My guess is that the wifi driver is not deployed in the R16 kernel  
Therefore, I copy the wifi driver in mangOH-yellow-wp76xx\_0.7.0.spk to the current system, and plan to use the insert module to build the wifi device node

But I can’t find mmc interfcae even I’m insert sdhci-msm.ko.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/1/14eecf8808f60ed5ecc1df5bf3a4f704c5e95f9b.png)

how can I create mmc interface in R16 ? (Or there is a better way to deploy wifi module of mangOH-yellow )

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 27, 2021, 10:01am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/2 "2021-09-27T10:01:21Z")

</div>

does this help?

> [@Yocto for firmware 0.4.0?](https://mangoh.discourse.group/t/yocto-for-firmware-0-4-0/3432):
>
> Hi, I noticed that the new firmware 0.4.0 has some stuff that is now bundled inside the Yocto Linux distribution, e.g. the cywifi driver. Where can I obtain the Yocto distribution for building this? (I need to add a few custom packages). I’m currently using the “Linux Distribution” download from release 12 of the WP77xx firmware components: [https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-latest-release-components/](https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-latest-release-components/) Is there an additional layer being added o…

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [September 27, 2021, 2:29pm UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/3 "2021-09-27T14:29:55Z")

</div>

it is working for me!  
you are the lighthouse in the miserable!!!

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [September 28, 2021, 9:17am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/4 "2021-09-28T09:17:01Z")

</div>

I found the ecm cannot connect to pc after I update fw tha build with R16(adding the meta-mangoh layer & add a new directory under the root directory).

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/e/e62e3f14910e181b8f8b5dabffadda96a9cc57bb.png)

Even if I manually set the ip of mangoh(192.168.2.2) & PC(192.168.2.3), it still unable to connect to each other.

I try to test on other boards , if I upgrade from mangOH-yellow-wp76xx\_0.7.0 to this version of FW(I test ), ecm functions ais work.

But if I upgrade from the previously FW (built by myself , add a directory under the root directory) to the current FW (add the meta-mangoh layer), ecm will not be able to connect after the update.  
I tried to re-flash to mangOH-yellow-wp76xx\_0.7.0 , the ecm can be connected after the re-flash .  
But if I update to the FW that I built by myself , the ecm cannot work again.

Are there any good suggestions to make the ecm function work on the new FW that I built? I’m worried that the same problem will happen again after updating FW

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [September 28, 2021, 9:58am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/5 "2021-09-28T09:58:16Z")

</div>

you might need to shut down firewall by  
iptables -I INPUT -j ACCEPT

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [September 28, 2021, 10:05am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/6 "2021-09-28T10:05:23Z")

</div>

![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/e/e44b513a339cc39cd2089fece3eda9ecf2fcb745.png)

Thanks again !

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [October 17, 2021, 8:32am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/7 "2021-10-17T08:32:40Z")

</div>

I can successfully clone meta-mangoh.git in the R16 and compile successfully.

but I got error when I tried to add meta-mangoh.git in the R13(Legato-Dist-Source-mdm9x28-SWI9X07Y\_02.28.03.01.tar.bz2 ) and recompile(Compilation was successful before adding meta-mangoh)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/b/b29485878a462c1262e26e847d192794569379a3.png)

May I ask what is the reason for this? How to fix it?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)\
**Post date:** [October 17, 2021, 9:47am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/8 "2021-10-17T09:47:15Z")

</div>

You need to use r16 then

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [October 21, 2021, 1:51pm UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/9 "2021-10-21T13:51:21Z")

</div>

To get the dev configs loaded to connect for your own FW, you need to apply the one commit from this branch on meta mangoh: [GitHub - mangOH/meta-mangoh at mdev\_update\_for\_ecm](https://github.com/mangOH/meta-mangoh/tree/mdev_update_for_ecm)

---

<div class="post-metadata">

**Author:** ![bruceke](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bruceke](https://mangoh.discourse.group/u/bruceke)\
**Post date:** [October 22, 2021, 3:31am UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/10 "2021-10-22T03:31:36Z")

</div>

Hi jameswollaeger,  
Thanks for your information.  
I’ve tried to clone this branch to R13.3 yocto folder and make again , but it still get some error as below:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/mangoh/original/2X/0/04d6951ca6a913337c1b6fe00b12664a2481a182.png)

Does it need some patch or code change?

---

<div class="post-metadata">

**Author:** ![jameswollaeger](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@jameswollaeger](https://mangoh.discourse.group/u/jameswollaeger)\
**Post date:** [October 25, 2021, 2:03pm UTC](https://mangoh.discourse.group/t/how-can-i-create-mmc-interface-in-r16-or-there-is-a-better-way-to-deploy-wifi-module-of-mangoh-yellow/9678/11 "2021-10-25T14:03:51Z")

</div>

I’m using the R16 Yocto release, I’ve never tried the R13.3. I can say I’ve never seen that error before.
