You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/08/23 14:57:04 UTC
[GitHub] [mynewt-newtmgr] utzig opened a new pull request #143: [RFC] Add
basic multi-image support
utzig opened a new pull request #143: [RFC] Add basic multi-image support
URL: https://github.com/apache/mynewt-newtmgr/pull/143
This makes `image list` and `image upload` compatible with MCUBoot's `serial_boot` when working in a multi-image setting.
The image state CBOR packet and image upload were both update to carry an extra field called "image" whose number indicates which image set is being handled. If absent, image 0 is used for compatibility.
The upload command got and extra parameter `-n` (or `--image`) to set which image is being sent, eg, `newtmgr image -n1 upload <fw.img>`.
The image list command now prints "image=X slot=Y", eg:
```
Images:
image=0 slot=0
version: 1.7.0.0
bootable: false
flags:
hash: Unavailable
image=0 slot=1
version: 1.4.0.0
bootable: false
flags:
hash: Unavailable
image=1 slot=0
version: 1.8.0.0
bootable: false
flags:
hash: Unavailable
Split status: N/A (0)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services