PelionIoT / mbl-core

Mbed Linux OS (mbl) core source code repository - Mbed Linux OS has been deprecated as a product in the Pelion portfolio. It is still available in the Github repos (with all documentation), but will remain frozen at version 0.10.
https://os.mbed.com/docs/mbed-linux-os/latest
Other
11 stars 4 forks source link

MBL version is not reported correctly in Pelion Cloud #46

Closed jjohnson-arm closed 5 years ago

jjohnson-arm commented 5 years ago

Description

There are certain instances when the Pelion Cloud will not report the correct version of MBL:

  1. When you have flashed a disk image to your device.
  2. When you use the command line tool (mbl-firmware-update-manager) to install a new root-fs.
  3. Application versioning is not reported to the cloud.

If you use the Pelion Cloud update service to flash a root-fs to the board, the version will be captured correctly, and subsequent updates of the root-fs will also be displayed.

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug
ciarmcom commented 5 years ago

Internal Jira reference: https://jira.arm.com/browse/MBLTRIAGE-5

jonathanhaigh-arm commented 5 years ago

As far as Pelion is concerned, the "version" of the software on a device is a timestamp indicating when the firmware update manifest that was last used to update the device was created.

Firmware update manifests aren't used for mbl-cli updates or the initial flashing of a device but when the Pelion cloud asks for information about the software is we can still respond with data containing a timestamp, so: