[PATCH V2 0/4] Support for BMC platform versions

Sam Mendoza-Jonas sam at mendozajonas.com
Fri Jan 15 15:14:53 AEDT 2016


This is an iteration of the previous series "Support for BMC platform
versions and attributes". It includes several improvements to the base
libflash logic and version parsing, however the addition of attribute
handling has been postponed pending further information.

The major changes are
- Use of ffs_next_side() to check for redundant sections of flash.
- Update to handle 'keep_alive' changes to arch_flash_init().
- Update the format of platform versions in nc-sysinfo

Samuel Mendoza-Jonas (4):
  Add --enable-mtd configure option
  lib: Add CCAN headers for endian helpers
  lib/flash: Add support for platform versions
  Display VERSION partition info on BMC machines

 configure.ac                               |  15 ++
 discover/Makefile.am                       |  14 ++
 discover/hostboot.c                        |  26 +++
 discover/hostboot.h                        |  15 ++
 discover/platform-powerpc.c                |  10 +
 lib/Makefile.am                            |  19 +-
 lib/ccan/endian/.depends                   |   0
 lib/ccan/endian/LICENSE                    |  28 +++
 lib/ccan/endian/_info                      |  55 +++++
 lib/ccan/endian/endian.h                   | 346 +++++++++++++++++++++++++++++
 lib/ccan/endian/test/compile_ok-constant.c |  12 +
 lib/ccan/endian/test/run.c                 | 109 +++++++++
 lib/flash/config.h                         |  19 ++
 lib/flash/flash.c                          | 213 ++++++++++++++++++
 lib/flash/flash.h                          |  23 ++
 lib/pb-protocol/pb-protocol.c              |  39 ++++
 lib/types/types.h                          |   4 +
 ui/ncurses/nc-sysinfo.c                    |  16 ++
 18 files changed, 962 insertions(+), 1 deletion(-)
 create mode 100644 discover/hostboot.c
 create mode 100644 discover/hostboot.h
 create mode 100644 lib/ccan/endian/.depends
 create mode 100644 lib/ccan/endian/LICENSE
 create mode 100644 lib/ccan/endian/_info
 create mode 100644 lib/ccan/endian/endian.h
 create mode 100644 lib/ccan/endian/test/compile_ok-constant.c
 create mode 100644 lib/ccan/endian/test/run.c
 create mode 100644 lib/flash/config.h
 create mode 100644 lib/flash/flash.c
 create mode 100644 lib/flash/flash.h

-- 
2.7.0



More information about the Petitboot mailing list