Skip to content

Calculate image hashes with watchdog triggering

Bartlomiej Sieka u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 of 2 patches 0 repliesNew
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/2Use watchdog-aware functions when calculating hashes of imagescommon/image.c include/image.h lib_generic/crc32.c +2 more+32 -361 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot-Users] [PATCH v3 0/2] Calculate image hashes with watchdog triggering

Hash calculation of an image can be a time consuming operation, with the possibility of making the hardware watchdog (if present/enabled) expire in the middle. Make image hash calculation use use watchdog-aware functions.
---
v3 of the patchset, rebased against current TOT (commit 04a5b03d), dropped one patch already applied and added a patch changing crc32_wd prototype.

Bartlomiej Sieka (2):
Use watchdog-aware functions when calculating hashes of images
crc32: use uint32_t rather than unsigned long in watchdog-aware variant

 common/image.c      |   42 ++++++++----------------------------------
 include/image.h     |   17 +++++++++++++++--
 lib_generic/crc32.c |    4 +++-
 lib_generic/md5.c   |    4 ++++
 lib_generic/sha1.c  |    4 ++++
 5 files changed, 34 insertions(+), 37 deletions(-)