Aditi Hilbert created MYNEWT-752:
------------------------------------

             Summary: Error in setting the "permanent" flag upon confirm with 
hash during image upgrade
                 Key: MYNEWT-752
                 URL: https://issues.apache.org/jira/browse/MYNEWT-752
             Project: Mynewt
          Issue Type: Bug
            Reporter: Aditi Hilbert
            Assignee: Christopher Collins


This is an issue seen during image upgrade. When doing  a "confirm" with a 
hash, newtmgr always marks the "permanent" flag for Slot 1 image to "true", 
irrespective of which image the hash matches.

This works fine when we skip the "test" step during image upgrade and we issue 
a "confirm" with a hash of the new image in Slot 1. 

However, if we do the "test" step (when the new image is swapped into Slot 0), 
and we then do a "confirm" with a hash of the new image and reboot, the device 
marks the old image in Slot 1 as "permanent" and swaps it back to Slot 0. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to