8df7be8f | 09-Jan-2017 |
Matt Spinler <spinler@us.ibm.com> |
Create hwmon.pl
This script will create configuration files for hwmon sensors for the phosphor-hwmon daemon.
This is the first of several commits for this script.
Change-Id: Ie8f59b0c94fe9c61c454e
Create hwmon.pl
This script will create configuration files for hwmon sensors for the phosphor-hwmon daemon.
This is the first of several commits for this script.
Change-Id: Ie8f59b0c94fe9c61c454ed7dde816d7c819728fc Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
3706646a | 13-Dec-2016 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Generate LED Group YAML file from MRW
This PERL parser walks the MRW and generates the YAML file describing the LED group definition. It walks the targetInstances having LED as MRW type and creates
Generate LED Group YAML file from MRW
This PERL parser walks the MRW and generates the YAML file describing the LED group definition. It walks the targetInstances having LED as MRW type and creates groups. It also walks all the Inventory targets and creates the groups for the ones that do not have an associated LED
Fixes openbmc/openbmc#803
Change-Id: Ib73358c6e028059ec9a2d92ebcc0b4d5aed4cfb7 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
show more ...
|
eff6a199 | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add cores to the inventory
Change-Id: Ic600bfd95eba76744c99ccdc1c1300983a748212 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
306e4d1d | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Fixup the inventory instance numbering
1) Remove the '-' from before the instance number. 2) Remove the instance number completely if there's only one instance of that segment present.
Change-Id
Fixup the inventory instance numbering
1) Remove the '-' from before the instance number. 2) Remove the instance number completely if there's only one instance of that segment present.
Change-Id: If970799bb2e6c8a834be2df44d6a9fb86e026b39 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
cf32382d | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Rename some inventory path segments based on type
Certain segments have standard naming, like one with a type of NODE will always be called chassis.
Change-Id: I30eee555aeae010715000a6f521300793908
Rename some inventory path segments based on type
Certain segments have standard naming, like one with a type of NODE will always be called chassis.
Change-Id: I30eee555aeae010715000a6f521300793908e78c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
f0942d1a | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove non-FRU card segments from Inventory path.
If a card in the middle of the name hierarchy isn't a FRU, we can remove it.
For example, motherboard/non-fru-card/fru-card will be motherboard/fru
Remove non-FRU card segments from Inventory path.
If a card in the middle of the name hierarchy isn't a FRU, we can remove it.
For example, motherboard/non-fru-card/fru-card will be motherboard/fru-card.
Change-Id: Idf7348401f787c7ce2a58270b50c117714899a85 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
8fd594c0 | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove module card segment from the inventory path
The MRW doesn't plug a processor directly on the motherboard, there is an intermediate module card present instead. We don't need that intermediat
Remove module card segment from the inventory path
The MRW doesn't plug a processor directly on the motherboard, there is an intermediate module card present instead. We don't need that intermediate card so shorten motherboard/cpu-module/cpu to motherboard-cpu.
Change-Id: Iaf5b617f32dbf3df25de99a3be6103f961e90c1b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
c119a903 | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove connector segments from inventory name
Change-Id: I79e57b84c18cffc4f29de2d98aae0aa26c3d5b23 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
fe75964b | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove cards from inventory when part of a module
Cards, even if listed as FRUs, aren't need in the inventory separately when they have a child chip, like a CPU or GPU, that is also in the inventory
Remove cards from inventory when part of a module
Cards, even if listed as FRUs, aren't need in the inventory separately when they have a child chip, like a CPU or GPU, that is also in the inventory.
So, don't need motherboard/cpu-module-card when we have motherboard/cpu-module-card/cpu
Change-Id: Ia0445eee38b379685bf78cd2f0cbf68307071d1e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
39a033bd | 21-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add targets from the MRW to the inventory array
Uses rules to determine which targets to choose.
Change-Id: I3d2d4567e88236c2d83dfa08dc5548dc06b87ccb Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
bfd10b10 | 09-Dec-2016 |
Matt Spinler <spinler@us.ibm.com> |
Create Inventory.pm MRW Perl Module.
This module is for retrieving the OpenBMC inventory items from the MRW.
This first commit mostly just contains the documentation.
Change-Id: Icdd2b0faf7c76f8d9
Create Inventory.pm MRW Perl Module.
This module is for retrieving the OpenBMC inventory items from the MRW.
This first commit mostly just contains the documentation.
Change-Id: Icdd2b0faf7c76f8d9b87f37e93e7a726cd1262de Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
2efdcba7 | 08-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add pinctrl support to devtree generator
Adds 2 pin controller properties to certain device tree nodes if specified in the MRW.
Change-Id: I637e0471524ec806db3e3c9120e29c43dcff4abe Signed-off-by: M
Add pinctrl support to devtree generator
Adds 2 pin controller properties to certain device tree nodes if specified in the MRW.
Change-Id: I637e0471524ec806db3e3c9120e29c43dcff4abe Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
18d5f576 | 15-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
Remove findConnections() workaround
Moved the ability to find connections from any child target generation into the Targets.pm module so it's common to all Targets users.
Change-Id: I0a8c7e66e09d63
Remove findConnections() workaround
Moved the ability to find connections from any child target generation into the Targets.pm module so it's common to all Targets users.
Change-Id: I0a8c7e66e09d63855dc217d7d007f5ca61912578 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
eca7f06f | 07-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
Fix compatible field for LEDs
Change-Id: I367618c10cde7854863537872a9317c5a82a1b45 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
c0dff8a6 | 02-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add host flash section to devtree generator
Only supports the AST2500 SPI layout so far.
Change-Id: I52ba12e375517702e55259b6e6b2e4f87aea76d3 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
340e7cf7 | 01-Nov-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add BMC flash section to device tree documentation
Change-Id: Id8b0f0baeec23808566810d490ffb535102ce54e Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
25d60bb1 | 31-Oct-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add BMC flash chip support to devtree generator
Change-Id: I3eb6ccd303dc6f2ee43afeed846d38cd6be1a5db Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
7b48acdb | 11-Oct-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add device tree generation section to MRW documentation.
Added a section on what's required in the MRW in order to generate the BMC device tree from it.
Change-Id: I6c6aef7e23aca582c18c0bf883f13abe
Add device tree generation section to MRW documentation.
Added a section on what's required in the MRW in order to generate the BMC device tree from it.
Change-Id: I6c6aef7e23aca582c18c0bf883f13abe1caebfda Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
30b461c4 | 10-Oct-2016 |
Matt Spinler <spinler@us.ibm.com> |
Get certain attributes from a YAML config file.
Code implementation specific values will now be stored in a .yaml config file to keep it out of the hardware specific XML. This includes header file
Get certain attributes from a YAML config file.
Code implementation specific values will now be stored in a .yaml config file to keep it out of the hardware specific XML. This includes header file names, memory ranges, and the chosen and alias nodes.
Also removed the SPI support for now. That info will just come from an include file until the new device driver is pulled in that requires a new binding, and then it will be rewritten.
Cleaned up a few other minor things as well.
Change-Id: I100d2cb735c8c907067e0b18c6f6eda6b665e1cd Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
74909138 | 07-Oct-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add I2C nodes to device tree generation.
Also ensured global variable attributes were filled in, and renamed STANDALONE_PROPERTY to ZERO_LENGTH property.
Change-Id: Ie7435349b8e07b4644da02403bcfbc5
Add I2C nodes to device tree generation.
Also ensured global variable attributes were filled in, and renamed STANDALONE_PROPERTY to ZERO_LENGTH property.
Change-Id: Ie7435349b8e07b4644da02403bcfbc5d64baa48c Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
23d47c23 | 04-Oct-2016 |
Matt Spinler <spinler@us.ibm.com> |
3rd phase of generating device tree from the MRW.
Added the aliases node, and fix some other minor issues.
Change-Id: I6bf8785bc1144022adfb858fd98787d80b26003a Signed-off-by: Matt Spinler <spinler@
3rd phase of generating device tree from the MRW.
Added the aliases node, and fix some other minor issues.
Change-Id: I6bf8785bc1144022adfb858fd98787d80b26003a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
995f2a20 | 30-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
2nd stage of generating device tree from MRW.
Adds in UART, SPI, and LED nodes.
Change-Id: I8047c2d81e09151a3941c58f68fd30b4f1e2fa36 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
7d381e15 | 27-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
First stage of generating BMC device tree from the MRW.
This new script will generate a dts device tree syntax file from the machine readable workbook XML.
So far just a partial device tree is gene
First stage of generating BMC device tree from the MRW.
This new script will generate a dts device tree syntax file from the machine readable workbook XML.
So far just a partial device tree is generated. A future commit will finish the rest.
Change-Id: I09f76ebe1554146b83dab6dd6a633b562535b541 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
9596f9a9 | 30-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
Adjust motherboard and memory buffer fru_types.
IPMI code is hardcoded to look for MAIN_PLANAR and MEMORY_BUFFER, so make sure it can find them.
Resolves openbmc/openbmc#604.
Change-Id: I9b1b3bfa9
Adjust motherboard and memory buffer fru_types.
IPMI code is hardcoded to look for MAIN_PLANAR and MEMORY_BUFFER, so make sure it can find them.
Resolves openbmc/openbmc#604.
Change-Id: I9b1b3bfa98bfd0a72f7f29c147b45f5b699272e2 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
1e388121 | 22-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
Add 'bios' and 'misc' inventory items
Add these because even though they don't represent physical items, other code currently needs them to store information in.
Resolves openbmc/openbmc#594.
Chan
Add 'bios' and 'misc' inventory items
Add these because even though they don't represent physical items, other code currently needs them to store information in.
Resolves openbmc/openbmc#594.
Change-Id: I45ce980f12fa6e859bdd0800702f7adaadda80c8 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|