9f3e1c1e | 19-Feb-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
gen_fru_properties.pl : fetch FRU properties
FRU management code can, via this script and by providing an input config file, extract static FRU properties from the system MRW and have the same outpu
gen_fru_properties.pl : fetch FRU properties
FRU management code can, via this script and by providing an input config file, extract static FRU properties from the system MRW and have the same output in YAML format.
Change-Id: I9ce76272d517f9309a87fe400ae6b65b9fcc2118 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
3c784b66 | 15-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
Inventory.pm: Point chassis at the motherboard
Give the chassis MRW target the same inventory name as the motherboard. Requested by the FRU management code.
For multi-chassis systems, this will pr
Inventory.pm: Point chassis at the motherboard
Give the chassis MRW target the same inventory name as the motherboard. Requested by the FRU management code.
For multi-chassis systems, this will probably need to be revisited.
Change-Id: I3bbfe552a31e5a3aa3059c7ff2b6c8a3e414eb7a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
d92101d5 | 15-Feb-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
Inventory: Implementing the association of objects.
This script will look at the associated types in the config file and make the association.
Change-Id: I25bafb1308bbcb1febc2c24d8154643a1f154cdb S
Inventory: Implementing the association of objects.
This script will look at the associated types in the config file and make the association.
Change-Id: I25bafb1308bbcb1febc2c24d8154643a1f154cdb Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
5cb5f4e9 | 31-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Update top of file comments
Change-Id: I06c52fc64f5866e4f816f2bc056709bd8b03938d Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
41dcb62e | 31-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Reorder some nodes
No functional difference, just easier to diff to the version in the linux source tree.
Change-Id: I8dca594eb2b005e00922ac9f217d77722ef16dd8 Signed-off-by: Matt Spinl
gen_devtree: Reorder some nodes
No functional difference, just easier to diff to the version in the linux source tree.
Change-Id: I8dca594eb2b005e00922ac9f217d77722ef16dd8 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
9ac5cbe3 | 31-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Add two wrapper functions
Added statusOK() and addRegProp().
Change-Id: I64bd7c666b6b7f79774e0839af365e46bf2ce198 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
908e182b | 31-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Add LPC and mailbox nodes
Change-Id: I5a819de05702c6dd06d931a0821ab73a2497c55c Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
6d39125c | 31-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Add reserved-memory node
Add the reserved-memory node to define the memory region the PNOR maps into if the host SPI flash LPC mailbox is enabled.
Change-Id: Ic7c0b42fdd6d03cb7816dbdab
gen_devtree: Add reserved-memory node
Add the reserved-memory node to define the memory region the PNOR maps into if the host SPI flash LPC mailbox is enabled.
Change-Id: Ic7c0b42fdd6d03cb7816dbdab6da8e7fbcc5a725 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
e2bf4396 | 30-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Switch to mrw::Util::getBMCTarget
Change-Id: Ibae7102dadb48ae78630e37c27b1873ece098a81 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
28fb1a91 | 30-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Add alias support to 'chosen' section
Allows an alias to to specified in the 'chosen' section of the config yaml by using (alias).
Change-Id: Ib580a7ae113ce47359ecaeb454ad099b3993ea0c
gen_devtree: Add alias support to 'chosen' section
Allows an alias to to specified in the 'chosen' section of the config yaml by using (alias).
Change-Id: Ib580a7ae113ce47359ecaeb454ad099b3993ea0c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
889343f1 | 30-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Enable perl warnings
Change-Id: I2a4652d3c70e6b716104b8aae1fbddf7d826bebd Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
0eda4884 | 30-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: The PNOR node needs a label property
Change-Id: Ia21e56c47b51a732bd3c7c31b9a5e2b3e497534c Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
96f8f24b | 28-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
gen_devtree: Move flash nodes outside of root node.
Change-Id: Ibfa5402a0f6b4e63a0d24494e75347e56b6958f7 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
30d400d9 | 07-Feb-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
gen_openpower_fru.pl : install this script
Change-Id: I91c0a96fb3c4fc0ab073174950f717ec76362aba Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> |
6225e93d | 07-Feb-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
gen_openpower_fru.pl : Fetch inventory paths
In preparation for the openpower-vpd-parser recipe, this script will, from an input openpower vpd-config YAML file, determine which inventory objects we'
gen_openpower_fru.pl : Fetch inventory paths
In preparation for the openpower-vpd-parser recipe, this script will, from an input openpower vpd-config YAML file, determine which inventory objects we're interested in, and will fetch from the MRW pathnames these objects should have.
The script will output a file in a format that can serve as an environment file for a systemd service, which in turn will launch the openpower-vpd-parser application with this information.
Change-Id: I7c4fa70af002f63bd5501093802c1d41bd503e88 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
e3e0b720 | 08-Feb-2017 |
Matt Spinler <spinler@us.ibm.com> |
hwmon.pl remove hwmon entries with no name
It turns out that the MRW XML may have empty HWMON units, in which case we don't want to show them since they wouldn't have a label anyway.
Change-Id: If2
hwmon.pl remove hwmon entries with no name
It turns out that the MRW XML may have empty HWMON units, in which case we don't want to show them since they wouldn't have a label anyway.
Change-Id: If253de98caf4e493ec8112618dc97b43ae911733 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
036ab93a | 30-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add gen_ipmi_fru.pl
Install this script.
Change-Id: Iaf43b9ef4ef6a6735665f181f209fabb5d47b0db Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
550075b1 | 30-Jan-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
ipmi-fru-parser: Use YAML::TINY
YAML::XS is not required and not available.
Change-Id: Ia0250c08ff72dfc067291719183833fdb4204d03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
847b1407 | 27-Jan-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
gen_ipmi_fru.pl: remove example input and output
Change-Id: Ie3aa1e6fa3476c2ed2df32ed5c2c7ce784ddd6b1 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
26cc055b | 16-Jan-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
gen_ipmi_fru.pl : retrieve children of FRUs
For IPMI FRUs, figure out if they have children (non-FRU) that are of interest, and if yes, generate metadata for those children.
Change-Id: Iecc54dd3963
gen_ipmi_fru.pl : retrieve children of FRUs
For IPMI FRUs, figure out if they have children (non-FRU) that are of interest, and if yes, generate metadata for those children.
Change-Id: Iecc54dd39633f869b2210de83df9cb3292ab483a Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
a149ba10 | 16-Jan-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
gen_ipmi_fru.pl: construct FRU metadata
For IPMI FRUs, generate a file to depict which dbus properties are implemented for a FRU, and what IPMI FRU properties those dbus properties map to.
This com
gen_ipmi_fru.pl: construct FRU metadata
For IPMI FRUs, generate a file to depict which dbus properties are implemented for a FRU, and what IPMI FRU properties those dbus properties map to.
This commit defines a YAML file which helps figure out the supported dbus inteface/properties for a FRU, and what the corresponding IPMI FRU properties are.
Change-Id: I26de1aa26e3a74fd8cc95bb0d479d9b036eb5683 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
fa70dc9d | 16-Jan-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
gen_ipmi_fru.pl : Fetch FRU information from MRW
This commit serves as a building block since the script can now just print certain attributes (see output example below) for FRU elements defined in
gen_ipmi_fru.pl : Fetch FRU information from MRW
This commit serves as a building block since the script can now just print certain attributes (see output example below) for FRU elements defined in the MRW.
Typically, FRUs of interest to IPMI will have a non-zero FRU id defined.
Output example: FRUID => 1, FRUType => SYS, ObjectPath => /system FRUID => 2, FRUType => NODE, ObjectPath => /system/chassis
Change-Id: I3f27f905b2a366277e8a6120142c3fb136a44ad5 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
854e26a3 | 17-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
Introduce Build.PL to manage module installation
Start using Perl's Module::Build functionality to install scripts and modules.
Change-Id: Ia89bf968cbf09faec49c424c3b3f2f91465a6b41 Signed-off-by: M
Introduce Build.PL to manage module installation
Start using Perl's Module::Build functionality to install scripts and modules.
Change-Id: Ia89bf968cbf09faec49c424c3b3f2f91465a6b41 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
268ec618 | 09-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
Create conf files for the hwmon sensors
Change-Id: I2f0981f4c3fe5bb8a79a8afcb63a5592d35692c1 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
c79b21f4 | 09-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
Get I2C and hwmon attributes for hwmon entries
Find attributes in the MRW needed for the conf files.
Change-Id: I26754faa0ca66f265c054f44d36149041e06e458 Signed-off-by: Matt Spinler <spinler@us.ibm
Get I2C and hwmon attributes for hwmon entries
Find attributes in the MRW needed for the conf files.
Change-Id: I26754faa0ca66f265c054f44d36149041e06e458 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|