Cannot perform SOTA updates for Fx30 using Legato-17.09.0


#1

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 (40.9 KB)

Please someone help me figure this out.


#2

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

Regards,
Muralidhara N.


#3

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?


#4

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.


#5

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


#6

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.


#7

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’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:

Here are the log.txt (28.7 KB) showing viraj_avcControl getting uninstalled.


#8

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 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.


#9

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/

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 ?


#10

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.

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


Problem during software update
#11

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


#12

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.