[PATCH ipmi-fru-parser v5 0/7] Checking in the basic IPMI FRU Parser Library.
OpenBMC Patches
patches at stwcx.xyz
Fri Oct 23 08:30:40 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 (7):
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.
Makefile | 20 ++
frup.c | 998 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
frup.h | 18 ++
3 files changed, 1036 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