aleksander/qmi-firmware-update v2: dms-list-stored-images on MC7430

Aleksander Morgado aleksander at aleksander.es
Wed Jan 18 13:00:44 UTC 2017


On Wed, Jan 18, 2017 at 1:21 PM, Bjørn Mork <bjorn at mork.no> wrote:
>> 2) In List Stored Images response, index of running image is given but it is
>>> "2" with only image 0 and 1 after. Maybe it is a storage index and not an
>>> index in the table of answers. Do you know that?
>>>
>>
>> Your QMI response for List Stored Images says:
>>   index_of_running_image = '2'
>> But the list of images only contains 2 items (indices 0 and 1).
>>
>> I rechecked what that value is supposed to mean, and it is the index
>> of the image in the list returned, not the storage index.
>
> well, I've consistenly seen the same issue with the MC7455 and EM7455
> modems...
>
>
>> If it were
>> the storage index, you wouldn't have seen CURRENT before the firmware
>> upgrade (as the CURRENT was index_of_running_image = '0' and your
>> storage index was 1).
>
> True. That doesn't add up.  Unless '0' has a different meaning.
> Guessing wildly again, but could this indicate a "directly uploaded
> image"?  I'm thinking about the case where you've updloaded an image
> directly to the modem partition, any not into any of the 4 slots.  Like
> you will do if you do AT!BOOTHOLD to switch into QDL mode.
>
> Just a random thought

I really believe this is a firmware bug of some sort, nothing to do with libqmi.

Could it be that whenever an image is uploaded, the
"index_of_running_image" gets the value from the "storage index", but
then after doing selections with --dms-select-stored-image the
"index_of_running_image" is again the correct one, i.e. the index from
the list reported?

-- 
Aleksander
https://aleksander.es


More information about the libqmi-devel mailing list