[ 
https://issues.apache.org/jira/browse/MYNEWT-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15788387#comment-15788387
 ] 

Christopher Collins commented on MYNEWT-520:
--------------------------------------------

Hi Daniel,

Yes, exactly.  This change removes the requirement to allocate a second 
equally-sized image slot in flash.

Generally, a device that uses only a single image won't use the boot loader at 
all.  Instead, the binary executable just gets placed at start address, and the 
device boots directly into the image.  Doing this requires a few changes to the 
BSP flash map and linker scripts.  For quick testing, it is easier to just use 
the boot loader, which is why this change was made.

> boot - Allow incompatible image slots
> -------------------------------------
>
>                 Key: MYNEWT-520
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-520
>             Project: Mynewt
>          Issue Type: New Feature
>          Components: Bootloader
>            Reporter: Christopher Collins
>            Assignee: Christopher Collins
>             Fix For: v1_0_0_rel
>
>
> Currently, the boot loader immediately fails if the two image slots have 
> different flash characteristics (different sector count or different sector 
> sizes).
> Instead, the boot loader should only require compatible slots if a swap is 
> required.  If the two image slots are not compatible, the boot loader should 
> just boot into slot 0 unconditionally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to