[riot-commits] [RIOT-OS/RIOT] 8f2217: riotboot_slot: add second slot compatibility

Emmanuel Baccelli emmanuelsearch at users.noreply.github.com
Tue Jan 15 19:04:31 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 8f22175af365701078821865180b521f6d7d2024
      https://github.com/RIOT-OS/RIOT/commit/8f22175af365701078821865180b521f6d7d2024
  Author: Francisco Acosta <f.acosta.ext at kugu-home.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M sys/riotboot/Makefile
    M sys/riotboot/slot.c

  Log Message:
  -----------
  riotboot_slot: add second slot compatibility

When a second slot is defined, the "partition table"
gets a second field which represents the starting of
the second slot, at a defined offset.


  Commit: ec24ea49b19b501cef3cde1e84dd53ed358db7a9
      https://github.com/RIOT-OS/RIOT/commit/ec24ea49b19b501cef3cde1e84dd53ed358db7a9
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M bootloaders/riotboot/main.c
    M makefiles/boot/riotboot.mk

  Log Message:
  -----------
  riotboot: add support for multislot

riotboot looks for valid, available slots and compares its
version. The slot with the highest version is booted, otherwise
if no valid slot is found it loops on `while(1);`


  Commit: 8a0a0be42602f39db2db13d9e61524dda2fa6e73
      https://github.com/RIOT-OS/RIOT/commit/8a0a0be42602f39db2db13d9e61524dda2fa6e73
  Author: Francisco Acosta <f.acosta.ext at kugu-home.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M makefiles/boot/riotboot.mk

  Log Message:
  -----------
  riotboot: allow to overwrite slot 1

By erasing slot 1 header the slot gets invalidated.
This is very useful while debugging, since we can
force the bootloader to ignore anything on that
slot.


  Commit: e8660b2012694e31023e271d358397b0870ff2ad
      https://github.com/RIOT-OS/RIOT/commit/e8660b2012694e31023e271d358397b0870ff2ad
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2019-01-02 (Wed, 02 Jan 2019)

  Changed paths:
    M cpu/cortexm_common/Makefile.include

  Log Message:
  -----------
  cpu/cortex_common: add support for multislot

A second slot is defined with a calculated size, from the
remaining flash after the bootloader and the first slot.
Both slots are defined as equal size, but it can be overriden.


  Commit: 8e5ac629e0203cd2da047e56eb29c29fc083a63a
      https://github.com/RIOT-OS/RIOT/commit/8e5ac629e0203cd2da047e56eb29c29fc083a63a
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2019-01-14 (Mon, 14 Jan 2019)

  Changed paths:
    M tests/riotboot/tests/01-run.py

  Log Message:
  -----------
  tests/riotboot: extend to accept slot 0 or 1

Modify the test to accept slot values 0 and 1.


  Commit: d8f64a36e46af80aff174b34d69f13a2e55a3ab4
      https://github.com/RIOT-OS/RIOT/commit/d8f64a36e46af80aff174b34d69f13a2e55a3ab4
  Author: Emmanuel Baccelli <emmanuel.baccelli at inria.fr>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M bootloaders/riotboot/README.md

  Log Message:
  -----------
  bootloaders/riotboot: updated documentation on multislot


  Commit: 209d90bc00458501ae710148d3cf0e1b59faff8b
      https://github.com/RIOT-OS/RIOT/commit/209d90bc00458501ae710148d3cf0e1b59faff8b
  Author: Emmanuel Baccelli <emmanuelsearch at users.noreply.github.com>
  Date:   2019-01-15 (Tue, 15 Jan 2019)

  Changed paths:
    M bootloaders/riotboot/README.md
    M bootloaders/riotboot/main.c
    M cpu/cortexm_common/Makefile.include
    M makefiles/boot/riotboot.mk
    M sys/riotboot/Makefile
    M sys/riotboot/slot.c
    M tests/riotboot/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #10215 from kYc0o/pr/riotboot_multislot

riotboot: add multislot support


Compare: https://github.com/RIOT-OS/RIOT/compare/4e4e6f8793d5...209d90bc0045
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list