Skip to content

AVB: cosmetic adjustments/improvements

Igor Opaniuk u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 9 repliesIn review
  2. v17 patches 9 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7common: avb_verify: don't call mmc_switch_part for SDcommon/avb_verify.c+5 -36 replies
2/7avb: move SPDX license identifiers to the first linecmd/avb.c common/avb_verify.c include/avb_verify.h +1 more+4 -100 replies
3/7common: avb_verify: rework error/debug printscommon/avb_verify.c+18 -130 replies
4/7cmd: avb: rework printscmd/avb.c+75 -481 reply
5/7common: avb_verify: add str_avb_io_error/str_avb_slot_errorcommon/avb_verify.c include/avb_verify.h+51 -10 replies
6/7cmd: avb: rework do_avb_verify_partcmd/avb.c+17 -330 replies
7/7doc: android: avb: sync usage detailsdoc/android/avb2.rst+11 -51 reply

Reviews trailers per patch

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

PatchMattijs KorpershoekDragan Simic
1/7R-b R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-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.

Read the v2 thread

Cover letter [PATCH v2 0/7] AVB: cosmetic adjustments/improvements

This is the first patch series for incoming major
improvements for AVB implementation, that include:
- Simplify and add more context for debug/error prints where it's needed.
- Move SPDX license identifiers to the first line, so it conforms
to license placement rule.
- Use mmc_switch_part() only for eMMC.
- Rework do_avb_verify_part, take into account device lock state for setting correct androidboot.verifiedbootstate.
- Adjust AVB documentation, sync usage info with the one cmd/avb.c.

Igor Opaniuk (7):
common: avb_verify: don't call mmc_switch_part for SD
avb: move SPDX license identifiers to the first line
common: avb_verify: rework error/debug prints
cmd: avb: rework prints
common: avb_verify: add str_avb_io_error/str_avb_slot_error
cmd: avb: rework do_avb_verify_part
doc: android: avb: sync usage details

 cmd/avb.c                              | 173 +++++++++++++------------
 common/avb_verify.c                    |  89 ++++++++++---
 doc/android/avb2.rst                   |  16 ++-
 include/avb_verify.h                   |   7 +-
 test/py/tests/test_android/test_avb.py |   3 +-
 5 files changed, 178 insertions(+), 110 deletions(-)
Signature · 1 line
2.34.1