# Legato firmware update questions

**URL:** <https://forum.legato.io/t/legato-firmware-update-questions/4011>\
**Category:** Uncategorized\
**Created:** [January 10, 2019, 8:57am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011 "2019-01-10T08:57:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [January 10, 2019, 8:57am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/1 "2019-01-10T08:57:45Z")

</div>

Hello everyone, I have few questions regarding firmware update.

- How to check if I am using single or dual system?
- I know when I update new app with _ **.update** _ file, system enters probation period and rollback if app crashes multiple times. If I do complete system update with custom **_.spk_** file, will system also enter probation period and do a rollback if something is wrong?
- When I do this update with custom _ **.spk** _ with _ **swiflash** _ command, is system automatically marked as good, or do I need to mark it as good? Does it rollback if it’s not marked as good?
- My current firmware version is: **_SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21_** , when I do my update with mention .spk file, this version string does not change? How to affect this string so I know my firmware version is installed?

Thank you.

---

<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:** [January 10, 2019, 9:52am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/2 "2019-01-10T09:52:19Z")

</div>

1.WP76 and WP77 are using single system.  
2.if your .spk has problem in yocto during boot up, it cannot even go into legato. The module might just keep on rebooting.  
3. you can make a test and check by “legato status”.  
4. “SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21” is the modem FW where you don’t have source code to compile. You can only change yocto and legato and you can check those version by ATI8.

---

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [January 10, 2019, 10:17am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/3 "2019-01-10T10:17:17Z")

</div>

@jyijyi thank you very much for the answers. They are very helpful.  
Legato status gives me [good], but I was not sure. Just to confirm:

- If everything goes well during update with .spk file and I get that status is good there won’t be any rollbacks? I have custom app in that .spk file, what happens if it starts crashing? I will have to manually do another update?
- I’ve run _microcom /dev/ttyAT_  
_ATI ATI8 AT!MAPUART? AT!GSTATUS?_  
and I got this:

> Manufacturer: Sierra Wireless, Incorporated  
> Model: WP7607-1  
> Revision: SWI9X07Y\_02.18.05.00 000000 jenkins 2018/07/19 17:40:21  
> IMEI: something  
> IMEI SV: 5  
> FSN: something  
> +GCAP: +CGSM
> 
> ERROR  
> What am I doing wrong?  
> Sorry if these are basic questions, thank you

---

<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:** [January 10, 2019, 10:32am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/4 "2019-01-10T10:32:16Z")

</div>

For the first question, I have never tried this. But you can verify it easily by creating a .spk file which have an application that will crash the systme when starts and see if they system will back to the previous one after several reset.

For AT commands, you cannot enter them in a line.  
You need to do it one by one and each followed by “Enter” key.

---

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [January 10, 2019, 12:26pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/5 "2019-01-10T12:26:51Z")

</div>

@jyijyi I’ve tested what you mentioned earlier and it gives me following output

> Process ‘helloworld’ (PID: 1331) has exited due to signal 6 (Aborted).  
> Process ‘helloworld’ reached the fault limit (in a ‘good’ system) and will be stopped.  
> Process ‘helloworld’ in app ‘HelloWorld’ faulted: Stopping app.  
> Stopping app ‘HelloWorld’  
> Application ‘HelloWorld’ has stopped.

So it seems that it just stops the app. After reboot same happens, meaning no rollback happened, I also verified this with legato status… This means I have to implement rollback myself or is there some other solution?

---

<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:** [January 10, 2019, 1:20pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/6 "2019-01-10T13:20:24Z")

</div>

How about choose the faultaction in .adef file to be reboot?  
You can see if the system will rollback after several reboot.

---

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [January 11, 2019, 1:47pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/7 "2019-01-11T13:47:44Z")

</div>

This just broke my legato framework :D. After several reboots, ended up with Legato Framework not running, so I had to flash everything again.  
Thank you anyway.

---

<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:** [January 11, 2019, 2:33pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/8 "2019-01-11T14:33:51Z")

</div>

You can then type “legato start” and see if the system rolls back.

---

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [January 11, 2019, 2:48pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/9 "2019-01-11T14:48:34Z")

</div>

I did and I got some error, not sure now which one, but I know system didn’t roll back, that’s why I flashed new image manually.

---

<div class="post-metadata">

**Author:** ![plu](https://avatars.discourse-cdn.com/v4/letter/p/e19b73/32.png) [@plu](https://forum.legato.io/u/plu)\
**Post date:** [January 16, 2019, 8:18am UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/10 "2019-01-16T08:18:40Z")

</div>

HI @MilanVidic,  
do you need more information for this topic?  
best regards,

---

<div class="post-metadata">

**Author:** ![MilanVidic](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MilanVidic](https://forum.legato.io/u/MilanVidic)\
**Post date:** [April 17, 2019, 2:31pm UTC](https://forum.legato.io/t/legato-firmware-update-questions/4011/11 "2019-04-17T14:31:17Z")

</div>

No. Sorry for late reply. Thank you.
