History log of /openbmc/witherspoon-pfault-analysis/ (Results 26 – 50 of 176)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b3853e2d03-Sep-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: drop autotools

With previously added support for building with meson/ninja autotools
support is no longer required.

Change-Id: I80654ada9d099a57447ded73da71f39293cd2f0a
Signed-off-by: Brad B

build: drop autotools

With previously added support for building with meson/ninja autotools
support is no longer required.

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

show more ...

39b370a502-Sep-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: add support for building with meson

Follow the OpenBMC herd and support a more modern, more comprehensible,
more performant build framework.

To build using meson:
meson build
ninja -C bu

build: add support for building with meson

Follow the OpenBMC herd and support a more modern, more comprehensible,
more performant build framework.

To build using meson:
meson build
ninja -C build
ninja -C build install

Maintained support for:
Configurable dbus parameters:
INPUT_HISTORY_BUSNAME_ROOT= -> -Dinput-history-busname-root=
INPUT_HISTORY_SENSOR_ROOT = -> -Dinput-history-sensor-root=
UCD90160 support:
UCD90160_DEF_YAML_FILE= -> -Ducd90160-yaml=
--enable-turn-off-ucd90160-access = -> -Ducd90160-access=

Added -Dtests to match de-facto OpenBMC meson usage conventions.

Dropped UCD90160_DEF_OUTPUT_DIR. Much like the destination of
intermediate artifacts like object files are not configurable, the
location of the generated UCD definition file should not be configurable
either.

Dropped support for --enable-oe-sdk rpath munging. This was a
workaround for broken oe sdks that don't figure out the correct rpath
when running make check or ninja test.

Tested by building with both meson and autotools and then compared build
artifacts from each build system:
generated source code is the same
generated binaries have the same symbols

Ran existing unit tests (which passed) using ninja test.

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

show more ...

11cb672803-Sep-2019 Brad Bishop <bradleyb@fuzziesquirrel.com>

build: fix some warnings

Fix a couple of warnings:

-Werror=unused-parameter
-Werror=non-virtual-dtor

so we can use meson's warning_level=3 and -Werror without build
failures.

Change-Id: Id3c15c2f

build: fix some warnings

Fix a couple of warnings:

-Werror=unused-parameter
-Werror=non-virtual-dtor

so we can use meson's warning_level=3 and -Werror without build
failures.

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

show more ...

817f8a7a07-Aug-2019 Aatir Manzur <aatrapps@gmail.com>

Power supply input faults resolution

If the AC power is plugged in when the system is totally off,
psu-monitor doesn't get to resolve errors because it can not see their
states change from faulted t

Power supply input faults resolution

If the AC power is plugged in when the system is totally off,
psu-monitor doesn't get to resolve errors because it can not see their
states change from faulted to not faulted.

Tested:

Physically cut off power and reapplied it to check for any incorrect LED
indications for the power supply. Checked error logs to make sure input
power faults were resolved.

Signed-off-by: Aatir Manzur <aatrapps@gmail.com>
Change-Id: I893b67fabc9075fdd0ea3ae3a2912bc443cbadf8

show more ...

5b2964fa24-Jul-2019 Matt Spinler <spinler@us.ibm.com>

Fix association path when resolving input faults

When the C++ object mapper replaced the original python one, it
changed the name of the association interface. Update this code
to match that.

Test

Fix association path when resolving input faults

When the C++ object mapper replaced the original python one, it
changed the name of the association interface. Update this code
to match that.

Tested: Input faults can now be resolved.

Change-Id: Idd0f355de82cc2b18399a50c24f28b20c9e2902f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

5c0ce17522-Jul-2019 Matt Spinler <spinler@us.ibm.com>

Don't try to read GPIOs when no device path

For certain PGOOD faults, the code may try to read a GPIO off of an IO
expander to further isolate the error. If there was a problem with the
device driv

Don't try to read GPIOs when no device path

For certain PGOOD faults, the code may try to read a GPIO off of an IO
expander to further isolate the error. If there was a problem with the
device driver detecting that IO expander, then the code was running down
a path where it would still try to read that IO expander, but using an
empty device path which would just generate extra error traces in the
journal. Avoid this by checking for this empty path and then not
reading those GPIOs.

Change-Id: I40a3e0c13e392fa58d87f53c8911eb96c9cd7f2c
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

4e877a7522-Jul-2019 Matt Spinler <spinler@us.ibm.com>

Update .gitignore

Updates for the applications changing names and the ucd90160_defs.cpp
file being generated.

Change-Id: I0c02935e979b2f0594c9b400fc392ca51ad49220
Signed-off-by: Matt Spinler <spinl

Update .gitignore

Updates for the applications changing names and the ucd90160_defs.cpp
file being generated.

Change-Id: I0c02935e979b2f0594c9b400fc392ca51ad49220
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

03c19db610-May-2019 Brandon Wyman <bjwyman@gmail.com>

Add YAML and error function for MEM_GOODx faults

Add a section to the error and metadata YAML files for the MEM_GOODx
faults. Use that to update/generate a new elog-errors.hpp include file.

Update

Add YAML and error function for MEM_GOODx faults

Add a section to the error and metadata YAML files for the MEM_GOODx
faults. Use that to update/generate a new elog-errors.hpp include file.

Update the power sequencer source to have a memGoodFault function for
handling callouts for MEM_GOODx type errors.

Change-Id: Ia08dc88f29f00f749e7995f97f37647b02135a2b
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

573f887c11-Apr-2019 Brandon Wyman <bjwyman@gmail.com>

Update to get GPIOAnalysis from parsing YAML

Change-Id: I54958ce49496464e601ff9c6f2b081ee8d2c07be
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

2ca8e48a11-Apr-2019 Brandon Wyman <bjwyman@gmail.com>

Update to get GPIConfigs from parsing YAML

Change-Id: Ie7b905761ece27bd19a9f0e6e0a7eeb9434fdd3a
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

ee21fd2811-Apr-2019 Brandon Wyman <bjwyman@gmail.com>

Update to get RailNames from parsing YAML

Change-Id: Ibcecb592fb4ef61efe5d8ba32bef8af0f979dc98
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

f99887b205-Apr-2019 Brandon Wyman <bjwyman@gmail.com>

Update script and template to parse index and path

Change-Id: Ibe4ce9aa9f16c915934c44c49337b30e2ea4b67b
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

926aa4dd03-Apr-2019 Brandon Wyman <bjwyman@gmail.com>

Fill in example YAML file based on Witherspoon

Change-Id: Ib42605a551f5a0c8c61e5aaf71f05e54da2cb7e4
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

34e257ba28-Mar-2019 Brandon Wyman <bjwyman@gmail.com>

Use YAML for UCD definitions

Use a Python script to generate the UCD power sequencer information
needed for the pseq-monitor application.

Change-Id: I51f4b61bb4f22705584b73ba599b517780fa9adc
Signed

Use YAML for UCD definitions

Use a Python script to generate the UCD power sequencer information
needed for the pseq-monitor application.

Change-Id: I51f4b61bb4f22705584b73ba599b517780fa9adc
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

9c7897ce28-Mar-2019 Brandon Wyman <bjwyman@gmail.com>

Cleanup: Use filesystem instead of experimental

The GCC version bump in Yocto 2.6 allows for use of std::filesystem
instead of std::experimental::filesystem.

Change-Id: Ibfd6c285bcbd6695e5cd4e3090f

Cleanup: Use filesystem instead of experimental

The GCC version bump in Yocto 2.6 allows for use of std::filesystem
instead of std::experimental::filesystem.

Change-Id: Ibfd6c285bcbd6695e5cd4e3090ffa214fc861499
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

05be4a9213-Mar-2019 Brandon Wyman <bjwyman@gmail.com>

Remove the witherspoon prefix from the PSU monitor

The Swift system is a follow-on to the Witherspoon system. The plan is
to re-use the power supply monitor application on Swift, while
continuing to

Remove the witherspoon prefix from the PSU monitor

The Swift system is a follow-on to the Witherspoon system. The plan is
to re-use the power supply monitor application on Swift, while
continuing to work on Witherspoon systems. Removing the witherspoon
prefix from the app to avoid confusion.

Tested: Built and flashed image to Witherspoon system. Verified power
sequencer and power supply monitor logged errors via 'obmcutil
chassiskill' command.

Change-Id: I4c7275c3b14b3b3724abb98b8d43610df4f9c2a3
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

088ab9c813-Mar-2019 Brandon Wyman <bjwyman@gmail.com>

Remove witherspoon prefix from power sequencer app

The Swift system is a follow-on system very similar to the Witherspoon.
The plan is to re-use this application for Swift, while continuing to
suppo

Remove witherspoon prefix from power sequencer app

The Swift system is a follow-on system very similar to the Witherspoon.
The plan is to re-use this application for Swift, while continuing to
support Witherspoon, without the confusion of having a witherspoon
executable/app on a Swift system.

Tested: Built and flashed image to Witherspoon system. Verified process
running, powered on, and verified faults logged by executing 'obmcutil
chassiskill'.

Change-Id: I32f2c67d12d4a6038b19f6a02cd7de5166f1d1f8
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>

show more ...

e75fcd3228-Mar-2019 Patrick Venture <venture@google.com>

build: install into bin instead of sbin

Installs into bin instead of sbin per guidelines.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Id782714cdf6f8345330ba1cf241c615be8256bbf

57bee32922-Mar-2019 Matt Spinler <spinler@us.ibm.com>

Fix I2C dev path for the 5.0 kernel

In the 5.0 Linux kernel, an I2C device path segment changed:
i2c@1e78a000 -> bus@1e78a000

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I7ad726

Fix I2C dev path for the 5.0 kernel

In the 5.0 Linux kernel, an I2C device path segment changed:
i2c@1e78a000 -> bus@1e78a000

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I7ad7262812de3792dbae85b6f252ec6cbbdc333e

show more ...

61a0419313-Feb-2019 Patrick Venture <venture@google.com>

build: pkg anti-pattern: use defaults

Use the defaults in the pkg check where the default error message is
sufficient to identify which package is missing.

Change-Id: Ic2cf81d3bd0ce22a87eec09cb55f8

build: pkg anti-pattern: use defaults

Use the defaults in the pkg check where the default error message is
sufficient to identify which package is missing.

Change-Id: Ic2cf81d3bd0ce22a87eec09cb55f8a859bec7e78
Signed-off-by: Patrick Venture <venture@google.com>

show more ...

ac9d5c3212-Nov-2018 William A. Kennington III <wak@google.com>

power_supply: Fix duplicate variant value

mapbox::variant is fine with having a variant contain duplicate types.
However std::variant thrips a static assert if you duplicate the types
contained in t

power_supply: Fix duplicate variant value

mapbox::variant is fine with having a variant contain duplicate types.
However std::variant thrips a static assert if you duplicate the types
contained in the variant. This is just a refactor that will not affect
behavior.

Tested:
Compiled and run through unit tests.

Change-Id: I99628f8f520ff58df35eee1d51772b0e93f2d9fd
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

d3e4dad325-Oct-2018 Matt Spinler <spinler@us.ibm.com>

Remove unused is_method_error calls

According to
https://lists.ozlabs.org/pipermail/openbmc/2018-October/013696.html,
message::is_method_error() will never fail and it doesn't need to
be called anym

Remove unused is_method_error calls

According to
https://lists.ozlabs.org/pipermail/openbmc/2018-October/013696.html,
message::is_method_error() will never fail and it doesn't need to
be called anymore.

Change-Id: I3199c201a3d89c90ff61484018846d9edca48eec
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

f0f02b9a25-Oct-2018 Matt Spinler <spinler@us.ibm.com>

Start using .clang-format

Used the one from docs/style/cpp.

Change-Id: I3bdc2b353bf18a437266b362d8205b8463a9ce2b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

1a0c917618-Oct-2018 William A. Kennington III <wak@google.com>

timer: Remove in favor of sdeventplus/timer

This change removes the ad-hoc timer implementation and uses the common
one that comes with sdeventplus.

Tested: Compiled

Change-Id: Id3b7e464a472a74217

timer: Remove in favor of sdeventplus/timer

This change removes the ad-hoc timer implementation and uses the common
one that comes with sdeventplus.

Tested: Compiled

Change-Id: Id3b7e464a472a7421785601634af58f681ebd3a6
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

e5a8b47318-Oct-2018 William A. Kennington III <wak@google.com>

event: Remove in favor of sdeventplus

Use the new library provided to all openbmc projects instead of rolling
our own managed pointer.

Tested: Compiled

Change-Id: I4993d4340e0e0aa5898e73ef815baa81

event: Remove in favor of sdeventplus

Use the new library provided to all openbmc projects instead of rolling
our own managed pointer.

Tested: Compiled

Change-Id: I4993d4340e0e0aa5898e73ef815baa81b0e8a2bc
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...

12345678