[PATCH 0/6] Miscellaneous FWU fixes

Sughosh Ganu sughosh.ganu at linaro.org
Fri Aug 30 13:40:51 CEST 2024


The following set of patches are miscellaneous fixes and some
hardening of the FWU update logic.

Sughosh Ganu (6):
  fwu: v2: perform some checks before reading metadata
  fwu: v2: try reading both copies of metadata
  fwu: v1: do a version check for the metadata
  fwu: check all images for transitioning out of Trial State
  fwu: add dependency checks for selecting FWU metadata version
  fwu: do not allow capsule processing on exceeding Trial Counter
    threshold

 include/fwu.h            | 11 ++++++
 lib/fwu_updates/Kconfig  |  1 +
 lib/fwu_updates/fwu.c    | 31 +++++++++++++++-
 lib/fwu_updates/fwu_v1.c | 18 +++++++--
 lib/fwu_updates/fwu_v2.c | 80 ++++++++++++++++++++++------------------
 5 files changed, 99 insertions(+), 42 deletions(-)

-- 
2.34.1




More information about the U-Boot mailing list