mcuboot multi-image, but only one image to update #2405
              
                Unanswered
              
          
                  
                    
                      mastupristi
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
On a Cortex M7 MCU I use mcuboot 2.2.0, configured to support 2 images (no dependency between them).
When only mcuboot is on flash, and the remaining part is blank, it write:
Then I prepare an image using:
...and I write the signed image into slot_1-image_0. I would have expected an attempt to update image 0 (copy from slot 1 to slot 0), but instead this happens:
slot_1-image_0 has a valid
magicand the detected swap type istest, so why shouldn't the copy start?Then I tried to populate slot_1-image_1 as well (using another signed image). With both images to be updated, the updates (copies from slot_1 to slot_0) take place
So does mcuboot require that all the images it manages must be populated? Or am I doing something wrong? How can I make mcuboot accept empty image_1?
best regards
Max
Beta Was this translation helpful? Give feedback.
All reactions