[PATCH 00/22] Various fixes and enhancements

Simon Glass sjg at chromium.org
Tue Jul 6 00:32:38 CEST 2021


This series includes a number of fixes and enhancements related to
enabling verified boot on Chromium OS:

- bloblist support for resizing and a few minor fixes
- iteration through block devices
- a few cros_ec improvements
- sandbox SDL2 fixes and support for launching the VPL executable
- minor test and dm fixes
- show boot error when SPL fails to find next phase

It is based on the VPL series:

   http://patchwork.ozlabs.org/project/uboot/list/?series=242761


Simon Glass (22):
  dm: core: Add logging for DM_SEQ_ALIAS
  dm: Support lzma in the flashmap
  test: Allow CONFIG_SPL_LOAD_FIT to be disabled
  test: Add DM_DMA to be disabled
  test: Avoid a build error with SPL
  Makefile: Avoid rebuilding .dtb files each time
  sandbox: Support executables for more phases
  sandbox: Add work-around for SDL2 display
  sandbox: Use hinting with the display
  sandbox: Adjust the bloblist default address
  cros_ec: Allow reading the battery-charge state
  cros_ec: Drop cros_ec_entering_mode()
  cros_ec: Support the full-size vboot context
  cros_ec: Use standard calls for recovery-request checking
  bloblist: Support resizing a blob
  bloblist: Tidy up a few API comments
  bloblist: Correct condition in bloblist_addrec()
  image: Allow @ in node names when not using signatures
  spl: Provide more information on boot failure
  sandbox: mmc: Support fixed MMC devices
  blk: Support iteration
  log: Allow padding of the function name

 arch/sandbox/cpu/os.c          |  63 +++++-----
 arch/sandbox/cpu/sdl.c         |  26 +++-
 arch/sandbox/cpu/spl.c         |  18 ++-
 arch/sandbox/dts/test.dts      |   1 +
 arch/sandbox/include/asm/spl.h |  13 ++
 common/Kconfig                 |  10 +-
 common/bloblist.c              |  73 ++++++++++-
 common/image-fit.c             |   2 +-
 common/log_console.c           |   2 +-
 common/spl/Kconfig             |  10 ++
 common/spl/spl.c               |  48 +++++---
 doc/arch/sandbox.rst           |   2 +-
 drivers/block/blk-uclass.c     |  49 ++++++++
 drivers/core/device.c          |   4 +-
 drivers/core/of_extra.c        |   2 +
 drivers/misc/cros_ec.c         |  28 +++--
 drivers/misc/cros_ec_sandbox.c |  29 +++--
 drivers/mmc/sandbox_mmc.c      |  24 +++-
 include/blk.h                  |  56 +++++++++
 include/bloblist.h             |  23 +++-
 include/cros_ec.h              |  17 ++-
 include/os.h                   |   5 +-
 include/spl.h                  |  33 +++++
 scripts/Makefile.lib           |   2 +-
 test/Makefile                  |   2 +
 test/bloblist.c                | 215 +++++++++++++++++++++++++++++++++
 test/dm/blk.c                  |  55 +++++++++
 test/dm/core.c                 |   2 +
 test/image/spl_load.c          |   6 +-
 test/log/log_test.c            |  16 +--
 test/test-main.c               |   2 +-
 31 files changed, 724 insertions(+), 114 deletions(-)

-- 
2.32.0.93.g670b81a890-goog



More information about the U-Boot mailing list