[Skiboot] [PATCH 0/4] Correctly read (sub)partitions from flash

Stewart Smith stewart at linux.vnet.ibm.com
Tue Oct 25 18:14:58 AEDT 2016


A re-imagining of Claudio's patchset that seems to fix all possible
combinations of signed/unsigned and get the correct measurements to
the TPM (if present and enabled).

Claudio Carvalho (1):
  libstb/container: add function for getting sw payload size

Stewart Smith (3):
  core/flash: Move subpartition locating logic out into own file, add
    tests
  core/flash-subpartition: compute partition size from subpartition
    struct
  flash: rework flash_load_resource to correctly read FFS/STB

 core/Makefile.inc                  |   1 +
 core/flash-subpartition.c          | 120 ++++++++++++++
 core/flash.c                       | 314 ++++++++++++++++++-------------------
 core/test/Makefile.check           |   1 +
 core/test/run-flash-subpartition.c |  59 +++++++
 include/skiboot.h                  |   6 +-
 libstb/container.c                 |  10 ++
 libstb/container.h                 |   1 +
 8 files changed, 348 insertions(+), 164 deletions(-)
 create mode 100644 core/flash-subpartition.c
 create mode 100644 core/test/run-flash-subpartition.c

-- 
2.1.4



More information about the Skiboot mailing list