Skip to content

Various bugfixes related to verified boot

Simon Glass u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18buildman: Update default config to build for sandboxtools/buildman/bsettings.py+1 -01 reply
2/18buildman: Fix up cfgutiltools/buildman/cfgutil.py+2 -20 replies
3/18binman: Correct Chromium OS entry typestools/binman/btool/futility.py tools/binman/etype/vblock.py+3 -30 replies
4/18errno: Avoid including strings in SPLinclude/errno.h+1 -10 replies
5/18abuf: Correct a corner case with abuf_realloc()lib/abuf.c test/lib/abuf.c+32 -10 replies
6/18fdt: Correct condition for SEPARATE_BSSlib/fdtdec.c+1 -10 replies
7/18fdt: sandbox: Avoid looking for an appended device treelib/fdtdec.c+3 -00 replies
8/18lzma: Tidy up the function prototypelib/lzma/LzmaTools.c lib/lzma/LzmaTools.h+17 -40 replies
9/18cbfs: Add some more definititionsinclude/cbfs.h+43 -00 replies
10/18cros_ec: Complete the comment for cros_ec_read_batt_charge()include/cros_ec.h+1 -00 replies
11/18spi: Avoid checking console in SPLdrivers/mtd/spi/spi-nor-core.c+1 -10 replies
12/18disk: Correct the conditions for SPLdisk/Makefile+5 -50 replies
13/18Add a default for TPL_TEXT_BASEcommon/spl/Kconfig+1 -00 replies
14/18Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURElib/crypto/Kconfig+1 -03 replies
15/18stdint: Add a definition of UINT8_MAXinclude/stdint.h+7 -00 replies
16/18dm: core: Add a required struct declarationinclude/dm/device-internal.h+1 -00 replies
17/18dm: core: Tidy up comments in uclass headersinclude/dm/uclass-internal.h include/dm/uclass.h+15 -160 replies
18/18dm: blk: Expand iteration and add testsdrivers/block/blk-uclass.c include/blk.h test/dm/blk.c+180 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/18] Various bugfixes related to verified boot

This series collects together various misc patches that were needed when building mainline U-Boot against Chromium OS verified boot. Most of them fix minor bugs.

Simon Glass (18):
buildman: Update default config to build for sandbox
buildman: Fix up cfgutil
binman: Correct Chromium OS entry types
errno: Avoid including strings in SPL
abuf: Correct a corner case with abuf_realloc()
fdt: Correct condition for SEPARATE_BSS
fdt: sandbox: Avoid looking for an appended device tree
lzma: Tidy up the function prototype
cbfs: Add some more definititions
cros_ec: Complete the comment for cros_ec_read_batt_charge()
spi: Avoid checking console in SPL
disk: Correct the conditions for SPL
Add a default for TPL_TEXT_BASE
Make ASYMMETRIC_KEY_TYPE depend on FIT_SIGNATURE
stdint: Add a definition of UINT8_MAX
dm: core: Add a required struct declaration
dm: core: Tidy up comments in uclass headers
dm: blk: Expand iteration and add tests

 common/spl/Kconfig             |   1 +
 disk/Makefile                  |  10 +--
 drivers/block/blk-uclass.c     |  24 +++++++
 drivers/mtd/spi/spi-nor-core.c |   2 +-
 include/blk.h                  |  45 +++++++++++++
 include/cbfs.h                 |  43 +++++++++++++
 include/cros_ec.h              |   1 +
 include/dm/device-internal.h   |   1 +
 include/dm/uclass-internal.h   |  18 +++---
 include/dm/uclass.h            |  13 ++--
 include/errno.h                |   2 +-
 include/stdint.h               |   7 +++
 lib/abuf.c                     |   4 +-
 lib/crypto/Kconfig             |   1 +
 lib/fdtdec.c                   |   5 +-
 lib/lzma/LzmaTools.c           |   4 +-
 lib/lzma/LzmaTools.h           |  17 ++++-
 test/dm/blk.c                  | 111 +++++++++++++++++++++++++++++++++
 test/lib/abuf.c                |  29 +++++++++
 tools/binman/btool/futility.py |   4 +-
 tools/binman/etype/vblock.py   |   2 +-
 tools/buildman/bsettings.py    |   1 +
 tools/buildman/cfgutil.py      |   4 +-
 23 files changed, 315 insertions(+), 34 deletions(-)
Signature · 1 line
2.35.1.574.g5d30c73bfb-goog