# Legato Linux distribution (Yocto project)

**URL:** https://forum.legato.io/c/legato-linux-distribution-yocto-project/6.md?page=1

[Latest](https://forum.legato.io/latest.md) · [Categories](https://forum.legato.io/categories.md)

**Page:** 2

---

## [Trying to build swi-fx30-cat1\_2.0.1](https://forum.legato.io/t/trying-to-build-swi-fx30-cat1-2-0-1/6612)

<div class="topic-metadata">

**Author:** [@xgaillard](https://forum.legato.io/u/xgaillard)\
**Replies:** 15\
**Last updated:** [October 27, 2023, 6:04am UTC](https://forum.legato.io/t/trying-to-build-swi-fx30-cat1-2-0-1/6612 "2023-10-27T06:04:41Z")

</div>

Getting an error with manifest version : \*\* + case $BASH\_VERSION in | + echo ‘WARNING: /home/xavier/workspaceLegatoBis/swi-linux-src/build\_bin/tmp/work/swi\_mdm9x28\_fx30-poky-linux-gnueabi/mdm9x28-image-minimal/1.0-r0.0…

---

## [Leaf getsrc swi-linux : repo error](https://forum.legato.io/t/leaf-getsrc-swi-linux-repo-error/6608)

<div class="topic-metadata">

**Author:** [@xgaillard](https://forum.legato.io/u/xgaillard)\
**Replies:** 1\
**Last updated:** [October 19, 2023, 3:02pm UTC](https://forum.legato.io/t/leaf-getsrc-swi-linux-repo-error/6608 "2023-10-19T15:02:34Z")

</div>

Trying to load linux source for yocto build, getting an error with repo : Ready to sync in /home/xavier/workspaceLegato/swi-linux-src directory: repo init -u ssh://git@github.com/legatoproject/manifest -m mdm9x28/tags/…

---

## [Building SDK using yocto and compile package in .ipk format](https://forum.legato.io/t/building-sdk-using-yocto-and-compile-package-in-ipk-format/2339)

<div class="topic-metadata">

**Author:** [@bharathgk](https://forum.legato.io/u/bharathgk)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 11:00am UTC](https://forum.legato.io/t/building-sdk-using-yocto-and-compile-package-in-ipk-format/2339 "2017-02-09T11:00:10Z")

</div>

Hi All, I’am trying build SDK using yocto, which will include all the external packages i have addded e.g libconfig, mosquitto etc. After building sdk, i want to compile my application software in “ipk” format, which …

---

## [WP76xx Disable UBIFS in R17 Yocto Build](https://forum.legato.io/t/wp76xx-disable-ubifs-in-r17-yocto-build/6585)

<div class="topic-metadata">

**Author:** [@sharath\_n](https://forum.legato.io/u/sharath_n)\
**Replies:** 1\
**Last updated:** [September 8, 2023, 11:16am UTC](https://forum.legato.io/t/wp76xx-disable-ubifs-in-r17-yocto-build/6585 "2023-09-08T11:16:06Z")

</div>

Hi, I am trying to upgrade the WP76xx Kernel to Latest R17 Release from Sierra Wireless from R16\_01. Referring to this https://forum.legato.io/t/flash-size-wp7607/380 post, I had a similar issue and solved rootfs file si…

---

## [QTBase fails with Configure task](https://forum.legato.io/t/qtbase-fails-with-configure-task/6576)

<div class="topic-metadata">

**Author:** [@pankaj1](https://forum.legato.io/u/pankaj1)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 8:55am UTC](https://forum.legato.io/t/qtbase-fails-with-configure-task/6576 "2023-08-24T08:55:08Z")

</div>

Hi, Trying to compile a QT 5 application. when building qtbase from meta-qt5 layer from sumo branch facing error with configure tasks. The OpenGL functionality tests failed! | You might need to modify the include and…

---

## [Modprobe: module gs\_usb not found in modules.dep](https://forum.legato.io/t/modprobe-module-gs-usb-not-found-in-modules-dep/6563)

<div class="topic-metadata">

**Author:** [@MVAJGER](https://forum.legato.io/u/MVAJGER)\
**Replies:** 8\
**Last updated:** [August 2, 2023, 2:02pm UTC](https://forum.legato.io/t/modprobe-module-gs-usb-not-found-in-modules-dep/6563 "2023-08-02T14:02:59Z")

</div>

Hi, in mdm9x28-image.inc I added the following line: KERNEL\_MODULE\_AUTOLOAD += “gs\_usb” But when I want to modprobe gs\_usb. I get the error above.

---

## [\[WP760x\]\[ECM\] How to change default IP of CDC-ECM](https://forum.legato.io/t/wp760x-ecm-how-to-change-default-ip-of-cdc-ecm/4841)

<div class="topic-metadata">

**Author:** [@HIROKI11976](https://forum.legato.io/u/HIROKI11976)\
**Replies:** 18\
**Last updated:** [August 1, 2023, 8:18am UTC](https://forum.legato.io/t/wp760x-ecm-how-to-change-default-ip-of-cdc-ecm/4841 "2023-08-01T08:18:53Z")

</div>

Question; Could you tell me the way how to change default IP address of CDC-ECM? Back Ground: In order to avoid to access from third party, they would like to change default IP of CDC-ECM from 192.168.2.2.

---

## [How to add custom package to yocto build](https://forum.legato.io/t/how-to-add-custom-package-to-yocto-build/6561)

<div class="topic-metadata">

**Author:** [@MVAJGER](https://forum.legato.io/u/MVAJGER)\
**Replies:** 2\
**Last updated:** [July 27, 2023, 2:24pm UTC](https://forum.legato.io/t/how-to-add-custom-package-to-yocto-build/6561 "2023-07-27T14:24:00Z")

</div>

I downloaded Legato-Dist-Source-mdm9x28-SWI9X07Y\_03.01.07.00.tar.bz2 and run under ubuntu 16. I created meta-custom layer and add it to build\_bin/conf/bblayers.conf. Then I run make from yocto folder. It says success, so…

---

## [Error in Section "sysfs\_volume" during Yocto build WP76xx](https://forum.legato.io/t/error-in-section-sysfs-volume-during-yocto-build-wp76xx/6552)

<div class="topic-metadata">

**Author:** [@sharath\_n](https://forum.legato.io/u/sharath_n)\
**Replies:** 16\
**Last updated:** [July 21, 2023, 8:16am UTC](https://forum.legato.io/t/error-in-section-sysfs-volume-during-yocto-build-wp76xx/6552 "2023-07-21T08:16:20Z")

</div>

Hi, I am trying to build Linux Kernel 4.14.253 based on the Release R17 for the WP76xx module. In the process, we are adding some custom recipes and files to the OS. But during the build, I’m getting the following error …

---

## [\[WP7608\]\[CrossCompile\] Cross compile error for native C source](https://forum.legato.io/t/wp7608-crosscompile-cross-compile-error-for-native-c-source/4954)

<div class="topic-metadata">

**Author:** [@HIROKI11976](https://forum.legato.io/u/HIROKI11976)\
**Replies:** 8\
**Last updated:** [January 29, 2020, 12:07am UTC](https://forum.legato.io/t/wp7608-crosscompile-cross-compile-error-for-native-c-source/4954 "2020-01-29T00:07:26Z")

</div>

Back Ground: I try to build native C source by using leaf cross compile. So I faced the build error that “stdio.h is no file or directly” as the follows. \<Environment\> - Linux distribution; SWI9X07Y\_02.28.03.05 - lega…

---

## [Add read-only file to /etc/ in WP76xx module using yocto](https://forum.legato.io/t/add-read-only-file-to-etc-in-wp76xx-module-using-yocto/6524)

<div class="topic-metadata">

**Author:** [@sharath\_n](https://forum.legato.io/u/sharath_n)\
**Replies:** 3\
**Last updated:** [June 14, 2023, 7:17am UTC](https://forum.legato.io/t/add-read-only-file-to-etc-in-wp76xx-module-using-yocto/6524 "2023-06-14T07:17:10Z")

</div>

Hi all, I want to add files under /etc/test using yocto for the WP76xx module OS, but I want this file test to be a read-only file. How do add this file?

---

## [Compiling systemd](https://forum.legato.io/t/compiling-systemd/3245)

<div class="topic-metadata">

**Author:** [@roya](https://forum.legato.io/u/roya)\
**Replies:** 4\
**Last updated:** [June 6, 2023, 8:04am UTC](https://forum.legato.io/t/compiling-systemd/3245 "2023-06-06T08:04:34Z")

</div>

Hi, As anyone managed to compile systemd into legato distribution? I’d like to use dome of systemd shell tools without actually enabling systemd… Thanks, Roy

---

## [Eth0 does not always appear & requires a power cycle if not present](https://forum.legato.io/t/eth0-does-not-always-appear-requires-a-power-cycle-if-not-present/6509)

<div class="topic-metadata">

**Author:** [@sierra](https://forum.legato.io/u/sierra)\
**Replies:** 3\
**Last updated:** [May 23, 2023, 9:19am UTC](https://forum.legato.io/t/eth0-does-not-always-appear-requires-a-power-cycle-if-not-present/6509 "2023-05-23T09:19:13Z")

</div>

I have a MangOH yellow board with a talon ethernet board plugged into the IoT connector. Most of the time this works fine. Occasionally it forgets that it has an ethernet connection. When this happens, the only way I ha…

---

## [Rootfs.hash & rootfs.rhash.unsigned file generation](https://forum.legato.io/t/rootfs-hash-rootfs-rhash-unsigned-file-generation/6512)

<div class="topic-metadata">

**Author:** [@sharath\_n](https://forum.legato.io/u/sharath_n)\
**Replies:** 9\
**Last updated:** [May 23, 2023, 7:14am UTC](https://forum.legato.io/t/rootfs-hash-rootfs-rhash-unsigned-file-generation/6512 "2023-05-23T07:14:27Z")

</div>

Hi All, For Secure boot in WP76xx module, as part of the Rootfs Signing process following files are taken from yocto build : mkdir output cp /opt/buildserver-git/Legato\_Releases/WP76\_R16\_01/yocto/build\_bin/tmp/deploy/…

---

## [\[WP77\]\[R14.1\]\[19.11.5\] How to use UART1\_DTR to wakeup from Sleep State and register interrupt on this gpio](https://forum.legato.io/t/wp77-r14-1-19-11-5-how-to-use-uart1-dtr-to-wakeup-from-sleep-state-and-register-interrupt-on-this-gpio/6335)

<div class="topic-metadata">

**Author:** [@Madjid](https://forum.legato.io/u/Madjid)\
**Replies:** 4\
**Last updated:** [May 6, 2023, 3:57pm UTC](https://forum.legato.io/t/wp77-r14-1-19-11-5-how-to-use-uart1-dtr-to-wakeup-from-sleep-state-and-register-interrupt-on-this-gpio/6335 "2023-05-06T15:57:39Z")

</div>

Hi, I’m searshing how to configure UIART1\_DTR to be a wakeup source when WP77 enters in Sleep State and if it’s possible to read and even better catch interrupts on this GPIO. In WP77XX Product Specification r4.pdf cha…

---

## [\[WP7605\]\[fopen\] Condition "errno=30" by fopen](https://forum.legato.io/t/wp7605-fopen-condition-errno-30-by-fopen/6473)

<div class="topic-metadata">

**Author:** [@HIROKI11976](https://forum.legato.io/u/HIROKI11976)\
**Replies:** 8\
**Last updated:** [April 11, 2023, 5:06am UTC](https://forum.legato.io/t/wp7605-fopen-condition-errno-30-by-fopen/6473 "2023-04-11T05:06:47Z")

</div>

Question: Could you tell me the condition that returned “errno=30” by fopen command? Back Ground: We faced the issue that WP7605 could not save user data inside WP7605 file system. In my understanding, “errno=30” mea…

---

## [UART1 issues](https://forum.legato.io/t/uart1-issues/1982)

<div class="topic-metadata">

**Author:** [@arnaudlanger](https://forum.legato.io/u/arnaudlanger)\
**Replies:** 22\
**Last updated:** [April 8, 2023, 7:28am UTC](https://forum.legato.io/t/uart1-issues/1982 "2023-04-08T07:28:40Z")

</div>

Hi, I tried to use the serial port (UART1) on the DevBoard, but i can’t even open the file /dev/ttys1. Indeed, the function open("/dev/ttys1", O\_RDWR | O\_NOCTTY | O\_NDELAY) returns the following error open failed with…

---

## [USB WiFi dongle - driver installation and detection](https://forum.legato.io/t/usb-wifi-dongle-driver-installation-and-detection/2413)

<div class="topic-metadata">

**Author:** [@rups](https://forum.legato.io/u/rups)\
**Replies:** 3\
**Last updated:** [January 18, 2023, 11:39pm UTC](https://forum.legato.io/t/usb-wifi-dongle-driver-installation-and-detection/2413 "2023-01-18T23:39:56Z")

</div>

Hi, I am interfacing Ralink 148f:7601 wifi adaptor with USB host port. On terminal when I give “lsusb” command, it gave me list including this Ralink adaptor. But now I want to install its driver and firmware so as to…

---

## [Trying to built yocto for fx30 cat1](https://forum.legato.io/t/trying-to-built-yocto-for-fx30-cat1/6208)

<div class="topic-metadata">

**Author:** [@xgaillard](https://forum.legato.io/u/xgaillard)\
**Replies:** 58\
**Last updated:** [December 30, 2022, 7:25am UTC](https://forum.legato.io/t/trying-to-built-yocto-for-fx30-cat1/6208 "2022-12-30T07:25:47Z")

</div>

More than one week for I did try to generate yocto for my FX30 cat1 (Release R16.0.1.006 + Legato 19.11.5) My first mistake was to try to build with ubuntu 21 : I failed. Then I decided to use a docker with a ubuntu:18…

---

## [Sources for release 15, legato 21](https://forum.legato.io/t/sources-for-release-15-legato-21/6376)

<div class="topic-metadata">

**Author:** [@sunil.somarajan](https://forum.legato.io/u/sunil.somarajan)\
**Replies:** 5\
**Last updated:** [December 20, 2022, 1:30am UTC](https://forum.legato.io/t/sources-for-release-15-legato-21/6376 "2022-12-20T01:30:03Z")

</div>

Hi, I have used leaf to obtain sources for FX30-CATM (Release 15.0.5.002 + Legato 21.05.0) but this is failing a compile. I had all kinds of issues with repo tool but finally got leaf getsrc legato and leaf getsrc swi-l…

---

## [Generating image using SWICWE](https://forum.legato.io/t/generating-image-using-swicwe/6365)

<div class="topic-metadata">

**Author:** [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Replies:** 6\
**Last updated:** [December 5, 2022, 5:46am UTC](https://forum.legato.io/t/generating-image-using-swicwe/6365 "2022-12-05T05:46:10Z")

</div>

When following the steps to generate image using SWICWE command swicwe --YCWE --pid 9X28 --lk appsboot.mbn --kernel boot-yocto-mdm9x28.4k.img --rootfs mdm9x28-image-minimal-swi-mdm9x28-wp.ubi -v SWI9X07Y\_02.37.07.00 -o…

---

## [Problem to compile yocto base R15 env](https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346)

<div class="topic-metadata">

**Author:** [@alban.fricot](https://forum.legato.io/u/alban.fricot)\
**Replies:** 1\
**Last updated:** [November 23, 2022, 7:51am UTC](https://forum.legato.io/t/problem-to-compile-yocto-base-r15-env/6346 "2022-11-23T07:51:45Z")

</div>

Hi, I want to include python on my FX30 release R15. I have downloaded with the command “leaf getsrc swi-linux” the yocto base. When I try to compile with the following command make PROD=fx30, I have the following re…

---

## [WP7608 R16.1 source released](https://forum.legato.io/t/wp7608-r16-1-source-released/6248)

<div class="topic-metadata">

**Author:** [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Replies:** 9\
**Last updated:** [August 3, 2022, 8:50pm UTC](https://forum.legato.io/t/wp7608-r16-1-source-released/6248 "2022-08-03T20:50:38Z")

</div>

HI, For WP7608 R16.1 is released newly we see only the downloads being released is there any document on how it is expected to be used? Below is the list from the source released under R16.1 for WP7608: yocto ├── down…

---

## [The way of checking whether Linux kernel programs and data fit on RAM in WP7605](https://forum.legato.io/t/the-way-of-checking-whether-linux-kernel-programs-and-data-fit-on-ram-in-wp7605/6242)

<div class="topic-metadata">

**Author:** [@uchida.s](https://forum.legato.io/u/uchida.s)\
**Replies:** 3\
**Last updated:** [July 7, 2022, 3:14am UTC](https://forum.legato.io/t/the-way-of-checking-whether-linux-kernel-programs-and-data-fit-on-ram-in-wp7605/6242 "2022-07-07T03:14:18Z")

</div>

I would like to check whether Linux kernel programs and data fit not only on Flash in WP7605 module, but on RAM in the module. I am afraid that big bss(block started by symbol) data causes RAM shortage. To check the fo…

---

## [I2C BUS ERROR:noisy bus/unexpected](https://forum.legato.io/t/i2c-bus-error-noisy-bus-unexpected/5815)

<div class="topic-metadata">

**Author:** [@akshaysk](https://forum.legato.io/u/akshaysk)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 7:06pm UTC](https://forum.legato.io/t/i2c-bus-error-noisy-bus-unexpected/5815 "2022-06-19T19:06:34Z")

</div>

Hi @jyijyi MCU Firmware is missing in one of the device under test running on R16 Firmware attached the logs for your reference . Can we know the root cause of this issue ? Are there any limitations in the i2c bus ? whe…

---

## [Debug app in terminal after uploading from legato to device](https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231)

<div class="topic-metadata">

**Author:** [@krishna.j](https://forum.legato.io/u/krishna.j)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 10:35am UTC](https://forum.legato.io/t/debug-app-in-terminal-after-uploading-from-legato-to-device/6231 "2022-06-17T10:35:06Z")

</div>

hi there , i’ve loaded my apps on the device using legato\_vscode after that in the terminal if i am checking the app status i am able to see all the apps which has been loaded on the device for ex: modemService is the …

---

## [Error Building Meta-mangOH](https://forum.legato.io/t/error-building-meta-mangoh/6219)

<div class="topic-metadata">

**Author:** [@Pankaj](https://forum.legato.io/u/Pankaj)\
**Replies:** 2\
**Last updated:** [June 4, 2022, 9:13am UTC](https://forum.legato.io/t/error-building-meta-mangoh/6219 "2022-06-04T09:13:21Z")

</div>

hi, Following the link on mangOH forum Bluetooth on mangOH Yellow - mangOH Yellow - mangOH forum tried adding the meta-mangOH layer to the yocto build. The bluez5.52 recipe keeps on failing on the fetching task, can s…

---

## [FX30 Cat1 building yocto](https://forum.legato.io/t/fx30-cat1-building-yocto/6198)

<div class="topic-metadata">

**Author:** [@xgaillard](https://forum.legato.io/u/xgaillard)\
**Replies:** 2\
**Last updated:** [May 6, 2022, 4:59pm UTC](https://forum.legato.io/t/fx30-cat1-building-yocto/6198 "2022-05-06T16:59:36Z")

</div>

Hello, I did download linux source with the " leaf getsrc " command for the package swi-fx30-cat1\_2.0.0 . But what about after. I did jump in swi-linux-src directory but I need the exact command to generate config file…

---

## [Integrating AWS IoT (Alexa) with WP76 | Upgrading OpenSSL](https://forum.legato.io/t/integrating-aws-iot-alexa-with-wp76-upgrading-openssl/5902)

<div class="topic-metadata">

**Author:** [@lazzo](https://forum.legato.io/u/lazzo)\
**Replies:** 5\
**Last updated:** [April 22, 2022, 9:26am UTC](https://forum.legato.io/t/integrating-aws-iot-alexa-with-wp76-upgrading-openssl/5902 "2022-04-22T09:26:55Z")

</div>

Hello, We are working with WP76xx and Legato 19.11.2 (the stable version from release 16). We would like to integrate it with AWS (Registration | AVS for AWS IoT) which requires Curve25519. Currently, the Linux Kernel…

---

## [Le\_gnss' service spontaneously disconnected](https://forum.legato.io/t/le-gnss-service-spontaneously-disconnected/6180)

<div class="topic-metadata">

**Author:** [@tanaporn\_y](https://forum.legato.io/u/tanaporn_y)\
**Replies:** 3\
**Last updated:** [April 18, 2022, 2:58am UTC](https://forum.legato.io/t/le-gnss-service-spontaneously-disconnected/6180 "2022-04-18T02:58:36Z")

</div>

After I have run my program around 2 hrs, NAD is stopped and get below pic. error. My program is get gnss-position every sec and also send the data by using LTE data. Have any way the fixed this error??

[Previous page](https://forum.legato.io/c/legato-linux-distribution-yocto-project/6.md)

[Next page](https://forum.legato.io/c/legato-linux-distribution-yocto-project/6.md?page=2)
