#
d8c6f5a3 |
| 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: Ieb4226b16132640
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: Ieb4226b161326404ccd8c14abfef5ea5bc442fba Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
75fe8cc4 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
python: reformat using black
Code cannot currently be submitted to this repo because it fails in the unit-test phase. Attempt to reformat the code using `black` to hopefully make pycodestyle happie
python: reformat using black
Code cannot currently be submitted to this repo because it fails in the unit-test phase. Attempt to reformat the code using `black` to hopefully make pycodestyle happier.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I17aa506471ceade224bcab5b2fa0dc8cd7a88c0a
show more ...
|
#
3e0eb911 |
| 08-Aug-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
configs: Remove BootCountSensor The BootCountSensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. Remove it as it's deprecated. Tested: V
configs: Remove BootCountSensor The BootCountSensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. Remove it as it's deprecated. Tested: Verified that the "AttemptsLeft" host property where the BootSensor value now resides had the default value of 3 and was decremented when the Host didn't boot. Then on a successful boot this value was set back to 3. As a confirmation note that the BootCount sensor was no longer used, it never changed values. Change-Id: I4627c73774c42bec0046eb4d229a001cef32291b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
13e17c52 |
| 08-Aug-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
configs: Remove the OperatingSystemStatus sensor The Operating System Status sensor has moved from /org/openbmc/sensors to /xyz/openbmc_project/state/host0. Remove the sensor from th
configs: Remove the OperatingSystemStatus sensor The Operating System Status sensor has moved from /org/openbmc/sensors to /xyz/openbmc_project/state/host0. Remove the sensor from the org path. Tested: Powered on a witherspoon to the Host OS. Change-Id: I02d50d0a38485833fd73579c5aec41fd157141d0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
49f8a6f9 |
| 07-Aug-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
configs: Remove BootProgressSensor The boot progress sensor has moved from the /org/openbmc/sensors path to /xyz/openbmc_project/state/host0. (Reference: the phosphor-ipmi-sensor-inv
configs: Remove BootProgressSensor 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). Remove the deprecated sensor from the configs. Tested: Verified Witherspoon powered on to the Host OS and that the BootProgress property in the state manager path got updated to xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart. Change-Id: Ibe1393899135c7877d731afe27689ca707068a21 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
c9b43986 |
| 08-Aug-2018 |
Matt Spinler <spinler@us.ibm.com> |
Remove the GPIOs from Palmetto.py They are now obtained from a JSON file. Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
#
aa0ef2fe |
| 30-Jun-2017 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove all HWMON_CONFIGs and sensors The xyz sensor namespace is fully functional. Remove legacy HWMON_CONFIGs and association sensor references. Change-Id: I71ce7627e
configs: Remove all HWMON_CONFIGs and sensors The xyz sensor namespace is fully functional. Remove legacy HWMON_CONFIGs and association sensor references. Change-Id: I71ce7627e72d23f3729690260103e925e4d11329 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
d4bca7bd |
| 05-Mar-2017 |
Joel Stanley <joel@jms.id.au> |
configs: don't use old sysfs path for i2c devices The Machine.py files in skeleton hard code the sysfs path to the devices. The hardcoded paths use the old i2c-adapter directory which is
configs: don't use old sysfs path for i2c devices The Machine.py files in skeleton hard code the sysfs path to the devices. The hardcoded paths use the old i2c-adapter directory which is only around for old userspace. From the Kconfig help text: Say Y here if you intend to run lm-sensors 3.1.1 or older, or any other user-space package which expects i2c adapters to be class devices. If you don't know, say Y. Symbol: I2C_COMPAT [=y] Type : boolean Prompt: Enable compatibility bits for old user-space Instead use /sys/bus/i2c/devices. Fixes openbmc/openbmc#1252 Change-Id: Iaa9ef96e150084d9a605d5cab8053ddc910cfeaf Signed-off-by: Joel Stanley <joel@jms.id.au>
show more ...
|
#
75a18a23 |
| 21-Nov-2016 |
Lei YU <mine260309@gmail.com> |
GPIO abstraction for power and host control In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstra
GPIO abstraction for power and host control In libopenbmc_intf/power_gpio.c there are GPIO abstractions for power related GPIOs. Host control related GPIOs need to do the same abstraction. The changes include: 1. Add host control related GPIOs in gpio_configs and update system_manager.py 2. Update control_host_obj.c to use the abstracted GPIOs 3. Update GPIO_CONFIGS for all machines and add host control related GPIOs power_gpio will be renamed to gpio_configs in next commit; Resolves openbmc/openbmc#814 Change-Id: I7832065d495d7d64c5df2f5b177005b97e68900a Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
0475f65f |
| 25-Oct-2016 |
Yi Li <adamliyi@msn.com> |
op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION state When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14). Th
op-pwrctl: Hold PCI resets until BootProgress passes BASE_INITIALIZATION state When powering on host, hold PCI resets until hostboot passes stage "BASE_INITIALIZATION"(0x14). This fix applies to Firestone and Garrison. Partially resolves openbmc/openbmc#315 Change-Id: Ic71c81406ac188b34df89569e2264ea0b94406f3 Signed-off-by: Yi Li <adamliyi@msn.com>
show more ...
|
#
25a2243e |
| 13-Oct-2016 |
Lei YU <mine260309@gmail.com> |
Add hwmon0 config in Palmetto.py and Barreleye.py Both Palmetto.py and Barreleye are missing hwmon0 in HWMON_CONFIG, which results in `Unhandled hwmon` warning log flood. Add hwmon0'
Add hwmon0 config in Palmetto.py and Barreleye.py Both Palmetto.py and Barreleye are missing hwmon0 in HWMON_CONFIG, which results in `Unhandled hwmon` warning log flood. Add hwmon0's config (i2c 0-0068 for RTC ds3231's temperature) to fix the issue. Resolves openbmc/openbmc#608 Change-Id: Ief6a13e2cec64fbc25348c715d81bf1e2f1f5564 Signed-off-by: Lei YU <mine260309@gmail.com>
show more ...
|
#
4088ec38 |
| 22-Sep-2016 |
Xo Wang <xow@google.com> |
configs: Add POWER_CONFIG for machines Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds. Th
configs: Add POWER_CONFIG for machines Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds. These are based on existing per-machine patches to op-pwrctl. Signed-off-by: Xo Wang <xow@google.com> Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124
show more ...
|
#
a7ac805b |
| 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove gpio code from config files Move to a new obmc.system module. Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesqu
configs: Remove gpio code from config files Move to a new obmc.system module. Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
7e5ec46d |
| 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
inventory: Move INVENTORY_ROOT to inventory module Change-Id: Ic68d4a48ff46002858934e0b9c9b1694a2a17a08 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
ef3a3ce8 |
| 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove unused variables Change-Id: I95992741e5b2da4678bc0a12f8afcbe88e318a03 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
53066750 |
| 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
python: add vim modelines Change-Id: Ic13d79892e3efe6f7bad357ad747e6fd25299d02 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
3d13c285 |
| 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
palmetto: remove frus These are now provided in a json file. Change-Id: Ib0491399df797a728c7a71118f7d54a07eb3a466 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
cad44d68 |
| 21-Sep-2016 |
Matt Spinler <spinler@us.ibm.com> |
Fix some hardcoded inventory paths Modify hardcoded inventory paths to match the ones generated by the machine readable workbook. Note the FRU_INSTANCES array is no longer used
Fix some hardcoded inventory paths Modify hardcoded inventory paths to match the ones generated by the machine readable workbook. Note the FRU_INSTANCES array is no longer used and will be removed with a separate commit. Resolves openbmc/openbmc#563. Change-Id: I7af395f08551692f03c95c151bfbbae9e33dee00 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
9a0aaed0 |
| 30-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: remove interpreter Remove /usr/bin/python as these are not runnable scripts. Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce Signed-off-by: Brad Bishop <bradleyb@f
configs: remove interpreter Remove /usr/bin/python as these are not runnable scripts. Change-Id: I2b84748a17be45e99dcbe2d82932c96015b569ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
0de2813c |
| 24-Aug-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove APPS and CALLBACKS from board config files No longer required with the switch to systemd for state management. Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2 Signed
Remove APPS and CALLBACKS from board config files No longer required with the switch to systemd for state management. Change-Id: I34047f948a92cb996a6926765b9a4d8df9f8d1f2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
c14f6fec |
| 11-Aug-2016 |
Edward A. James <eajames@us.ibm.com> |
fix sensor scales for HWMON devices - should only use exponential (10^x) scaling - purpose of the scale is to identify units - need adjustment factor for some sensors; internal use o
fix sensor scales for HWMON devices - should only use exponential (10^x) scaling - purpose of the scale is to identify units - need adjustment factor for some sensors; internal use only depends on Id4e1dfad0def21f9f1d341d859c3b2c237dea080 resolves openbmc/openbmc#412 Change-Id: Iaf2d5e30df620212dd3c9e821d6462964520dc44 Signed-off-by: Edward A. James <eajames@us.ibm.com>
show more ...
|
#
987170ed |
| 26-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove unused CACHE_PATH variable from configs The library function doing the caching now makes the parent directory if it doesn't exist so also removing that bit of code from the sy
Remove unused CACHE_PATH variable from configs The library function doing the caching now makes the parent directory if it doesn't exist so also removing that bit of code from the system manager. Change-Id: I30a55737a51e698d977dbc3f30208db1d4e0e87e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
fa06665f |
| 06-Jul-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Remove workbook dependency from download mgr The download path for temporary files isn't a property of the board. Hardcode /tmp into the application. Change-Id: Ib375ddee9a4c50
Remove workbook dependency from download mgr The download path for temporary files isn't a property of the board. Hardcode /tmp into the application. Change-Id: Ib375ddee9a4c50aa8817980562fbd5b1191b5542 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
84a4660f |
| 01-Jul-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #120 from geissonator/debug-mode-watchdog Disable watchdog timer if debug_mode is set
|
#
4493e442 |
| 01-Jul-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Merge pull request #119 from anoo1/vpd Remove Chassis and Product area from IO Board
|