[PATCH ipmi-fru-parser v8 00/11] Checking in the basic IPMI FRU Parser Library.

OpenBMC Patches patches at stwcx.xyz
Sun Nov 1 12:13:05 AEDT 2015


Parser has just enough intelligence to parse Chassis, Board & Product info areas. No support for multi-record in this version.
This parser is a stripped down version of the parser in the FreeIPMI distribution.

https://github.com/openbmc/ipmi-fru-parser/pull/2

Hariharasubramanian R (11):
  Checking in the basic IPMI FRU Parser Library.     Parser has just
    enough intelligence to parse Chassis, Board & Product info areas. No
    support for multi-record in this version.     This parser is a
    stripped down version of the parser in the FreeIPMI distribution.
  IPMI FRU Parser Interface.
  Added interface function to parse wirte fru data message into a
    dictionary.
  Format string change in sd_bus_message_append.
  Added interface parse_fru_area to parse a specific area and populate a
    name/value dictionary.
  Removing depency in Makefile on the systemd library.
  Internal parser functions expect the area buffer to point to location
    where     language code. Hence advance 2 bytes on the areabuf(to go
    past the fmt/version     and len fields) and pass it to the area
    specific parser routines.     Also fix bugs on offset/len
    calcuation.
  Fix format string in sd_bus_message_append to add as dictionary.    
    Store manufacturing time in ISO8601 format.
  Construct format string for sd_bus_message_append based on field type
    encoding.
  Merging IPMI FRU writer and parser.
  Include sdbus header in frup.c

 Makefile       |   30 ++
 frup.c         | 1093 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 frup.h         |   20 ++
 writefrudata.C |  564 +++++++++++++++++++++++++++++
 writefrudata.H |   53 +++
 5 files changed, 1760 insertions(+)
 create mode 100644 Makefile
 create mode 100644 frup.c
 create mode 100644 frup.h
 create mode 100644 writefrudata.C
 create mode 100644 writefrudata.H

-- 
2.6.0




More information about the openbmc mailing list