[U-Boot] [PATCH 0/11] Enhance fit_check_sign add beaglebone black vboot docs

Simon Glass sjg at chromium.org
Tue Jun 3 06:39:40 CEST 2014


The fit_check_sign tool checks that the configuration is correct, but does
not check each image within that configuration. This series adds that
feature, at least for uncompressed images.

In order to arrange this, cmd_bootm.c is split up into three files, one for
the command processing, one for the OS booting and one for the general
bootm processing. Apart from reducing the size of an over-large C file, this
makes it easier to include what is needed for host compilation. As part of
this, Android boot is enabled for sandbox in case someone wants to write
a test for it.

Several people have had difficulty getting verified boot running on their
board with the instructions available. Following on from the previous series
which enabled verified boot on the Beaglebone Black, documentation is added
with a step-by-step guide on how to get this running.

This series sits on top of the tools fixes:

http://patchwork.ozlabs.org/patch/354311/
http://patchwork.ozlabs.org/patch/354311/

This series is available at u-boot-x86.git branch 'bone'.


Simon Glass (11):
  tools: Check arguments in fit_check_sign/fit_info
  Reverse the meaning of the fit_config_verify() return code
  bootm: Split out code from cmd_bootm.c
  image: Remove the fit_load_image() property parameter
  bootm: Support android boot on sandbox
  Fix small 'case' typo in image-fit.c
  Avoid including config.h in command.h
  Allow compiling common/bootm.c on with HOSTCC
  bootm: Move decompression code into its own function
  Enhance fit_check_sign to check all images
  Add documentation for verified boot on Beaglebone Black

 common/Makefile                     |    2 +-
 common/bootm.c                      |  905 ++++++++++++++++++++++++
 common/bootm_os.c                   |  480 +++++++++++++
 common/cmd_bootm.c                  | 1337 +----------------------------------
 common/cmd_fdt.c                    |    2 +-
 common/image-fdt.c                  |    1 -
 common/image-fit.c                  |   36 +-
 common/image-sig.c                  |    4 +-
 common/image.c                      |    2 +-
 doc/uImage.FIT/beaglebone_vboot.txt |  608 ++++++++++++++++
 include/bootm.h                     |   57 ++
 include/command.h                   |    1 -
 include/configs/sandbox.h           |    1 +
 include/image.h                     |   10 +-
 tools/Makefile                      |    1 +
 tools/bootm.c                       |    1 +
 tools/fit_check_sign.c              |   17 +-
 tools/fit_info.c                    |   12 +
 tools/image-host.c                  |   12 +-
 19 files changed, 2140 insertions(+), 1349 deletions(-)
 create mode 100644 common/bootm.c
 create mode 100644 common/bootm_os.c
 create mode 100644 doc/uImage.FIT/beaglebone_vboot.txt
 create mode 100644 include/bootm.h
 create mode 100644 tools/bootm.c

-- 
1.9.1.423.g4596e3a



More information about the U-Boot mailing list