History log of /openbmc/skeleton/op-hostctl/ (Results 1 – 12 of 12)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bba48eaf04-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 ...

783fbb0104-Oct-2024 Patrick Williams <patrick@stwcx.xyz>

op-hostctl: fix various warnings

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I90f2ad86d562af2cb3d168d3cc58e9c3ffe5ed9a


/openbmc/skeleton/.linter-ignore
/openbmc/skeleton/OWNERS
/openbmc/skeleton/bmcctl/control_bmc_obj.c
/openbmc/skeleton/configs/Barreleye.py
/openbmc/skeleton/configs/Firestone.py
/openbmc/skeleton/configs/Garrison.py
/openbmc/skeleton/configs/Lanyang.py
/openbmc/skeleton/configs/Palmetto.py
/openbmc/skeleton/configs/Romulus.py
/openbmc/skeleton/configs/S2600wf.py
/openbmc/skeleton/configs/Witherspoon.py
/openbmc/skeleton/configs/Zaius.py
/openbmc/skeleton/libopenbmc_intf/GPIOS.md
/openbmc/skeleton/libopenbmc_intf/gpio.c
/openbmc/skeleton/libopenbmc_intf/gpio_configs.c
/openbmc/skeleton/libopenbmc_intf/gpio_json.c
/openbmc/skeleton/libopenbmc_intf/openbmc.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.h
control_host_obj.c
/openbmc/skeleton/op-pwrctl/pgood_wait/Makefile
/openbmc/skeleton/op-pwrctl/pgood_wait/pgood_wait.c
/openbmc/skeleton/op-pwrctl/power_control_obj.c
/openbmc/skeleton/pychassisctl/chassis_control.py
/openbmc/skeleton/pychassisctl/setup.py
/openbmc/skeleton/pydownloadmgr/download_manager.py
/openbmc/skeleton/pydownloadmgr/setup.py
/openbmc/skeleton/pyflashbmc/bmc_update.py
/openbmc/skeleton/pyflashbmc/setup.py
/openbmc/skeleton/pyinventorymgr/inventory_items.py
/openbmc/skeleton/pyinventorymgr/obmc/inventory/__init__.py
/openbmc/skeleton/pyinventorymgr/setup.py
/openbmc/skeleton/pyinventorymgr/sync_inventory_items.py
/openbmc/skeleton/pyipmitest/ipmi_debug.py
/openbmc/skeleton/pyipmitest/setup.py
/openbmc/skeleton/pystatemgr/discover_system_state.py
/openbmc/skeleton/pystatemgr/setup.py
/openbmc/skeleton/pysystemmgr/obmc/system/__init__.py
/openbmc/skeleton/pysystemmgr/setup.py
/openbmc/skeleton/pysystemmgr/system_manager.py
/openbmc/skeleton/pytools/setup.py
3fbb444301-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 ...

bed673e205-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 ...

5da4f4fc12-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 ...

5987cac505-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 ...

666be2ae21-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 ...

45cb4fcc28-Nov-2016 Lei YU <mine260309@gmail.com>

Rename power_gpio to gpio_configs.

Change-Id: I22382fbb19a077e333aba93ae81ae614ec0cb70a
Signed-off-by: Lei YU <mine260309@gmail.com>

75a18a2321-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 ...


/openbmc/skeleton/Makefile
/openbmc/skeleton/bmcctl/control_bmc_obj.c
/openbmc/skeleton/configs/Barreleye.py
/openbmc/skeleton/configs/Firestone.py
/openbmc/skeleton/configs/Garrison.py
/openbmc/skeleton/configs/Palmetto.py
/openbmc/skeleton/configs/Romulus.py
/openbmc/skeleton/configs/Witherspoon.py
/openbmc/skeleton/configs/Zaius.py
/openbmc/skeleton/fanctl/Makefile
/openbmc/skeleton/fanctl/fan_control.c
/openbmc/skeleton/flashbios/flash_bios_obj.c
/openbmc/skeleton/gdbus.mk
/openbmc/skeleton/libopenbmc_intf/Makefile
/openbmc/skeleton/libopenbmc_intf/gpio.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.xml
/openbmc/skeleton/libopenbmc_intf/power_gpio.c
/openbmc/skeleton/libopenbmc_intf/power_gpio.h
/openbmc/skeleton/op-flasher/Makefile
/openbmc/skeleton/op-flasher/flasher_obj.c
control_host_obj.c
/openbmc/skeleton/op-pwrctl/Makefile
/openbmc/skeleton/op-pwrctl/pgood_wait/.gitignore
/openbmc/skeleton/op-pwrctl/pgood_wait/Makefile
/openbmc/skeleton/op-pwrctl/pgood_wait/pgood_wait.c
/openbmc/skeleton/op-pwrctl/power_control_obj.c
/openbmc/skeleton/pychassisctl/chassis_control.py
/openbmc/skeleton/pydownloadmgr/download_manager.py
/openbmc/skeleton/pyflashbmc/bmc_update.py
/openbmc/skeleton/pyhwmon/hwmon.py
/openbmc/skeleton/pyinventorymgr/inventory_items.py
/openbmc/skeleton/pyinventorymgr/obmc/inventory/__init__.py
/openbmc/skeleton/pyinventorymgr/setup.py
/openbmc/skeleton/pyinventorymgr/sync_inventory_items.py
/openbmc/skeleton/pyipmitest/ipmi_debug.py
/openbmc/skeleton/pysensormgr/sensor_manager2.py
/openbmc/skeleton/pystatemgr/discover_system_state.py
/openbmc/skeleton/pystatemgr/setup.py
/openbmc/skeleton/pysystemmgr/obmc/system/__init__.py
/openbmc/skeleton/pysystemmgr/setup.py
/openbmc/skeleton/pysystemmgr/system_manager.py
/openbmc/skeleton/pytools/gpioutil
/openbmc/skeleton/pytools/obmcutil
/openbmc/skeleton/rules.mk
37846da519-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 ...

f6c8568527-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 ...

40a360c228-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 ...


/openbmc/skeleton/.gitignore
/openbmc/skeleton/Makefile
/openbmc/skeleton/Makefile.python
/openbmc/skeleton/bmcctl-barreleye/Makefile
/openbmc/skeleton/bmcctl-barreleye/control_bmc_barreleye.c
/openbmc/skeleton/bmcctl/Makefile
/openbmc/skeleton/bmcctl/control_bmc_obj.c
/openbmc/skeleton/boardvpd/Makefile
/openbmc/skeleton/boardvpd/board_vpd_obj.c
/openbmc/skeleton/configs/Barreleye.py
/openbmc/skeleton/configs/Firestone.py
/openbmc/skeleton/configs/Garrison.py
/openbmc/skeleton/configs/Makefile
/openbmc/skeleton/configs/Palmetto.py
/openbmc/skeleton/configs/setup.py
/openbmc/skeleton/fanctl/Makefile
/openbmc/skeleton/fanctl/fan_generic_obj.c
/openbmc/skeleton/flashbios/Makefile
/openbmc/skeleton/flashbios/flash_bios_obj.c
/openbmc/skeleton/gdbus.mk
/openbmc/skeleton/gdbus/codegen
/openbmc/skeleton/gdbus/interfaces/openbmc_intf.c
/openbmc/skeleton/gdbus/interfaces/openbmc_intf.h
/openbmc/skeleton/gdbus/xml/openbmc_intf.xml
/openbmc/skeleton/hacks/Makefile
/openbmc/skeleton/hacks/startup_hacks.sh
/openbmc/skeleton/hostwatchdog/Makefile
/openbmc/skeleton/hostwatchdog/host_watchdog_obj.c
/openbmc/skeleton/hwmon-barreleye/Makefile
/openbmc/skeleton/hwmon-barreleye/hwmons_barreleye.c
/openbmc/skeleton/hwmon/Makefile
/openbmc/skeleton/hwmon/hwmons_palmetto.c
/openbmc/skeleton/ledctl/Makefile
/openbmc/skeleton/ledctl/led_controller.c
/openbmc/skeleton/libopenbmc_intf/Makefile
/openbmc/skeleton/libopenbmc_intf/gpio.c
/openbmc/skeleton/libopenbmc_intf/gpio.h
/openbmc/skeleton/libopenbmc_intf/openbmc.h
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.c
/openbmc/skeleton/libopenbmc_intf/openbmc_intf.h
/openbmc/skeleton/op-flasher/Makefile
/openbmc/skeleton/op-flasher/flasher_obj.c
/openbmc/skeleton/op-flasher/pflash/Makefile
/openbmc/skeleton/op-flasher/pflash/TODO
/openbmc/skeleton/op-flasher/pflash/arm_io.c
/openbmc/skeleton/op-flasher/pflash/ast-sf-ctrl.c
/openbmc/skeleton/op-flasher/pflash/ast.h
/openbmc/skeleton/op-flasher/pflash/ccan/Makefile.inc
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/LICENSE
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/_info
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/array_size.h
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/test/compile_fail-function-param.c
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/test/compile_fail.c
/openbmc/skeleton/op-flasher/pflash/ccan/array_size/test/run.c
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/LICENSE
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/_info
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/build_assert.h
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/test/compile_fail-expr.c
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/test/compile_fail.c
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/test/compile_ok.c
/openbmc/skeleton/op-flasher/pflash/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
/openbmc/skeleton/op-flasher/pflash/ccan/built-in.o
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/LICENSE
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/_info
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/check_type.h
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/test/compile_fail-check_type.c
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/test/compile_fail-check_type_unsigned.c
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/test/compile_fail-check_types_match.c
/openbmc/skeleton/op-flasher/pflash/ccan/check_type/test/run.c
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/LICENSE
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/_info
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/container_of.h
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/test/compile_fail-bad-type.c
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/test/compile_fail-types.c
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/test/compile_fail-var-types.c
/openbmc/skeleton/op-flasher/pflash/ccan/container_of/test/run.c
/openbmc/skeleton/op-flasher/pflash/ccan/endian/LICENSE
/openbmc/skeleton/op-flasher/pflash/ccan/endian/_info
/openbmc/skeleton/op-flasher/pflash/ccan/endian/endian.h
/openbmc/skeleton/op-flasher/pflash/ccan/endian/test/compile_ok-constant.c
/openbmc/skeleton/op-flasher/pflash/ccan/endian/test/run.c
/openbmc/skeleton/op-flasher/pflash/config.h
/openbmc/skeleton/op-flasher/pflash/get_arch.sh
/openbmc/skeleton/op-flasher/pflash/io.h
/openbmc/skeleton/op-flasher/pflash/libflash/ffs.h
/openbmc/skeleton/op-flasher/pflash/libflash/libffs.c
/openbmc/skeleton/op-flasher/pflash/libflash/libffs.h
/openbmc/skeleton/op-flasher/pflash/libflash/libflash-priv.h
/openbmc/skeleton/op-flasher/pflash/libflash/libflash.c
/openbmc/skeleton/op-flasher/pflash/libflash/libflash.h
/openbmc/skeleton/op-flasher/pflash/libflash/test/Makefile
/openbmc/skeleton/op-flasher/pflash/libflash/test/test-flash.c
/openbmc/skeleton/op-flasher/pflash/pflash.c
/openbmc/skeleton/op-flasher/pflash/powerpc_io.c
/openbmc/skeleton/op-flasher/pflash/progress.c
/openbmc/skeleton/op-flasher/pflash/progress.h
/openbmc/skeleton/op-flasher/pflash/sfc-ctrl.c
/openbmc/skeleton/op-flasher/pflash/sfc-ctrl.h
Makefile
control_host_obj.c
/openbmc/skeleton/op-pwrctl/Makefile
/openbmc/skeleton/op-pwrctl/power_control_obj.c
/openbmc/skeleton/pciedetect/Makefile
/openbmc/skeleton/pciedetect/pcie_slot_present_obj.c
/openbmc/skeleton/pwrbutton/Makefile
/openbmc/skeleton/pwrbutton/button_power_obj.c
/openbmc/skeleton/py.mk
/openbmc/skeleton/pychassisctl/Makefile
/openbmc/skeleton/pychassisctl/chassis_control.py
/openbmc/skeleton/pychassisctl/setup.cfg
/openbmc/skeleton/pychassisctl/setup.py
/openbmc/skeleton/pydownloadmgr/Makefile
/openbmc/skeleton/pydownloadmgr/download_manager.py
/openbmc/skeleton/pydownloadmgr/setup.cfg
/openbmc/skeleton/pydownloadmgr/setup.py
/openbmc/skeleton/pyfanctl/Makefile
/openbmc/skeleton/pyfanctl/fan_control.py
/openbmc/skeleton/pyfanctl/setup.cfg
/openbmc/skeleton/pyfanctl/setup.py
/openbmc/skeleton/pyflashbmc/Makefile
/openbmc/skeleton/pyflashbmc/bmc_update.py
/openbmc/skeleton/pyflashbmc/setup.cfg
/openbmc/skeleton/pyflashbmc/setup.py
/openbmc/skeleton/pyhwmon/Makefile
/openbmc/skeleton/pyhwmon/hwmon.py
/openbmc/skeleton/pyhwmon/setup.cfg
/openbmc/skeleton/pyhwmon/setup.py
/openbmc/skeleton/pyinventorymgr/Makefile
/openbmc/skeleton/pyinventorymgr/inventory_items.py
/openbmc/skeleton/pyinventorymgr/setup.cfg
/openbmc/skeleton/pyinventorymgr/setup.py
/openbmc/skeleton/pyipmitest/Makefile
/openbmc/skeleton/pyipmitest/ipmi_debug.py
/openbmc/skeleton/pyipmitest/setup.cfg
/openbmc/skeleton/pyipmitest/setup.py
/openbmc/skeleton/pysensormgr/Makefile
/openbmc/skeleton/pysensormgr/sensor_manager2.py
/openbmc/skeleton/pysensormgr/setup.cfg
/openbmc/skeleton/pysensormgr/setup.py
/openbmc/skeleton/pystatemgr/Makefile
/openbmc/skeleton/pystatemgr/discover_system_state.py
/openbmc/skeleton/pystatemgr/goto_system_state.py
/openbmc/skeleton/pystatemgr/setup.cfg
/openbmc/skeleton/pystatemgr/setup.py
/openbmc/skeleton/pysystemmgr/Makefile
/openbmc/skeleton/pysystemmgr/setup.cfg
/openbmc/skeleton/pysystemmgr/setup.py
/openbmc/skeleton/pysystemmgr/system_manager.py
/openbmc/skeleton/pytools/Makefile
/openbmc/skeleton/pytools/gpioutil
/openbmc/skeleton/pytools/obmcutil
/openbmc/skeleton/pytools/setup.cfg
/openbmc/skeleton/pytools/setup.py
/openbmc/skeleton/rstbutton/Makefile
/openbmc/skeleton/rstbutton/button_reset_obj.c
/openbmc/skeleton/rules.mk
/openbmc/skeleton/sdbus.mk
/openbmc/skeleton/setup.cfg