bba48eaf | 04-Oct-2024 |
Patrick Williams <patrick@stwcx.xyz> |
meson: add basic meson
Since we don't have a CI for standard Make repositories anymore, this repository has no CI. Begin a simple meson conversion to enable some CI for the bare minimum aspects of
meson: add basic meson
Since we don't have a CI for standard Make repositories anymore, this repository has no CI. Begin a simple meson conversion to enable some CI for the bare minimum aspects of the repository still being used in openbmc/openbmc.
- libopenbmc_intf - op-pwrctl - pgood_wait - op-hostctl
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I598e91c08b5ad607b68c18bfa9a870603df19397
show more ...
|
783fbb01 | 04-Oct-2024 |
Patrick Williams <patrick@stwcx.xyz> |
op-hostctl: fix various warnings
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I90f2ad86d562af2cb3d168d3cc58e9c3ffe5ed9a |
3fbb4443 | 01-Sep-2020 |
Andrew Geissler <geissonator@yahoo.com> |
fix sizeof bug
This code path is most likely not utilized anymore but upstream yocto is calling out a compile error on this:
| control_host_obj.c: In function 'on_boot': | control_host_obj.c:131:8:
fix sizeof bug
This code path is most likely not utilized anymore but upstream yocto is calling out a compile error on this:
| control_host_obj.c: In function 'on_boot': | control_host_obj.c:131:8: error: 'write' reading 4 bytes from a region of size 2 [-Werror=stringop-overflow=] | 131 | rc = write(fd, one, sizeof(one)); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iabb5bcc0b888a4e831c8fe8c1006e9b99097402a
show more ...
|
bed673e2 | 05-Jan-2020 |
Joel Stanley <joel@jms.id.au> |
control-host: Use fsi-master class paths
As of dev-5.3, and upstream v5.4, the FSI core creates fsi master class based sysfs paths. These paths do not change depending on the FSI master implantation
control-host: Use fsi-master class paths
As of dev-5.3, and upstream v5.4, the FSI core creates fsi master class based sysfs paths. These paths do not change depending on the FSI master implantation or device tree layout, and therefore should be more stable.
Signed-off-by: Joel Stanley <joel@jms.id.au> Change-Id: I279024ca73e3f3d87c3456cf4fcd8d54615cd285
show more ...
|
5da4f4fc | 12-Jul-2018 |
Joel Stanley <joel@jms.id.au> |
hostctl: Move to kernel FSI interface
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 kerne
hostctl: Move to kernel FSI interface
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>
show more ...
|
5987cac5 | 05-Feb-2018 |
Andrew Geissler <geissonator@yahoo.com> |
Remove use of legacy system state
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
Remove use of legacy system state
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>
show more ...
|
666be2ae | 21-Jun-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Remove references to old watchdog object
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
Remove references to old watchdog object
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>
show more ...
|
45cb4fcc | 28-Nov-2016 |
Lei YU <mine260309@gmail.com> |
Rename power_gpio to gpio_configs.
Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a Signed-off-by: Lei YU <mine260309@gmail.com> |
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 abstraction.
The chan
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 ...
|
37846da5 | 19-Aug-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
Start host watchdog after magic sequence
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 por
Start host watchdog after magic sequence
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>
show more ...
|
f6c85685 | 27-Jun-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
libopenbmc_intf include path update
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-b
libopenbmc_intf include path update
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>
show more ...
|
40a360c2 | 28-May-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Reorganize directory structure
Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications
Reorganize directory structure
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>
show more ...
|