# Latest version of yocto for wp7607?

**URL:** <https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789>\
**Category:** Uncategorized\
**Created:** [May 25, 2021, 1:05pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789 "2021-05-25T13:05:12Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 25, 2021, 1:05pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/1 "2021-05-25T13:05:12Z")

</div>

Hello everybody. Unfortunately I urgently need the updated and compatible version of the Legate 16. Can anyone tell me how to do it, since the site is down and does not allow me to download? I can’t do this from the git repositories. Is there a guide? It is absurd that the site has been down for months.  
Thanks everyone for your attention.

PS. Alternatively, I would also be happy if someone gave me the .cwe already downloaded

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 25, 2021, 2:32pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/2 "2021-05-25T14:32:24Z")

</div>

what cwe file do you want?  
I can download the legato-19.11.2.cwe in here:  
[https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16-components/#sthash.pQwOgtqi.dpbs](https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-16-components/#sthash.pQwOgtqi.dpbs)

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 25, 2021, 3:16pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/3 "2021-05-25T15:16:08Z")

</div>

This one:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/4/4e9cfaa7a223603068c62e0e9735dea1c82b80b8.png)  
But it says:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/f/f739d6cc65506d159de69e21cb470bbff2fe31ca.png)  
Sorry I was confused. It’s the spk one. Do you know if Sierra Wireless will be available it?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 25, 2021, 3:21pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/4 "2021-05-25T15:21:27Z")

</div>

that is the source, not .spk file

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 25, 2021, 3:22pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/5 "2021-05-25T15:22:02Z")

</div>

Okay, sorry, but how can I obtain it(the source)? Install leaf is not the way…

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 25, 2021, 3:24pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/6 "2021-05-25T15:24:07Z")

</div>

With all due respect, but I believe it is a shameful thing for the manufacturer not to provide suitable tools for those who buy this HW. This is absurd!

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 12:23am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/7 "2021-05-26T00:23:55Z")

</div>

i have a backup in my PC, you can use it

[https://drive.google.com/file/d/1BPxUb\_dgP1aY2TqQuHBmNGAr\_9geeaV1/view?usp=sharing](https://drive.google.com/file/d/1BPxUb_dgP1aY2TqQuHBmNGAr_9geeaV1/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 6:21am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/8 "2021-05-26T06:21:22Z")

</div>

Thanks @jyijyi. As always, I don’t know how to thank you🙏🏻

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 7:21am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/9 "2021-05-26T07:21:24Z")

</div>

Can’t compile yocto folder 😵

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/5/5c27529b34ff4176663e26cf5645896d4b1cf24a.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 7:53am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/10 "2021-05-26T07:53:11Z")

</div>

sudo apt-get remove ccache  
sudo dpkg-reconfigure dash  
Answer “No” to the question.

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 7:55am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/11 "2021-05-26T07:55:25Z")

</div>

Done, but obtain error of **unable to start bitbake server** :  
mangoh@mangoh-dev:~/Downloads/yocto$ make image\_bin  
Makefile:71: “Legato: build disabled since ‘/home/mangoh/Downloads/yocto/legato/’ does not exist”  
“meta-swi/build.sh” -p poky/ -o meta-openembedded/ -l meta-swi -x “kernel” -j 9 -t 9 -a LK\_REPO\_DIR=“/home/mangoh/Downloads/yocto” -a LK\_REPO\_NAME=“lk” -a LK\_REPO=“file://lk” -m swi-mdm9x28 -P wp -b build\_bin -q  
Poky dir: /home/mangoh/Downloads/yocto/poky  
OE meta: /home/mangoh/Downloads/yocto/meta-openembedded  
SWI meta dir: /home/mangoh/Downloads/yocto/meta-swi  
Linux repo dir: /home/mangoh/Downloads/yocto/kernel  
Number of make threads 9  
Number of bitbake tasks 9  
Extra options added - LK\_REPO\_DIR=/home/mangoh/Downloads/yocto  
Extra options added - LK\_REPO\_NAME=lk  
Extra options added - LK\_REPO=file://lk  
SWI machine: swi-mdm9x28  
SWI product: wp  
Build dir: /home/mangoh/Downloads/yocto/build\_bin  
Enable Qualcomm Proprietary bin

### Shell environment set up for builds.

You can now run ‘bitbake ’

Common targets are:  
core-image-minimal  
core-image-sato  
meta-toolchain  
meta-ide-support

You can also run generated qemu images with a command like ‘runqemu qemux86’

- layer: meta-oe
- layer: meta-networking
- layer: meta-python
- layer: meta-gplv2
- layer: meta-swi/common
- layer: meta-swi/meta-swi-mdm9xxx
- layer: meta-swi/meta-swi-mdm9x28
- layer: meta-swi-extras/common
- layer: meta-swi-extras/meta-swi-mdm9x28
- layer: meta-swi-extras/meta-swi-mdm9xxx-bin
- layer: meta-swi-extras/meta-swi-mdm9x28-bin
- layer: meta-swi-extras/meta-swi-mdm9x28-wp-bin  
Yocto machine: swi-mdm9x28-wp  
Updating LEGATO\_BUILD to false  
Updating IMA\_BUILD to false  
Updating IMA\_CONFIG to  
Updating IMA\_LOCAL\_CA\_X509 to  
Updating IMA\_PRIV\_KEY to  
Updating IMA\_PUB\_CERT to  
Updating IMA\_KERNEL\_CMDLINE\_OPTIONS to  
Updating ENABLE\_IMA to 0  
Updating IMA\_PUBLIC\_CERT to  
Updating IMA\_PRIVATE\_KEY to  
Updating IMA\_SMACK to  
Updating ENABLE\_FX30 to  
Updating ROOTFS\_VERSION to  
Updating LK\_REPO\_DIR to /home/mangoh/Downloads/yocto  
Updating LK\_REPO\_NAME to lk  
Updating LK\_REPO to file://lk  
Updating EXT\_SWI\_IMG to false  
Updating INITRAMFS\_IMAGE\_BUNDLE to 1  
Updating INITRAMFS\_IMAGE to mdm9x28-image-initramfs  
Updating FIRMWARE\_PATH to  
Updating PACKAGECONFIG\_remove to gnutls  
Build image of minimal rootfs (for swi-mdm9x28).  
ERROR: Unable to start bitbake server  
ERROR: Server log for this session (/home/mangoh/Downloads/yocto/build\_bin/bitbake-cookerdaemon.log):  
— Starting bitbake server pid 7799 at 2021-05-26 00:53:52.611042 —  
Traceback (most recent call last):  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/cookerdata.py”, line 290, in parseBaseConfiguration  
bb.event.fire(bb.event.ConfigParsed(), self.data)  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/event.py”, line 222, in fire  
fire\_class\_handlers(event, d)  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/event.py”, line 134, in fire\_class\_handlers  
execute\_handler(name, handler, event, d)  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/event.py”, line 106, in execute\_handler  
ret = handler(event)  
File “/home/mangoh/Downloads/yocto/poky/meta/classes/base.bbclass”, line 222, in base\_eventhandler  
setup\_hosttools\_dir(d.getVar(‘HOSTTOOLS\_DIR’), ‘HOSTTOOLS’, d)  
File “/home/mangoh/Downloads/yocto/poky/meta/classes/base.bbclass”, line 132, in setup\_hosttools\_dir  
bb.fatal(“The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n %s” % " ".join(notfound))  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/ **init**.py”, line 104, in fatal  
raise BBHandledException()  
bb.BBHandledException

During handling of the above exception, another exception occurred:

Traceback (most recent call last):  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/daemonize.py”, line 77, in createDaemon  
function()  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/server/process.py”, line 464, in \_startServer  
self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/cooker.py”, line 210, in **init**  
self.initConfigurationData()  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/cooker.py”, line 375, in initConfigurationData  
self.databuilder.parseBaseConfiguration()  
File “/home/mangoh/Downloads/yocto/poky/bitbake/lib/bb/cookerdata.py”, line 317, in parseBaseConfiguration  
raise bb.BBHandledException  
bb.BBHandledException  
WARNING: Layer swi-wp-bin should set LAYERSERIES\_COMPAT\_swi-wp-bin in its conf/layer.conf file to list the core layer names it is compatible with.  
ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:  
chrpath gawk makeinfo

Makefile:300: recipe for target ‘image\_bin’ failed  
make: \*\*\* [image\_bin] Error 1

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 8:02am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/12 "2021-05-26T08:02:11Z")

</div>

How about just type make

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 8:02am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/13 "2021-05-26T08:02:47Z")

</div>

I see the same error…

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 8:03am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/14 "2021-05-26T08:03:50Z")

</div>

So your machine can compile r13 yocto?

Seems same issue as this one:

> **[Building Custom Yocto Image for Mangoh Red WP76](https://forum.mangoh.io/t/building-custom-yocto-image-for-mangoh-red-wp76/5374)**
>
> Hello! I would like to build a custom yocto image however I am having trouble. Here is what I have so far: installed Ubuntu 16.04 on VM downloaded WP76 source image from following link: ...

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 8:07am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/15 "2021-05-26T08:07:20Z")

</div>

I installed another VM and I’m trying to compile yocto because I want to do a porting of my project on the last version. I compiled yocto in february on FW 13 and I saved only the final .cwe file

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 8:08am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/16 "2021-05-26T08:08:03Z")

</div>

you can try R13 yocto build first as you said it is working before

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 8:10am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/17 "2021-05-26T08:10:00Z")

</div>

Yes but it doesn’t match with Legato 16, if I do this my mangOH goes in an infinite reboot. For this reason I need a .cwe coherent with Legato 16  
Unfortunately an important part of my project is based on wifi, which on Legato 16 is very user-friendly to program, while on the FW13 version it is much more expensive. So I want to do a complete porting on Legato 16 and Yocto compatible

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [May 26, 2021, 8:12am UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/18 "2021-05-26T08:12:36Z")

</div>

building with FW R13 yocto is just to make sure your PC is working fine with the build enviroment.  
(as you said it was working fine before)

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 12:41pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/19 "2021-05-26T12:41:01Z")

</div>

I had almost solved it by running the following libraries install command:  
_$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \*  
\*\* build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \*_  
\*\* xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \*\*  
\*\* xterm\*\*  
After two hours it was the make had reached 50%, but there was still a problem that I can not solve:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/c/c4a91b1481abd61d75d44959d13c02560bba2b65.png)

**EDIT** : Solved, Java installation is required. As soon as I finish the installation I make a last post with all the problems that arose in the installation of yocto and the solutions, so that they can be useful to someone else, being a very delicate operation.

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.legato.io/u/ga.imparato)\
**Post date:** [May 26, 2021, 2:59pm UTC](https://forum.legato.io/t/latest-version-of-yocto-for-wp7607/5789/20 "2021-05-26T14:59:13Z")

</div>

Okay, I completed successfully. Once again, I can only thank you @jyijyi !  
As I said, I try to summarize all the problems I encountered in installing and modifying yocto, so that this can be useful to other people.

- As first thing, you don’t need anything other than the folder **Legato-Dist-Source-mdm9x28-SWI9X07Y\_02.37.07.00.tar.bz2** that now you can download from Sierra Wireless Website ( Just today they reactivated the download 😁). You don’t need in this step to download the toolchain, legato etc: you will install these stuff in a second moment, when you will configure the development environment (I use visual studio code and I install all with it), I assure you that on my VM, at this moment, there is still nothing but the yocto folder!

- You have to extract and make in cd yocto. During the make you will encounter two errors:

1. 

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/9/98c121868deb884e516bb2dee1f310e1d156e9ac.png)  
As @jyijyi said, you resolve it doing  
**sudo apt-get remove ccache**  
**sudo dpkg-reconfigure dash**  
**Answer “No” to the question.**

1. 

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/c/cfdd91593d90e18b61c6dfe9729d600151d91cb6.png)  
you have to install the following libraries:  
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib   
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect   
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev   
xterm

1. Function filed: do add bash  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/b/bc70c6390ba4db38042d6f4c641f085993bf92e2.png)  
You have to install Java on your VM:  
sudo apt-get install openjdk-8-jdk

You have another last error when do you open menuconfig linux kernel. You can resolve all troubles with this command:  
sudo apt-get install libncurses5-dev  
At this point all is done! You can modify kernel files and flash the .cwe on your device.

I hope this information is useful to you. Greetings to all
