440d84d4 | 19-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
scripts: remove unused gen_pimrules.py
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib6fccba3d892c49818161077437542559f1220ae |
545a5d33 | 19-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
scripts: accept absolute paths to YAML
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I94044f096db64e6152bf4e7cd3bff7159e1cc85a |
35f2c90d | 05-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
python: fix flake8 warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I19379f25f64c64ec45f363de4af11e21ba0e0df2 |
c5c1737c | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: I5e068068ef3faa2
black: re-format
black and isort are enabled in the openbmc-build-scripts on Python files to have a consistent formatting. Re-run the formatter on the whole repository.
Change-Id: I5e068068ef3faa2f2c77bc1726b134eb6268dcfb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
2de07e9d | 08-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML files to have consistent formatting for these file types. Re-run the formatter on the whole repository.
Change-Id: I4e8e80d3e90345e107038546c485510b565ac636 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
0968237b | 03-Apr-2020 |
Patrick Williams <patrick@stwcx.xyz> |
scripts: convert to python3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5ac0c1ac6f5420ec9763419223e651c3f887afe6 |
25fbd433 | 07-Aug-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
gen_pimrules: Update the Boot Progress Sensor
The boot progress sensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. (Reference: the phosphor-ipmi-sensor-inventor
gen_pimrules: Update the Boot Progress Sensor
The boot progress sensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. (Reference: the phosphor-ipmi-sensor-inventory%/config.yaml files under the openbmc/openbmc repository).
Update gen_pimrules with the correct sensor path and value.
Tested: Verified Witherspoon powered on to the Host OS.
Change-Id: I76df4e84176d05804e98e98703796af57d8f9b05 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
c19c054c | 04-Feb-2018 |
Ratan Gupta <ratagupt@in.ibm.com> |
Inventory:- Make changes in the mako and the C++ structure
This change lies in the Write Fru Data command processing. As fru yaml would be having extra properties like entityID,entityInstance,So cha
Inventory:- Make changes in the mako and the C++ structure
This change lies in the Write Fru Data command processing. As fru yaml would be having extra properties like entityID,entityInstance,So changes were needed to make the change in the corresponding c++ structure.
Change-Id: If23bb12563cdef34438746e2d6a8be7f54b7486d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|
9606ba3e | 21-Aug-2017 |
Marri Devender Rao <devenrao@in.ibm.com> |
Modify mako script to generate code for empty interfaces
Allow generating code for empty interfaces in the FRU map. Empty interfaces are used to determine the type of the inventory object.
Change-I
Modify mako script to generate code for empty interfaces
Allow generating code for empty interfaces in the FRU map. Empty interfaces are used to determine the type of the inventory object.
Change-Id: I945998627b88bc68374b631d1b14328cd611cb39 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
show more ...
|
aeb726df | 01-Jun-2017 |
Patrick Williams <patrick@stwcx.xyz> |
fru_gen: reduce map in generated data
Eliminate one level of the generated "frus" map by creating a structure for the lowest-level member.
This should reduce the impact of a gcc bug that consumes e
fru_gen: reduce map in generated data
Eliminate one level of the generated "frus" map by creating a structure for the lowest-level member.
This should reduce the impact of a gcc bug that consumes excessive memory when compiling the generated map. Also removed the runtime calculation of the 'delimiter' character and instead generated it in the fru_gen python script.
Resolves openbmc/openbmc#1441. Resolves openbmc/openbmc#1166.
Change-Id: Iafe049d034354d58b68d357b4f49fd5e21b2c8c7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
5098b039 | 01-Jun-2017 |
Patrick Williams <patrick@stwcx.xyz> |
fru_gen: fixes for python3
The iter{keys,items} functions have become just 'keys' and 'items' in python3. Python2 also has keys and items, which is slightly less efficient for iteration but none of
fru_gen: fixes for python3
The iter{keys,items} functions have become just 'keys' and 'items' in python3. Python2 also has keys and items, which is slightly less efficient for iteration but none of these maps are large enough to be of concern.
Change-Id: If6e8f36ad39074e0a6c022fb09e3a43b0928af19 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
cc103c45 | 28-Jan-2017 |
Brad Bishop <bradleyb@us.ibm.com> |
Add gen_pimrules script
Add a script for generating PIM rules.
Change-Id: I9de54785938fcbf8de3a1ac8f42fa37a52f99d2c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |
be051072 | 20-Feb-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
inventory: enable updating extra properties
While the IPMI FRU parser, in order to update inventory, receives most properties from the host IPMI, there could be some properties whose values could be
inventory: enable updating extra properties
While the IPMI FRU parser, in order to update inventory, receives most properties from the host IPMI, there could be some properties whose values could be provided by other sources, such as the Machine Readable Workbook.
Provide a mechanism to enable the above by having the extra property information and values supplied via a YAML file, via which code is generated, which in turn can be used by the parser to update inventory.
Change-Id: I30a2a9129d97485a0c31c3dec0155d5e1a008101 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
6eed4032 | 10-Feb-2017 |
Ratan Gupta <ratagupt@in.ibm.com> |
Create the generated FRU Map in cpp.
Change-Id: Id83220e5e2876f4112ba76d698b2062e2a08dd3d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com> |
3d0ce84b | 07-Feb-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
fru_gen: Handle empty yaml files
Allow the build to work in the event of an empty YAML file.
Change-Id: I3d36b57852446959aeb836ab69958c16387c02fc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel
fru_gen: Handle empty yaml files
Allow the build to work in the event of an empty YAML file.
Change-Id: I3d36b57852446959aeb836ab69958c16387c02fc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
0f2e7fe1 | 22-Dec-2016 |
Ratan Gupta <ratagupt@in.ibm.com> |
Add IPMI FRU parser code generator.
Add a script that generates c++ structures based on system dependent configuration.
Change-Id: I3a005b2dd31d7db3137bed9be6df2a0658c48d82 Signed-off-by: Ratan Gup
Add IPMI FRU parser code generator.
Add a script that generates c++ structures based on system dependent configuration.
Change-Id: I3a005b2dd31d7db3137bed9be6df2a0658c48d82 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
show more ...
|