<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 18, 2017 at 10:26 PM, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Could you please check at!impref? and<br>
qmicli -d /dev/cdc-wdm0 --dms-list-stored-images<br>
before trying out the “qmi-firmware-update" tool?<br>
<br></blockquote><div><br></div><div>I used on EM7455 with the original firmware 02.08.02.00, and used the qmi-firmware-update to upgrade to 02.20.03.00. It seems to work well (I liked the progress graphics, big bonus).</div><div><br></div><div>Only thing I noted that I had to give it a reboot before I was able to get the QMI communication up and working, please see the complete log below. </div><div><br></div><div>I could give another MC7455 a run with verbose printouts, if interested?</div><div><br></div><div>-Sebastian</div><div><br></div><div><div>root@mserver116:/opt/test# lsusb</div><div>Bus 002 Device 004: ID 1199:9071 Sierra Wireless, Inc. </div><div>Bus 002 Device 002: ID 04b4:6570 Cypress Semiconductor Corp. </div><div>Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub</div><div>root@mserver116:/opt/test# echo raw,'ati' | nc localhost 8080</div><div>ati</div><div>Manufacturer: Sierra Wireless, Incorporated</div><div>Model: EM7455</div><div>Revision: SWI9X30C_02.08.02.00 r5428 CARMD-EV-FRMWR2 2016/01/06 20:38:53</div><div>MEID: 35432407003043</div><div>IMEI: 354324070030438</div><div>IMEI SV: 4</div><div>FSN: LF533510920410</div><div>+GCAP: +CGSM</div><div>OK</div><div>root@mserver116:/opt/test# echo raw,'at!impref?' | nc localhost 8080</div><div>at!impref?</div><div>!IMPREF:</div><div>preferred fw version: 02.08.02.00</div><div>preferred carrier name: GENERIC</div><div>preferred config name: GENERIC_002.007_000</div><div>current fw version: 02.08.02.00</div><div>current carrier name: GENERIC</div><div>current config name: GENERIC_002.007_000</div><div>OK</div><div>root@mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images</div><div>[/dev/cdc-wdm0] Device list of stored images retrieved:</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[0] Type: 'modem'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> Maximum: '4'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>>>>>>>>>>> [CURRENT] <<<<<<<<<<</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[modem0]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '?_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.08.02.00_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Storage index: '1'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Failure count: '0'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[modem1]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '?_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.20.03.00_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Storage index: '2'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Failure count: '0'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[1] Type: 'pri'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> Maximum: '50'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>>>>>>>>>>> [CURRENT] <<<<<<<<<<</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[pri0]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '002.007_000'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.08.02.00_GENERIC'</div><div><br></div><div>root@mserver116:/opt/test# qmi-firmware-update --update -d 1199:9071 SWI9X30C_02.20.03.00.cwe SWI9X30C_02.20.03.00_GENERIC_002.017_000.nvu</div><div>loading device information before the update...</div><div>setting firmware preference:</div><div> firmware version: '02.20.03.00'</div><div> config version: '002.017_000'</div><div> carrier: 'GENERIC'</div><div>rebooting in download mode...</div><div>download mode detected</div><div>downloading cwe image: SWI9X30C_02.20.03.00.cwe (64.4 MB)...</div><div>finalizing download... (may take more than one minute, be patient)</div><div>successfully downloaded in 57.23s (1.1 MB/s)</div><div>downloading cwe image: SWI9X30C_02.20.03.00_GENERIC_002.017_000.nvu (3.1 kB)...</div><div>finalizing download... (may take more than one minute, be patient)</div><div>successfully downloaded in 0.06s (54.9 kB/s)</div><div>rebooting in normal mode...</div><div>normal mode detected</div><div><br></div><div>------------------------------------------------------------------------</div><div> NOTE: in order to validate which is the firmware running in the</div><div> module, the program will wait for a complete boot; this process</div><div> may take some time and several retries.</div><div>------------------------------------------------------------------------</div><div><br></div><div>waiting some time for the device to boot...</div><div>loading device information after the update (1/12)...</div><div>waiting some time for the device to boot...</div><div>loading device information after the update (2/12)...</div><div><br></div><div>------------------------------------------------------------------------</div><div><br></div><div> original firmware revision was:</div><div> SWI9X30C_02.08.02.00 r5428 CARMD-EV-FRMWR2 2016/01/06 20:38:53</div><div> image 'modem': unique id '002.007_000', build id '02.08.02.00_GENERIC'</div><div> image 'pri': unique id '002.007_000', build id '02.08.02.00_GENERIC'</div><div><br></div><div> new firmware revision is:</div><div> SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05</div><div> image 'modem': unique id '002.017_000', build id '02.20.03.00_GENERIC'</div><div> image 'pri': unique id '002.017_000', build id '02.20.03.00_GENERIC'</div><div><br></div><div> NOTE: this device supports stored image management</div><div> with qmicli operations:</div><div> --dms-list-stored-images</div><div> --dms-select-stored-image</div><div> --dms-delete-stored-image</div><div><br></div><div> NOTE: this device supports firmware preference management</div><div> with qmicli operations:</div><div> --dms-get-firmware-preference</div><div> --dms-set-firmware-preference</div><div><br></div><div>------------------------------------------------------------------------</div><div><br></div><div>firmware update operation finished successfully</div><div>root@mserver116:/opt/test# echo raw,'at!impref?' | nc localhost 8080</div><div>at!impref?</div><div>!IMPREF:</div><div>preferred fw version: 02.20.03.00</div><div>preferred carrier name: GENERIC</div><div>preferred config name: GENERIC_002.017_000</div><div>current fw version: 02.20.03.00</div><div>current carrier name: GENERIC</div><div>current config name: GENERIC_002.017_000</div><div>OK</div><div>root@mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images</div><div>error: couldn't create client for the 'dms' service: CID allocation failed in the CTL client: Transaction timed out</div><div>root@mserver116:/opt/test# echo raw,'at!reset' | nc localhost 8080</div><div>at!reset</div><div>OK</div><div>root@mserver116:/opt/test# qmicli -d /dev/cdc-wdm0 --dms-list-stored-images</div><div>[/dev/cdc-wdm0] Device list of stored images retrieved:</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[0] Type: 'modem'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> Maximum: '4'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[modem0]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '?_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.08.02.00_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Storage index: '1'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Failure count: '0'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[modem1]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '?_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.20.03.00_?'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Storage index: '2'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Failure count: '0'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[1] Type: 'pri'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span> Maximum: '50'</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>>>>>>>>>>> [CURRENT] <<<<<<<<<<</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>[pri0]</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Unique ID: '002.017_000'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Build ID: '02.20.03.00_GENERIC'</div><div><br></div><div><div>root@mserver116:/opt/test# echo raw,'ati' | nc localhost 8080</div><div>ati</div><div>Manufacturer: Sierra Wireless, Incorporated</div><div>Model: EM7455</div><div>Revision: SWI9X30C_02.20.03.00 r6691 CARMD-EV-FRMWR2 2016/06/30 10:54:05</div><div>MEID: 35432407003043</div><div>IMEI: 354324070030438</div><div>IMEI SV: 6</div><div>FSN: LF533510920410</div><div>+GCAP: +CGSM</div><div>OK</div><div>root@mserver116:/opt/test#</div></div></div><div><br></div><div><br></div><div><br></div></div>
</div></div>