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: http://git-wip-u
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
reads
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
--
d
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, re