public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/25] sandbox: Changes and improvements to support verified boot
@ 2018-11-06 22:21 Simon Glass
  2018-11-06 22:21 ` [U-Boot] [PATCH 01/25] cros_ec: Use uint instead of u8 for parameters Simon Glass
                   ` (24 more replies)
  0 siblings, 25 replies; 58+ messages in thread
From: Simon Glass @ 2018-11-06 22:21 UTC (permalink / raw)
  To: u-boot

This series compiles a number of fixes and improvement to sandbox,
cros_ec, tpm and a few other pieces. This allows U-Boot to support
Chromium OS verified boot and assist with debugging of this.


Simon Glass (25):
  cros_ec: Use uint instead of u8 for parameters
  cros_ec: Add error logging on a few commands
  cros_ec: Fail if we cannot determine the flash burst size
  cros_ec: Align uclass data to a cache boundary
  cros_ec: Add new features for events and power
  sandbox: tpm: Allow debugging of data packages
  sandbox: log: Add a category for sandbox
  sandbox: Add a function to read a host file
  sandbox: cros_ec: exynos: Drop use of cros_ec_get_error()
  sandbox: Update some drivers to work in SPL/TPL
  spl: Support bootstage, log, hash and early malloc in TPL
  spl: Correct malloc debugging in board_init_r()
  spl: lz4: Allow use of lz4 compression in SPL
  binman: Add a way to enable debugging from the build
  binman: Drop an unnecessary comma in blob handling
  binman: Set the pathname correctly for ELF files
  tpm: Export the open/close functions
  tpm: Convert to use a device parameter
  video: Update video_set_default_colors() to support invert
  efi_loader: Don't enable in SPL/TPL by default
  string: Include the config header
  misc: Update read() and write() methods to return bytes xfered
  test: sf: Add a simple SPI flash test
  sf: Add a method to obtain the block-protect setting
  mmc: Add hardware partition support

 Makefile                              |   6 +-
 arch/arm/mach-stm32mp/cpu.c           |   4 +-
 arch/sandbox/cpu/os.c                 |  44 ++-
 arch/sandbox/dts/sandbox.dts          |  15 ++
 arch/sandbox/include/asm/test.h       |   8 +
 board/gdsys/a38x/controlcenterdc.c    |   8 +-
 board/gdsys/p1022/controlcenterd-id.c |  22 +-
 board/samsung/common/board.c          |  10 +-
 board/sandbox/sandbox.c               |   9 +-
 cmd/tpm-common.c                      |   8 +-
 cmd/tpm-v1.c                          | 122 +++++++--
 cmd/tpm-v2.c                          |  78 +++++-
 cmd/tpm_test.c                        | 371 +++++++++++++-------------
 common/Kconfig                        |  35 +++
 common/Makefile                       |  10 +-
 common/cros_ec.c                      |  12 -
 common/spl/spl.c                      |   2 +-
 drivers/clk/clk_vexpress_osc.c        |   4 +-
 drivers/misc/altera_sysid.c           |   2 +-
 drivers/misc/cros_ec.c                | 370 ++++++++++++++++++++++++-
 drivers/misc/cros_ec_sandbox.c        |   2 +-
 drivers/misc/misc_sandbox.c           |   4 +-
 drivers/misc/rockchip-efuse.c         |   2 +-
 drivers/misc/stm32mp_fuse.c           |  12 +
 drivers/mmc/mmc.c                     |  46 ++++
 drivers/mtd/spi/sandbox.c             |  10 +
 drivers/mtd/spi/sf-uclass.c           |   9 +
 drivers/mtd/spi/sf_internal.h         |   3 +
 drivers/mtd/spi/sf_probe.c            |   8 +
 drivers/mtd/spi/spi_flash.c           |  12 +
 drivers/tpm/tpm_tis_lpc.c             |  50 ++--
 drivers/tpm/tpm_tis_sandbox.c         |   6 +
 drivers/video/vidconsole-uclass.c     |   2 +-
 drivers/video/video-uclass.c          |  27 +-
 include/cros_ec.h                     |  89 ++++++
 include/log.h                         |   1 +
 include/misc.h                        |   8 +-
 include/mmc.h                         |  31 +++
 include/os.h                          |  14 +
 include/spi_flash.h                   |  27 ++
 include/tpm-common.h                  |  36 ++-
 include/tpm-v1.h                      |  97 ++++---
 include/tpm-v2.h                      |  49 ++--
 include/video.h                       |   5 +-
 lib/Kconfig                           |   8 +
 lib/Makefile                          |  10 +-
 lib/string.c                          |   1 +
 lib/tpm-common.c                      |  16 +-
 lib/tpm-utils.h                       |  21 +-
 lib/tpm-v1.c                          | 136 +++++-----
 lib/tpm-v2.c                          |  60 +++--
 test/dm/sf.c                          |  55 +++-
 tools/binman/README                   |   6 +
 tools/binman/etype/blob.py            |   2 +-
 tools/binman/etype/u_boot_elf.py      |   5 +-
 55 files changed, 1520 insertions(+), 490 deletions(-)

-- 
2.19.1.930.g4563a0d9d0-goog

^ permalink raw reply	[flat|nested] 58+ messages in thread

end of thread, other threads:[~2018-11-29 17:42 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-06 22:21 [U-Boot] [PATCH 00/25] sandbox: Changes and improvements to support verified boot Simon Glass
2018-11-06 22:21 ` [U-Boot] [PATCH 01/25] cros_ec: Use uint instead of u8 for parameters Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 02/25] cros_ec: Add error logging on a few commands Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 03/25] cros_ec: Fail if we cannot determine the flash burst size Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 04/25] cros_ec: Align uclass data to a cache boundary Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 05/25] cros_ec: Add new features for events and power Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 06/25] sandbox: tpm: Allow debugging of data packages Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 07/25] sandbox: log: Add a category for sandbox Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 08/25] sandbox: Add a function to read a host file Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 09/25] sandbox: cros_ec: exynos: Drop use of cros_ec_get_error() Simon Glass
2018-11-07  2:27   ` Minkyu Kang
2018-11-22 20:20     ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 10/25] sandbox: Update some drivers to work in SPL/TPL Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 11/25] spl: Support bootstage, log, hash and early malloc in TPL Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 12/25] spl: Correct malloc debugging in board_init_r() Simon Glass
2018-11-07  6:22   ` Simon Goldschmidt
2018-11-07 17:09     ` Simon Glass
2018-11-06 22:21 ` [U-Boot] [PATCH 13/25] spl: lz4: Allow use of lz4 compression in SPL Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 14/25] binman: Add a way to enable debugging from the build Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 15/25] binman: Drop an unnecessary comma in blob handling Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 16/25] binman: Set the pathname correctly for ELF files Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 17/25] tpm: Export the open/close functions Simon Glass
2018-11-07  7:52   ` Miquel Raynal
2018-11-18 21:23     ` Simon Glass
2018-11-29 17:42       ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 18/25] tpm: Convert to use a device parameter Simon Glass
2018-11-07  7:56   ` Miquel Raynal
2018-11-06 22:21 ` [U-Boot] [PATCH 19/25] video: Update video_set_default_colors() to support invert Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 20/25] efi_loader: Don't enable in SPL/TPL by default Simon Glass
2018-11-14 13:28   ` Alexander Graf
2018-11-18 21:23     ` Simon Glass
2018-11-06 22:21 ` [U-Boot] [PATCH 21/25] string: Include the config header Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 22/25] misc: Update read() and write() methods to return bytes xfered Simon Glass
2018-11-08 11:03   ` Patrick DELAUNAY
2018-11-22 20:20     ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 23/25] test: sf: Add a simple SPI flash test Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 24/25] sf: Add a method to obtain the block-protect setting Simon Glass
2018-11-22 20:20   ` sjg at google.com
2018-11-06 22:21 ` [U-Boot] [PATCH 25/25] mmc: Add hardware partition support Simon Glass
2018-11-07  7:38   ` Faiz Abbas
2018-11-18 21:23     ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox