History log of /openbmc/skeleton/libopenbmc_intf/ (Results 26 – 40 of 40)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
c1ce68b322-Sep-2016 Xo Wang <xow@google.com>

pwrctl: Add latch output to power control

On the Zaius machine, the BMC signals that power up the CPU are gated by
a latch to protect against GPIO blips during BMC reset/power loss.

This adds an op

pwrctl: Add latch output to power control

On the Zaius machine, the BMC signals that power up the CPU are gated by
a latch to protect against GPIO blips during BMC reset/power loss.

This adds an optional power GPIO configuration that controls the latch's
enable pin. Its behavior is to assert high when the op-pwrctl runs,
allowing power_up lines to propagate past their latches.

Signed-off-by: Xo Wang <xow@google.com>
Change-Id: Ibf0d1db771033cb9bba82575cca1bd21cfb3ad3d

show more ...

3f87de8b22-Sep-2016 Xo Wang <xow@google.com>

system_manager, libobmc-intf: Add power GPIO configuration interface

This adds a dbus call (in org.openbmc.managers.System) and C binding (in
libopenbmc-intf) to read a POWER_CONFIG from the Python

system_manager, libobmc-intf: Add power GPIO configuration interface

This adds a dbus call (in org.openbmc.managers.System) and C binding (in
libopenbmc-intf) to read a POWER_CONFIG from the Python system
configuration that abstracts GPIO functionality (power good, reset, etc)
from their net names in GPIO_CONFIG.

This should eventually replace machine-specific patches to op-pwrctl
that define their own power and reset lines.

Change-Id: I56eaaf60ef852b68124e4a765942243ad17d06ac
Signed-off-by: Xo Wang <xow@google.com>

show more ...

ed1368da24-Aug-2016 Patrick Williams <patrick@stwcx.xyz>

gpio: Avoid glitching 'out'-direction GPIOs

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

d6baab9224-Aug-2016 Patrick Williams <patrick@stwcx.xyz>

gpio: Fix sprintf to uninitialized pointer

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

3a8fa6eb24-Aug-2016 Patrick Williams <patrick@stwcx.xyz>

gpio: Clean trailing whitespace

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

a182577f29-Jun-2016 Joel Stanley <joel@jms.id.au>

libopenbmc_intf: Fix non-arm devmem implementation

Fixes the following error:

In file included from button_reset_obj.c:4:0:
../libopenbmc_intf/openbmc.h:39:15: error: return type defaults to ‘int

libopenbmc_intf: Fix non-arm devmem implementation

Fixes the following error:

In file included from button_reset_obj.c:4:0:
../libopenbmc_intf/openbmc.h:39:15: error: return type defaults to ‘int’ [-Werror=implicit-int]
static inline devmem(uint32_t val, uint32_t reg)

Signed-off-by: Joel Stanley <joel@jms.id.au>

show more ...

489bf65627-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

libopenbmc_intf rules simplification

Don't use rules.mk for libopenbmc_intf. There isn't enough
overlap here to warrant the extra complexity.

Fix an issue where the library is rebuilt for every ma

libopenbmc_intf rules simplification

Don't use rules.mk for libopenbmc_intf. There isn't enough
overlap here to warrant the extra complexity.

Fix an issue where the library is rebuilt for every make invocation.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

edd8e02f27-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Create a libopenbmc_intf symlink

Create a libopenbmc_intf symlink in the build target to
enable things like:

-L ../libopenbmc_intf -lopenbmc_intf

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirr

Create a libopenbmc_intf symlink

Create a libopenbmc_intf symlink in the build target to
enable things like:

-L ../libopenbmc_intf -lopenbmc_intf

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...

8a8b003e27-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Update and run libopenbmc_intf codegen

Update codegen to reflect new path xml/output locations.
Run updated codegen.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

5053fa2c27-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Move libopenbmc_intf codegen/xml

To the libopenbmc_intf directory.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

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

0e88971c27-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add force link option to install target

This allows 'make install' to be invoked more than once.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

b408ac0d20-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Add install-headers target

Install the libopenbmc_intf includes in prep for a devel
package.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

c034d2d319-Jun-2016 Brad Bishop <bradleyb@fuzziesquirrel.com>

Enable user-overriable CFLAGS

Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append
user specified CFLAGS to that.

Use CFLAGS during link.

Signed-off-by: Brad Bishop <bradleyb@fuzz

Enable user-overriable CFLAGS

Put required CFLAGS (ie pkg-config --cflags) in ALL_CFLAGS and append
user specified CFLAGS to that.

Use CFLAGS during link.

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
Makefile
gpio.c
gpio.h
openbmc.h
openbmc_intf.c
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
/openbmc/skeleton/op-hostctl/Makefile
/openbmc/skeleton/op-hostctl/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

12