#
516e22fe |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: Ie0fb147f556c18eb226736dd9b688afba5636a9b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
#
9c446cda |
| 01-Sep-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: add cli11 dependency as necessary
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie18e6ed2ee8d0f0ecdb7a6f328ba3209b2fcd61c
|
#
130ac97c |
| 14-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
power-sequencer: Replace Argument class with CLI11
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I8f48a1fb18ed2c190c8292317e883b05754a5558
|
#
888bebde |
| 31-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: add necessary subprojects
Add subprojects for all the direct dependencies of the project such that the project can be built outside of a Yocto SDK on a typical Linux development system.
-
meson: add necessary subprojects
Add subprojects for all the direct dependencies of the project such that the project can be built outside of a Yocto SDK on a typical Linux development system.
- Update the .gitignore to ignore the subproject source directories. - Update the .gitignore to ignore alternative build subdirectory names as is typical with most projects in the openbmc organization. - Add wrap files for direct dependencies, copied from other repositories that already have the same dependencies. - Modify the meson.build dependency for libgpiod so that the C++ bindings are included. - Add many missing dependencies throughout. - Sort all dependencies alphabetically for consistency.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I0feb6f0f175e6dba0b00a2c2b666eb0801575734
show more ...
|
#
40247cce |
| 06-Sep-2019 |
Andy YF Wang <Andy_YF_Wang@wistron.com> |
Add CPLD class for Mihawk platform
If PGOOD signal is abnormal when chassis power_on, read Mihawk's CPLD-register via I2C to confirm the error.
First, confirm whether the power_on_error signal is 1
Add CPLD class for Mihawk platform
If PGOOD signal is abnormal when chassis power_on, read Mihawk's CPLD-register via I2C to confirm the error.
First, confirm whether the power_on_error signal is 1 when chassis power_on(1 means abnormal). If the signal is 1, read the error-code-register to analysis reason.
Second, runtime to confirm whether the power_ready_error signal is 1 after chassis power_on(1 means abnormal). If the signal is 1, read the error-code-register to analysis reason and shutdown the chassis.
Tested: Use command "obmcutil chassiskill" to trigger PGOOD error action analysis during chassis power on.
Signed-off-by: Andy YF Wang <Andy_YF_Wang@wistron.com> Change-Id: I5f9c0d508627324a6c784ded125c28f0437bf52d Signed-off-by: Alvin Wang <alvinwang@msn.com>
show more ...
|
#
39b370a5 |
| 02-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 ...
|