Upgrading Legato

Copyright © Sierra Wireless Inc. Use of this work is subject to license.


This page provides information on how to upgrade Legato Beta 15.01 to 15.05.

Important: Upgrade the firmware before upgrading the Legato application framework.

ninja-build: is required now to build the framework. You must run sudo apt-get install ninja-build before you can build Legato 15.05.

config trees: Legato currently overwrites private config trees during upgrading. An import/export script can be used to create a copy of config trees and reinstate settings after installation.


Contact your Field Application Engineer (FAE) to upgrade AR series targets.

Upgrade WP Firmware
Upgrade Legato Application Framework

Here's other info you may need to look at:
Legato 15.05 Beta release notes


Upgrade WP Series Firmware

Developer Studio Windows Host

Developer Studio will automatically update the target. Refer to Developer Studio help for details.


Linux Host

To upgrade the dev kit board to the latest firmware and Yocto using a Linux host, Legato Beta 14.07 or higher must be installed on the target device, and the fwupdate service must be running.

To check if fwupdate is running, on a host run: bin/legs and then fwupdate query $DEST_IP. On a target run: fwupdate query.

If it's running properly, it'll return something like:
root@swi-mdm9x15:~# fwupdate query
Connecting to service ...
Firmware Version: SWI9X15A_06.03.54.00 7e05d4f jenkins 2015/06/05 05:00:21
Bootloader Version: SWI9X15A_06.03.54.00 7e05d4f jenkins 2015/06/05 05:13:47
Linux Version: 3.4.91-8fcd3d08ac_39df295c5f #1 PREEMPT Fri Jun 5 05:25:28 UTC 2015

Download to your host the WP710x firmware package, available with or without Legato from Legato Downloads.

Then run fwupdate download [WP710x firmware file].

This message will display if it was successful:
(Download successful; please wait for modem to reset).



Verify WP Firmware Upgrade

You need to run ati and at!gstatus? to verify your firmware upgrade was successful.

Run ati
Output will look like this:
Manufacturer: Sierra Wireless, Incorporated
Model: WP7102
Revision: SWI9X15A_06.03.54.00 r23799 CNSHZ-AR-BUILD 2014/xx/xx 13:02:24
IMEI: (Your imei)
IMEI SV: 0
+GCAP: +CGSM,+FCLASS,+DS

Run at!gstatus?
Mode should be ONLINE not 'LOW POWER MODE'
!GSTATUS:
Current Time: 2160 Temperature: 29
Bootup Time: 0 Mode: ONLINE
System mode: WCDMA PS state: Not attached
IMS Reg State: NO SRV
WCDMA band: WCDMA 1900
WCDMA channel: 437
GMM (PS) state:DEREGISTERED NO IMSI
MM (CS) state: IDLE NO IMSI
WCDMA L1 State:L1M_PCH_SLEEP LAC: FEB0 (65200)
RRC State: DISCONNECTED Cell ID: 002AF1BB (2814395)
RxM RSSI C0: -47 RxD RSSI C0: -106
RxM RSSI C1: -106 RxD RSSI C1: -106

If you need to change to 'ONLINE from 'LOW POWER MODE', do this:
at!unlock="A710"
at!gobiimdisabled=1

Reset the target using at!reset or reboot it.

If ati revision returns SWI9X15A_06.03.54.00 and at!gstatus? shows that your modem is 'Online', the target upgrade was successful.

If you encounter permission issues running the unlock command, contact the Legato Forum for assistance.


Upgrade Legato Beta AF 15.01 to 15.05

Upgrade firmware before upgrading Legato AF!

On your development host, go to the Legato build toolchain installation directory (/opt/swi) and remove all files:

$ cd /opt/swi
$ sudo rm -rf *

Installation packages (including toolchain downloads) are available at the Sierra Wireless Source Legato Downloads page.

Select toolchain for either 32 or 64 bits and copy it to /opt/swi

$ mkdir -p /opt/swi
$ chmod u+x [toolchain.sh file]
$ [toolchain.sh file]

You may need to use sudo to run mkdir.

Then install and build Legato. Then setup the target software.

See Legato documentation for full information.