Skip to content

Provide SPL support for bootcount (in the case of using falcon boot mode)

Lukasz Majewski u-boot 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest7 patches 0 repliesNew
  2. v3 posting 2/27 patches 0 repliesSuperseded
  3. v3 posting 1/27 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches0 repliesSuperseded
v15 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7bootcount: spl: Enable bootcount support in SPLcommon/spl/Kconfig drivers/Makefile+10 -02 replies
2/7bootcount: Add include guards into bootcount.h fileinclude/bootcount.h+3 -02 replies
3/7bootcount: Add function wrappers to handle bootcount increment and error checkinginclude/bootcount.h+47 -05 replies
3/7bootcount: Add function wrappers to handle bootcount increment and error checking+0 -00 replies
3/7bootcount: Add function wrappers to handle bootcount increment and error checking+0 -01 reply
3/7bootcount: Add function wrappers to handle bootcount increment and error checking+0 -01 reply
3/7bootcount: Add function wrappers to handle bootcount increment and error checking+0 -00 replies
4/7bootcount: Rewrite autoboot to use wrapper functions from bootcount.hcommon/autoboot.c+5 -182 replies
5/7bootcount: spl: Extend SPL to support bootcount incrementationcommon/spl/spl.c+3 -01 reply
6/7bootcount: display5: spl: Extend DISPLAY5 board SPL to support bootcount checkingboard/liebherr/display5/spl.c+2 -11 reply
7/7bootcount: display5: config: Enable boot count feature in the display5 boardconfigs/display5_defconfig+4 -01 reply

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchStefan RoeseTom RiniAlex Kiernan
1/7R-b R-b R-b
2/7R-b R-b R-b
3/7R-b R-b
3/7R-b R-b
3/7R-b R-b
3/7R-b R-b
3/7R-b R-b
4/7R-b R-b R-b
5/7R-b R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 0/7] Provide SPL support for bootcount (in the case of using falcon boot mode)

This patch series provides support for controlling bootcount limits in SPL. Moreover, the common code has been identified and reused in the common/autoboot.c file.
It also enables this feature on display5 board to present usage patterns.

This patch has been applied on top of u-boot/master:
SHA1 : v2018.05-rc3

Test HW: Beagle Bone Black (am335x) , Display5 (imx6q)
Travis-Ci: https://travis-ci.org/lmajewski/u-boot-dfu/builds/373639971

Lukasz Majewski (7):
bootcount: spl: Enable bootcount support in SPL
bootcount: Add include guards into bootcount.h file
bootcount: Add function wrappers to handle bootcount increment and
error checking
bootcount: Rewrite autoboot to use wrapper functions from bootcount.h
bootcount: spl: Extend SPL to support bootcount incrementation
bootcount: display5: spl: Extend DISPLAY5 board SPL to support
bootcount checking
bootcount: display5: config: Enable boot count feature in the display5
board

 board/liebherr/display5/spl.c |  3 ++-
 common/autoboot.c             | 23 +++++---------------
 common/spl/Kconfig            |  9 ++++++++
 common/spl/spl.c              |  3 +++
 configs/display5_defconfig    |  4 ++++
 drivers/Makefile              |  1 +
 include/bootcount.h           | 50 +++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 74 insertions(+), 19 deletions(-)
Signature · 1 line
2.11.0