History log of /openbmc/openpower-vpd-parser/writefru.mako.hpp (Results 1 – 12 of 12)
Revision Date Author Comments
# 6c71c9dc 15-Apr-2021 Sunny Srivastava <sunnsr25@in.ibm.com>

Segregate utility methods

This commit segregates utility methods required commonly by both
openpower-read-vpd and ibm-read-vpd from methods only required by
ibm-read-vpd.
All dep

Segregate utility methods

This commit segregates utility methods required commonly by both
openpower-read-vpd and ibm-read-vpd from methods only required by
ibm-read-vpd.
All dependency required by utility methods specific to ibm-read-vpd
is not applicable to utility methods required by openpower-read-vpd.

Hence to avoid un-necessary dependency inclusion, this change is
introduced.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I95f2be27dc0c391a45beb1654a99506317aaa52b

show more ...


# 640004f1 29-Jan-2021 Alexander Filippov <a.filippov@yadro.com>

Fix build for hardware with one ethernet interface

We have a custom `writefru.yaml` without ETHERNET1 node
as our hardware has only one ethernet interface.
And this leads to a failur

Fix build for hardware with one ethernet interface

We have a custom `writefru.yaml` without ETHERNET1 node
as our hardware has only one ethernet interface.
And this leads to a failure during the build.

This commit prevents a warning about unused arguments which interprets
as an error.

Change-Id: If4925a46ff33db5504ce7fd45bc36b0da30c44e6
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>

show more ...


# 3d7b4fe1 02-Apr-2020 Santosh Puranik <santosh.puranik@in.ibm.com>

Move to python3

This commit moves configure.ac and python scripts to
python3

Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Iaa03dffe15903fbd68c35444

Move to python3

This commit moves configure.ac and python scripts to
python3

Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com>
Change-Id: Iaa03dffe15903fbd68c354442823903cc3bb3ad2

show more ...


# 675ee7e4 19-Feb-2020 Artem Senichev <a.senichev@yadro.com>

Fix undefined reference error

If the yaml file doesn't contain one of BMC/ETHERNET/ETHERNET1
description, build fails with undefined reference error.
For instance, missed ETHERNET1:

Fix undefined reference error

If the yaml file doesn't contain one of BMC/ETHERNET/ETHERNET1
description, build fails with undefined reference error.
For instance, missed ETHERNET1:
write.cpp:54: undefined reference to
`void openpower::vpd::inventory::writeFru<(openpower::vpd::Fru)2>

The patch adds default implementation for function writeFru().

Resolves
https://github.com/openbmc/openpower-vpd-parser/issues/1

Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: Ibf6c649ca504c2c0e9e3a0d8fefd54375777193d

show more ...


# b29fb688 25-Oct-2017 Gunnar Mills <gmills@us.ibm.com>

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Spelling fixes

Spelling errors found using github.com/lucasdemarchi/codespell
A tool to fix common misspellings.
This tool is licensed under GNU General Public License, version 2.

Change-Id: Ifc618929a9f79ba2cfc7241a89daabe0ad296650
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>

show more ...


# c74ca6c9 20-Aug-2017 Marri Devender Rao <devenrao@in.ibm.com>

Modify mako script to generate code for empty interfaces

Empty interfaces are added for inventory objects to determine
the type of the object

Change-Id: I4b08e50a2ee45a3156012c0

Modify mako script to generate code for empty interfaces

Empty interfaces are added for inventory objects to determine
the type of the object

Change-Id: I4b08e50a2ee45a3156012c0ef6b3ff53bd06c644
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>

show more ...


# db12d763 11-Sep-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

vpd source: enable choosing one of many keywords

Invert the property,keyword map. For example, change MACAddress: VINI,B1
to VINI,B1: MACAddress. Change the mako template to handle this.

vpd source: enable choosing one of many keywords

Invert the property,keyword map. For example, change MACAddress: VINI,B1
to VINI,B1: MACAddress. Change the mako template to handle this.

This will allow us to pick VPD information from one of many
record/keyword combinations that can source an individual property.

Change-Id: I9785652addb88388751fd9f031f8e96e6d7d9df1
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...


# 0cc20121 21-Feb-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory: merge vpd and additional properties

A FRU may have to implement an interface, whose properties may be
provided by vpd alone, MRW alone, or a combination of both. Handle the

inventory: merge vpd and additional properties

A FRU may have to implement an interface, whose properties may be
provided by vpd alone, MRW alone, or a combination of both. Handle the
latter case.

Change-Id: Ie8aec0069548f52bb576b358bce022e681fa951f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...


# 128512b2 17-Feb-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory: update extra properties

Change-Id: I23abf88d877ef1bceb312121fb5e1e5d91a068ad
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>


# 76794495 16-Feb-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

refactor: move types and utils in their own files

Change-Id: I477dd69f0c6c648b63171dc2db264d3e70dafaf4
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>


# 4cf89a10 06-Feb-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory : invoke inventory manager's Notify()

Make a call to the inventory manager to construct inventory objects for
OpenPOWER FRUs.

Change-Id: I41988a9299a0509d3120bee1b79fd

inventory : invoke inventory manager's Notify()

Make a call to the inventory manager to construct inventory objects for
OpenPOWER FRUs.

Change-Id: I41988a9299a0509d3120bee1b79fd3aa8176a76c
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...


# 8457f821 29-Nov-2016 Deepak Kodihalli <dkodihal@in.ibm.com>

inventory: write YAML parser

Write python-based parser for writefru.yaml. The parser generates
writefru.hpp, which would have code to write to the inventory-manager
the FRU VPD infor

inventory: write YAML parser

Write python-based parser for writefru.yaml. The parser generates
writefru.hpp, which would have code to write to the inventory-manager
the FRU VPD information, as described in writefru.yaml.

Change-Id: I91776f808ef720e96c1b6fbd17e5f1edb93ea8f8
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>

show more ...