History log of /openbmc/openpower-vpd-parser/test/meson.build (Results 1 – 13 of 13)
Revision Date Author Comments
# 468e8c5b 29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I611ecba901a43acbcca19b93a4dcd9578b570bd8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# dc3c3c30 07-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

subprojects: nlohmann,cli11: add wraps and configure

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iccc5be03b2428969ff8a51f24820e81faafcdcbf


# abe481e1 07-Sep-2023 Patrick Williams <patrick@stwcx.xyz>

subprojects: libgpiod: add wrap and configure

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I60ecdd3c2d28b11844407141922215ce658c4d8b


# 6555e7ef 14-Feb-2023 jinuthomas <jinu.joy.thomas@in.ibm.com>

Adding ISDIMM support

Added ISDIMM support for Bonnell machine

Change-Id: Ifdb2fc9e2d38267c8eb6cd5848d30102ab48efd1
Signed-off-by: jinuthomas <jinu.joy.thomas@in.ibm.com>


# 6a1bd39b 02-Jun-2021 Sunny Srivastava <sunnsr25@in.ibm.com>

Single FRU VPD collection

This commit implements a Dbus Api to collect VPD of a given FRU
by launching the parser exe asynchronously.

The caller is supposed to update Present property for that FRU

Single FRU VPD collection

This commit implements a Dbus Api to collect VPD of a given FRU
by launching the parser exe asynchronously.

The caller is supposed to update Present property for that FRU
as false on Dbus before calling this Api and need to listen for
Present property change signal to mark the collection of VPD
complete for the FRU.

One of the use case for this api is to collect VPD for FRU
undergoing concurrent maintenance.

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

show more ...


# a4a2adfa 03-Feb-2022 Priyanga Ramasamy <priyanga24@in.ibm.com>

VPD ECC shared library

This commit makes the VPD ECC source into a shared library
and links the shared library with other executables which
are dependant on VPD ECC.

Since the ECC source file is co

VPD ECC shared library

This commit makes the VPD ECC source into a shared library
and links the shared library with other executables which
are dependant on VPD ECC.

Since the ECC source file is confidential, we need to share the
ECC as a shared library to the IBM Power customers.

Test:
Tested on simics:
1. Corrupted the vpd data.
root@p10bmc:/usr/lib# dd if=/dev/zero of=/sys/bus/i2c/drivers/at24/7-0050/eeprom bs=1 count=2 seek=184
2+0 records in
2+0 records out

root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
ERROR: ECC check did not pass for the Record:VINI

2. VPD Parser parsed successfully for a valid vpd
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
<no error>

3.ECC Code worked fine with VPD-Manager
root@p10bmc:/usr/lib# vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VINI -K PN -V "PN34"
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom
root@p10bmc:/usr/lib#
root@p10bmc:/usr/lib#
root@p10bmc:/usr/lib# vpd-tool -w -O /system/chassis/motherboard/base_op_panel_blyth -R VINI -K PN -V "PN12"
root@p10bmc:/usr/lib# ibm-read-vpd --file /sys/bus/i2c/drivers/at24/7-0050/eeprom

Signed-off-by: Priyanga Ramasamy <priyanga24@in.ibm.com>
Change-Id: I72306b06ca8724193ef5ef05a0659467994a154d

show more ...


# 735dee9b 25-Mar-2022 Alpana Kumari <alpankum@in.ibm.com>

Move preAction postAction to Util

This commit moves preAction and postFailAction to ibm_read_util,
as we need them as common utility functions, to use it in vpd manager.

Signed-off-by: Alpana Kuma

Move preAction postAction to Util

This commit moves preAction and postFailAction to ibm_read_util,
as we need them as common utility functions, to use it in vpd manager.

Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
Change-Id: Iaade31143b8f114a9adec82a5c4d6ae4e9e2a2d5

show more ...


# f3953763 14-Jun-2021 Andrew Jeffery <andrew@aj.id.au>

meson: Add googletest as a subproject

Allow the tests to build without requiring a system-wide installation of
googletest.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Ch

meson: Add googletest as a subproject

Allow the tests to build without requiring a system-wide installation of
googletest.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Iaf685cd1886672a435ba66c4aae3a0772b714dd5

show more ...


# 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 ...


# e12b181b 26-May-2020 SunnySrivastava1984 <sunnsr25@in.ibm.com>

Interface & Factory implementation for VPD Parsers

This commit abstracts the implementation logic of different parser.
A parser factory is implemented to provide instance of required

Interface & Factory implementation for VPD Parsers

This commit abstracts the implementation logic of different parser.
A parser factory is implemented to provide instance of required
parser based on the type of vpd file needed to be parsed.

The interface should be derived to implement any further parser logic
related to vpd.

Status: This does not add any new function, so basic testing of
VPD parsing, VPD tool and writes was performed.

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

show more ...


# a0d460e2 03-Jun-2020 SunnySrivastava1984 <sunnsr25@in.ibm.com>

Test cases for VPD-Manager editor functionalities

Implementation of test cases for editor functionalities provided
by VPD-Manager app.

Signed-off-by: Sunny Srivastava <sunnsr25@

Test cases for VPD-Manager editor functionalities

Implementation of test cases for editor functionalities provided
by VPD-Manager app.

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

show more ...


# 97f8df0e 30-May-2020 SunnySrivastava1984 <sunnsr25@in.ibm.com>

Test cases for VPD-Manager read functionalities

Implementation of test cases for read functionalities provided
by VPD-Manager app.

Signed-off-by: Sunny Srivastava <sunnsr25@in.i

Test cases for VPD-Manager read functionalities

Implementation of test cases for read functionalities provided
by VPD-Manager app.

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

show more ...


# 7ef54422 03-Dec-2019 SunnySrivastava1984 <sunnsr25@in.ibm.com>

Enable Meson option to build parser and test cases

Meson script to build parser and test cases.
It will replace the use of auto tools to
build the code.

- Steps to build

Enable Meson option to build parser and test cases

Meson script to build parser and test cases.
It will replace the use of auto tools to
build the code.

- Steps to build
In the directory, where you have meson.build file
execute the following commands.

meson -Doption=value builddir
<This will create a builddir>

ninja -C builddir
<Creates EXE>

ninja -C builddir test
<Executes unit tests>

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

show more ...