Fwupdate target tool in legato 19.02 issue

#1

Dear all,

We have a strange problem after installing the legato 19.02 system. (We have used fwupdate download from an old version)

After the install checkStatus is OK for some time/reboots but after shortly it goes to (not clear why):
root@swi-mdm9x15:~# fwupdate checkStatus
Connecting to service …
Bad status (Unknown����)̾08��), install not possible.

What is strage that after that fwupdate only recognizes absoulte paths even it is in a “good” state.
start downloading: "fwupdate download /home/root/newSys.cwe "
Can’t open file … : “fwupdate newSys.cwe” (in the directory)

But anyway it seems to not working right even if it tries to install the image.

What I have noticed that something has changed with the links from 19.01 to 19.02:
19.01 --> /legato/systems/current/bin/fwupdate
19.02 --> /legato/systems/current/appsWriteable/tools/bin/fwupdate

Does anybod have any idea?

Best,
tom

0 Likes

#2

UPDATE.
After legato 19.02 install, rebooting the device with “reboot” command does not reproduce the issue, But after power reset it will appear.

logread

Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | supervisor[669]/supervisor T=main | proc.c proc_Start() 1390 | Starting process 'fwupdate@0' with pid 1430
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | supervisor[1430]/supervisor T=main | proc.c proc_Start() 1355 | Execing 'bin/fwupdate'
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | fwupdateDaemon[971]/le_pa_fwupdate T=main | pa_fwupdate_qmi.c GetFwUpdateStatus() 1826 | FW update result: 0xffffffff
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | fwupdateDaemon[971]/le_pa_fwupdate T=main | pa_fwupdate_qmi.c GetFwUpdateStatus() 1845 | Image type: None
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | fwupdateDaemon[971]/le_pa_fwupdate T=main | pa_fwupdate_qmi.c GetFwUpdateStatus() 1859 | Reference data: None
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | fwupdateDaemon[971]/le_pa_fwupdate T=main | pa_fwupdate_qmi.c GetFwUpdateStatus() 1875 | Reference id: 
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | fwupdateDaemon[971]/le_pa_fwupdate T=main | pa_fwupdate_qmi.c pa_fwupdate_GetUpdateStatus() 2011 | FW update status: Unknown, FW update result: 0xffffffff
Jan  6 00:02:16 swi-mdm9x15 user.info Legato:  INFO | supervisor[669]/supervisor T=main | proc.c proc_SigChildHandler() 2051 | Process 'fwupdate@0' (PID: 1430) has exited with exit code 1.
Jan  6 00:02:17 swi-mdm9x15 user.warn Legato: -WRN- | supervisor[669]/supervisor T=main | app.c app_SigChildHandler() 4015 | Process 'fwupdate@0' in app 'tools' faulted: Ignored.
Jan  6 00:02:17 swi-mdm9x15 user.info Legato:  INFO | supervisor[669]/supervisor T=main | app.c app_StopComplete() 4686 | app 'tools' has stopped.
Jan  6 00:02:17 swi-mdm9x15 user.info Legato:  INFO | supervisor[669]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'tools' has stopped.
0 Likes

#3

Apparently it is not just this version but other version are also effected. We have also tried with different module. (WP85, WP7607) I am not sure if we should be worried about this…I guess the only option is to look into the source code.

0 Likes