c1ce68b3 | 22-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 ...
|
3f87de8b | 22-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 ...
|
ed1368da | 24-Aug-2016 |
Patrick Williams <patrick@stwcx.xyz> |
gpio: Avoid glitching 'out'-direction GPIOs
Change-Id: I42dafd3235d13ec57f7b15e043bc3fe82fdb4665 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
d6baab92 | 24-Aug-2016 |
Patrick Williams <patrick@stwcx.xyz> |
gpio: Fix sprintf to uninitialized pointer
Change-Id: Ife1759b1533b37e0a8c94748334ea2c5f02ba873 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
3a8fa6eb | 24-Aug-2016 |
Patrick Williams <patrick@stwcx.xyz> |
gpio: Clean trailing whitespace
Change-Id: I359e5bab739e3b029a3331b0acfbf54e8db1120c Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
a182577f | 29-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 ...
|
489bf656 | 27-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 ...
|
edd8e02f | 27-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 ...
|
8a8b003e | 27-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> |
5053fa2c | 27-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> |
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 ...
|
0e88971c | 27-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> |
b408ac0d | 20-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> |
c034d2d3 | 19-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 ...
|
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 ...
|