summaryrefslogtreecommitdiffstats
path: root/op-hostctl
Commit message (Collapse)AuthorAgeFilesLines
* hostctl: Move to kernel FSI interfaceJoel Stanley2018-08-141-137/+107
| | | | | | | | | The Power8 systems now use the in-kernel FSI driver, so the GPIOs used for bitbanging are not available. This modifies the FSI SBE startup code to use the kernel FSI infrastructure. Change-Id: Ie7f7faab6af89b4311734eae4e252485a2163764 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Remove use of legacy system stateAndrew Geissler2018-02-151-3/+1
| | | | | | | | | The OpenBMC state function has been moved to the phosphor-state-manager repository. The chassis power state is tracked via systemd targets so notification from this power application is no longer needed. Change-Id: Ie74b0fe589944ab65645f92ab3539c2ee74dda9c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Remove references to old watchdog objectVishwanatha Subbanna2017-06-211-50/+0
| | | | | | | | | | | | | | | | | | | Enabling the Watchdog was moved to systemd unit and hence doing so from here needs to be removed. Currently, Host Power on target launches phosphor watchdog in Disabled state. However, there was an inadvertent change that removed the unit that was enabling Watchdog during power on. It was getting enabled a little later as part of host sending SET_WATCHDOG command. However, deferring Enable until then will result in very early Host hangs going undetected and a fix will be put to address that. Fixes openbmc/openbmc#1822 Change-Id: I290d84ecc991c258f5fb925b5c073922e2e1868b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Rename power_gpio to gpio_configs.Lei YU2017-01-121-1/+1
| | | | | Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a Signed-off-by: Lei YU <mine260309@gmail.com>
* GPIO abstraction for power and host controlLei YU2017-01-121-52/+77
| | | | | | | | | | | | | | | | | | | | 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>
* Start host watchdog after magic sequenceAdriana Kobylak2016-08-191-0/+55
| | | | | | | | | | | | The magic sequence triggers the host to boot, so start the host watchdog timer (which monitors for the host hanging) right after that. There's no need to port the check for debug flag because it's checked as part of the magic sequence. Resolves openbmc/skeleton#127 Change-Id: Ibad7b73c795c6cc8971bb99b755c8fce2c859f97 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* libopenbmc_intf include path updateBrad Bishop2016-06-271-3/+3
| | | | | | | | | Remove the interfaces prefix from applications including openbmc_intf.h. Use brackets rather than quotes in prep for a libopenbmc_intf SDK package. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Reorganize directory structureBrad Bishop2016-06-102-0/+274
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements. A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud