[2/2] incubator-mynewt-core git commit: boot loader - Update design doc.

2016-12-06 Thread ccollins
boot loader - Update design doc. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/bd9cb1c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/bd9cb1c3 Diff:

[2/2] incubator-mynewt-core git commit: Boot loader update

2016-10-20 Thread ccollins
Boot loader update 1. Increase copy magic number from 4 bytes to 16. 2. Ensure magic, status, and swap state get written sequentially within a sector. 3. Standardize on the flash_map API (flash_area_open(), etc.). Previously, we were using both the flash map API and direct HAL flash

[1/2] incubator-mynewt-core git commit: Boot loader update

2016-10-20 Thread ccollins
Repository: incubator-mynewt-core Updated Branches: refs/heads/develop dbb78037e -> f855c453f http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/f855c453/boot/bootutil/test/src/testcases/boot_test_nv_ns_01.c --

incubator-mynewt-core git commit: Boot loader update

2016-10-16 Thread ccollins
Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 231691369 -> 8416e2cbf Boot loader update 1. Increase max number of status entries We weren't budgeting enough space for the swap status. We were allowing for 48 swap operations (32 * 4 / 3). The nrf52dk, for example,