# Cannot perform SOTA updates for Fx30 using Legato-17.09.0

**URL:** <https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784>\
**Category:** Legato Application Framework\
**Created:** [November 14, 2017, 12:58am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784 "2017-11-14T00:58:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [November 14, 2017, 12:58am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/1 "2017-11-14T00:58:10Z")

</div>

Hi all,

I have been trying to Install an application remotely using airvatage but I am not able to do it. I followed all the steps given in the documentation:

1. build the app: mkapp
2. made application zip file - av-pack -u helloWorld.wp85.update -b \_build\_helloWorld/wp85/ -t myCompany.myName.helloWorld
3. uploaded the zip file on airvantage and published the app.
4. Using Systems\> device\> More\> Install application( on next connection) started the process of installation.

This is what I observe:

1. A couple of apps get uninstalled.
2. The log indicates “Automatically deferring download, while waiting for control app to register”  
Here is a log of the events recorded when the app installation is attempted by the AirVantage server:  
[log.txt](https://forum.legato.io/uploads/short-url/gNj8Lj11NEiN7HwiQgJOdgqNIbL.txt) (40.9 KB)

Please someone help me figure this out.

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [November 16, 2017, 8:47am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/2 "2017-11-16T08:47:10Z")

</div>

Hi Virajpadte,  
Are you using the same legato AF version which is used in the FX30 module to build the application?

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [November 16, 2017, 6:43pm UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/3 "2017-11-16T18:43:45Z")

</div>

Yes I am using legato 17.09 as both the development as well as the target framework installed on my FX30. Do you need any more logs for helping me debug this issue?

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [November 17, 2017, 6:26am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/4 "2017-11-17T06:26:36Z")

</div>

Hi Virajpadte,  
Which is the firmware version used on FX30 module? You can get the info using “cm info” command and also can you please provide the “app status” output before and after you try to update the SOTA ?

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [November 17, 2017, 8:46pm UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/5 "2017-11-17T20:46:26Z")

</div>

Here is cm info  
root@fx30:~# cm info  
Device: FX30  
IMEI: 353984080034059  
IMEISV: 2D  
FSN: LL647500611410  
Firmware: SWI9X15Y\_07.12.09.00 r34123 CARMD-EV-FRMWR1 2017/04/26 23:34:19  
Bootloader: SWI9X15Y\_07.12.09.00 r34123 CARMD-EV-FRMWR1 2017/04/26 23:34:19  
PRI PN: 9906645  
PRI Rev: 01.01  
Carrier PRI Name: ATT  
Carrier PRI Rev: 001.028\_000  
SKU: 1103214  
MCU Version: 001.011  
LAST RESET REASON: Unknown  
RESETS COUNT: Expected: 0 Unexpected: 0

App status before triggering the remote installation:  
root@fx30:~# app status  
[running] atService  
[running] audioService  
[running] avcService  
[running] cellNetService  
[running] dataConnectionService  
[running] devMode  
[running] fwupdateService  
[running] gpioService  
[running] modemService  
[running] positioningService  
[running] powerMgr  
[running] secStore  
[stopped] smsInboxService  
[stopped] spiService  
[stopped] tools  
[stopped] voiceCallService  
[stopped] wifi  
[stopped] wifiApTest  
[stopped] wifiClientTest  
[running] wifiService  
[stopped] wifiWebAp  
[running] viraj\_avcControl

App status after triggering the remote installation:

root@fx30:~# app status  
[running] atService  
[running] audioService  
[running] avcService  
[running] cellNetService  
[running] dataConnectionService  
[running] devMode  
[running] fwupdateService  
[running] gpioService  
[running] modemService  
[running] positioningService  
[running] powerMgr  
[running] secStore  
[stopped] smsInboxService  
[stopped] spiService  
[stopped] tools  
[stopped] voiceCallService  
[stopped] wifi  
[stopped] wifiApTest  
[stopped] wifiClientTest  
[running] wifiService  
[stopped] wifiWebAp

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [November 20, 2017, 5:08am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/6 "2017-11-20T05:08:16Z")

</div>

Hi Virajpadte,  
Thanks for the information. After installing the “viraj\_avcControl” run the command “update -g” on the module to make the system good and then perform the SOTA. Let me know whether you are able to do SOTA after using this comman or not.

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [November 20, 2017, 9:45pm UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/7 "2017-11-20T21:45:14Z")

</div>

Hi Murali,

I tried doing that. I would assume that after marking the system good, viraj\_avcControl app wouldn’t get uninstalled. But I was surprised to see it does. here are the steps I followed:

**Installed app from dev machine:**  
jarvis@jarvis:~/workspace/code\_repo/avcControl$ instapp viraj\_avcControl.wp85.update 192.168.2.2  
Applying update from file ‘viraj\_avcControl.wp85.update’ to device at address ‘192.168.2.2’.  
[root@192.168.2.2](mailto:root@192.168.2.2)’s password:  
Unpacking package: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++  
Applying update: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++  
SUCCESS  
Done

**Marked the system as good:**  
root@swi-mdm9x15:~# update -g  
System is now marked ‘Good’.

**Started application:**  
app start viraj\_avcControl

Initiated app install:

 ![35 PM](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/886eb6790ac9c597713277da4fba408c3fabee5a.png)

Here are the [log.txt](https://forum.legato.io/uploads/short-url/suyCQQR0a5LtytbeG3r2XRsguPL.txt) (28.7 KB) showing viraj\_avcControl getting uninstalled.

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [November 21, 2017, 6:39am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/8 "2017-11-21T06:39:41Z")

</div>

Hi Virajpadte,  
From your “cm info” details, You are using FX30 module and firmware used is **SWI9X15Y\_07.12.09.00**. But the latest firmware for FX30 available on [source.sierra](https://source.sierrawireless.com/resources/airlink/software_downloads/fx30-firmware/fx30-firmware/) is **SWI9X15Y\_07.11.22.00 (R13.1.2.004)**.

From where did you get the SWI9X15Y\_07.12.09.00 firmware for FX30? I think SWI9X15Y\_07.12.09.00 firmware is specific to WP85XX.

Any specific reason you are using SWI9X15Y\_07.12.09.00? I don’t think SWI9X15Y\_07.12.09.00 firmware will be reliable for FX30.

Regards,  
Muralidhara N.

---

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [November 21, 2017, 7:55am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/9 "2017-11-21T07:55:51Z")

</div>

Hi Murali,

I used the following link to build a custom image for legato 17.09 with firmware AT&T( since I am using an AT&T SIM card to connect to cellular network):  
SWI9X15Y\_07.12.09.00 / 001.028\_000 using the swicwe tool.

[https://source.sierrawireless.com/resources/legato/wpfirmwarerelease/](https://source.sierrawireless.com/resources/legato/wpfirmwarerelease/)

There is no specific reason for me to use this firmware however as seen in the link, it is the version exported as a part of the combined images.

Is the radio module used in FX30 - WP7601-1 or WP8548G?

How do you suggest I proceed to debug the issue ?

---

<div class="post-metadata">

**Author:** ![muralinagraj](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@muralinagraj](https://forum.legato.io/u/muralinagraj)\
**Post date:** [November 21, 2017, 9:14am UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/10 "2017-11-21T09:14:26Z")

</div>

Hi Virajpadte,  
Radio module used in FX30 is WP8548/WP7601/WP7603. Though FX30 has WP8548 module there will be difference in the firmwares, You can’t use the firmware of WP8548 on FX30.  
You need to use the FX30 (Ethernet) 3G firmware whcih is in the this link [source.sierra](https://source.sierrawireless.com/resources/airlink/software_downloads/fx30-firmware/fx30-firmware/).

I went through logs attached, I couldn’t find what is the reason. Using firmware of WP8548 on FX30 might be the reason for this SOTA issue, But not sure. Please try with the official FX30 firmware which i have mentioned above.

You were able to perform SOTA updates successfully using previous legato versions? OR you are facing issue only with Legato-17.19.0. I would suggest you to use Legato-16.10.1 as this is legato version which comes with latest official FX30 release.  
Regards,  
Muralidhara N

---

<div class="post-metadata">

**Author:** ![cchenry](https://avatars.discourse-cdn.com/v4/letter/c/a183cd/32.png) [@cchenry](https://forum.legato.io/u/cchenry)\
**Post date:** [November 21, 2017, 6:32pm UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/11 "2017-11-21T18:32:44Z")

</div>

Hi Virajpadte, Murali,

Please check the FX30 firewall rules, by default, most input rules are locked. The rules are located at /etc/iptables.rules. This may or not help, I’m unsure if SOTA will work at all since Legato 17.x is not officially supported for the WP85.

The latest Legato version is 16.10.3.

BR,  
Chris

---

<div class="post-metadata">

**Author:** ![virajpadte](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/virajpadte/32/264_2.png) [@virajpadte](https://forum.legato.io/u/virajpadte)\
**Post date:** [December 4, 2017, 6:23pm UTC](https://forum.legato.io/t/cannot-perform-sota-updates-for-fx30-using-legato-17-09-0/2784/12 "2017-12-04T18:23:22Z")

</div>

Hi Murali,

I think that was the problem. I moved rolled back to legato 16.10.1 with the FX30 firmware - SWI9X15Y\_07.11.22.00 and it finally solved the problem for me. Thanks a lot for helping me out with this one.
