[PATCH ipmi-fru-parser v6 0/8] Checking in the basic IPMI FRU Parser Library.

OpenBMC Patches patches at stwcx.xyz
Sat Oct 24 09:23: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 (8):
  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.

 Makefile |   20 ++
 frup.c   | 1021 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 frup.h   |   18 ++
 3 files changed, 1059 insertions(+)
 create mode 100644 Makefile
 create mode 100644 frup.c
 create mode 100644 frup.h

-- 
2.6.0




More information about the openbmc mailing list