#
9f8459a5 |
| 22-Apr-2024 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
meson: Provide missing boost dependency and its wrap file
Currently local meson build fails with the error: """ fatal error: boost/asio/io_context.hpp: No such file or directory """ This is happenin
meson: Provide missing boost dependency and its wrap file
Currently local meson build fails with the error: """ fatal error: boost/asio/io_context.hpp: No such file or directory """ This is happening because boost is not listed as a dependency for the targets that use it. Add boost dependency for all the necessary targets and provide a wrap file for boost for the local meson build.
Tested: "meson setup build && cd build && meson compile" finishes successfully.
Change-Id: I3f418091d8a2da9377684e16ce3e2f88db4c6eb8 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
#
ccfea221 |
| 07-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: adjust nlohmann-json dependency
- Add the 'include_type' field to avoid clang-tidy warnings. - Rename wrap file to align with meson wrapdb choice.
Signed-off-by: Patrick Williams <patrick@st
meson: adjust nlohmann-json dependency
- Add the 'include_type' field to avoid clang-tidy warnings. - Rename wrap file to align with meson wrapdb choice.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I11866aa34c7b8defb0463c2d7bb9ec3fdb67c92d
show more ...
|
#
ec6e36fe |
| 06-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: simplify nlohmann-json subproject and update
The bitbake package for nlohmann-json installs a nlohmann_json.pc file and the subproject has a meson variable. We can simplify the dependency in
build: simplify nlohmann-json subproject and update
The bitbake package for nlohmann-json installs a nlohmann_json.pc file and the subproject has a meson variable. We can simplify the dependency in the meson file significantly by using the correct dependency name and adding a minor tweak to the wrapfile.
Also update the revision to HEAD rather than pinning.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iddbbf8117d7d8e7a0cc6a4f9ad5c6e9bff984834
show more ...
|
#
46a9a5b9 |
| 10-Aug-2023 |
Patrick Rudolph <patrick.rudolph@9elements.com> |
Add phosphor-multi-gpio-presence
The new service works like phosphor-gpio-presence, but uses libgpiod and can monitor an arbitrary amount of GPIOs.
The driver loading feature hasn't been ported to
Add phosphor-multi-gpio-presence
The new service works like phosphor-gpio-presence, but uses libgpiod and can monitor an arbitrary amount of GPIOs.
The driver loading feature hasn't been ported to the new service.
Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
show more ...
|
#
82b81954 |
| 09-Aug-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: add cli11 dependency as necessary
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5431ae89a8b14e0ddad6e23895efaa044d67df46
|
#
bf055283 |
| 03-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
meson: Enable tests by default
The test subdirectory should no longer be compiled when `tests` disabled, So tests should be explicitly enabled by default. Also `tests` has been disabled in meta-phos
meson: Enable tests by default
The test subdirectory should no longer be compiled when `tests` disabled, So tests should be explicitly enabled by default. Also `tests` has been disabled in meta-phosphor[1].
[1] https://gerrit.openbmc.org/c/openbmc/openbmc/+/43812
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I80352925719d3be137f99457ff38a948413f9c17
show more ...
|
#
1c0e4ea0 |
| 02-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
meson: Replace configure_file with fs.copyfile
configure_file is deprecated since 0.64.0, and replace it with fs.copyfile.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I632344af1add12
meson: Replace configure_file with fs.copyfile
configure_file is deprecated since 0.64.0, and replace it with fs.copyfile.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I632344af1add1253214f22b08d42165e14eabfbd
show more ...
|
#
9e8a2ffe |
| 06-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
Remove gpio-util
The gpio-util directory is not widely used in the community, and its only known usage[1] has been removed, and so we agreed with the maintainer to delete this directory.
[1] https:
Remove gpio-util
The gpio-util directory is not widely used in the community, and its only known usage[1] has been removed, and so we agreed with the maintainer to delete this directory.
[1] https://gerrit.openbmc.org/c/openbmc/openbmc/+/65642
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I61294b6a456e95532414687427b0c1cf36d58b4a
show more ...
|
#
ae5e8a9c |
| 01-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
phosphor-gpio-monitor: Replace Argument class with CLI11
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: Id750beb9f8b8f8ec0c611c58b9a0ef86d92750f4
|
#
ee1663cf |
| 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I04ae932ba0948b66f31cc
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: I04ae932ba0948b66f31cca7e4b203ee021d32223 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
0172969c |
| 01-Jun-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: add subproject support
Enable building the repository outside of an OpenBMC Docker container or SDK by leveraging meson subproject support. Copy wrap files from elsewhere in the organization
meson: add subproject support
Enable building the repository outside of an OpenBMC Docker container or SDK by leveraging meson subproject support. Copy wrap files from elsewhere in the organization and update the meson dependencies for some missing dependencies.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f2cdc310cbee3fd4ee911cca5e339c4e1ebb94f
show more ...
|
#
f70cbe75 |
| 01-Jun-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove cppfs dependency and experimental::filesystem
The dependency on the c++fs library is something very old from the C++14 era and is no longer necessary with a modern compiler. Remove th
meson: remove cppfs dependency and experimental::filesystem
The dependency on the c++fs library is something very old from the C++14 era and is no longer necessary with a modern compiler. Remove the explicit dependency from the meson setup.
Remove all use of `std::experimental::filesystem` and replace with the real `std::filesystem`.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I62214337ec1b72f7c999de605b9ebe409d22ce79
show more ...
|
#
0c60faaa |
| 12-Apr-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig
meson: remove deprecated get_pkgconfig_variable
Since meson 0.56, the `get_pkgconfig_variable` has been deprecated. In meson 0.58 the `get_variable` was enhanced to no longer require the `pkgconfig` keyword argument. Ensure meson 0.58 is required and update the usage of all `get_pkgconfig_variable` and `get_variable` to be the modern variant.
Change-Id: I964819bc87a6883694ad12a981ad6984d825662b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a594dfba |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: switch to C++20
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I84d665d12f88b7fca0752d41352afc36ee3ba32f
|
#
ca2637e6 |
| 04-Mar-2021 |
Brandon Wyman <bjwyman@gmail.com> |
Fix SDK build issue due to updated arm-sdk
After a recent change to enable security flags: d47f9a099a4ef992351237b0f2f562b5dc843397 compilation of the code in this repository with the arm-sdk result
Fix SDK build issue due to updated arm-sdk
After a recent change to enable security flags: d47f9a099a4ef992351237b0f2f562b5dc843397 compilation of the code in this repository with the arm-sdk results in error messages from FORTIFY_SOURCE, which only compiles with optimization levels 1 and 2.
Change the default build type to debugoptimized.
Reference changes: I910256c3aeffcbab0cbc33ced541b90576ce4151 Ic1a91e58253fed283f67c44989fbc9126e18b7fe
Tested: SDK build with arm-sdk passes. Bitbake build passes.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: I7eb1cdd23a8b4d8674de7d403b41114a44b8984c
show more ...
|
#
58dc277a |
| 05-Nov-2019 |
Alvin Wang <alvinwang@msn.com> |
Add device dependency for services
In Mihawk /dev/input/by-path/platform-gpio-keys-event is not created by udev while phospho-gpio-monitor@id_button.service is running. In Mihawk it takes much more
Add device dependency for services
In Mihawk /dev/input/by-path/platform-gpio-keys-event is not created by udev while phospho-gpio-monitor@id_button.service is running. In Mihawk it takes much more time for udev to create device files because there are more devices in Mihawk. Other platforms may hit the same issue in the future This patch adds the dependency of platform-gpio-keys and platform-gpio-keys-polled to phosphor-gpio-monitor@.service and phosphor-gpio-presence@.service to fix the issue in Mihawk.
The timing of kernel, udev and id_button service. The platform-gpio-keys-event is created at 09:32 while id_button service in running at 09:31
Nov 01 09:31:11 mihawk kernel: input: gpio-keys as /devices/platform /gpio-keys/input/input2
Nov 01 09:31:11 mihawk systemd[1]: Started udev Kernel Device Manager.
Nov 01 09:31:17 mihawk systemd[1]: Started udev Coldplug all Devices.
Nov 01 09:31:46 mihawk systemd[1]: phosphor-gpio-monitor@id_button. service: Main process exited, code=killed, status=6/ABRT Nov 01 09:31:46 mihawk systemd[1]: phosphor-gpio-monitor@id_button. service: Failed with result 'signal'.
lrwxrwxrwx 1 root root 9 Nov 1 09:32 /dev/input/by-path/platform-gpio-keys-event
Tested: The phosphor-gpio-monitor@id_button.service can be started successfully.
Signed-off-by: Alvin Wang <alvinwang@msn.com> Change-Id: I3fd3422e06f39175cc7c5321dcfadc9ad184b9ae
show more ...
|
#
d34bd96c |
| 29-Oct-2019 |
Vijay Khemka <vijaykhemka@fb.com> |
Add systemd units for new phosphor-multi-gpio-monitor
Also added sample phosphor-multi-gpio-monitor.json for configuration of list of GPIO to be monitored. Platform specific file can be added throug
Add systemd units for new phosphor-multi-gpio-monitor
Also added sample phosphor-multi-gpio-monitor.json for configuration of list of GPIO to be monitored. Platform specific file can be added through bbappend file.
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Change-Id: I3a2fac155be4583aeee52f018da6be0b506633fd
show more ...
|
#
939a6431 |
| 09-Oct-2019 |
Vijay Khemka <vijaykhemka@fb.com> |
GPIO Monitor with multiple lines and libgpiod
Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors multiple gpio lines based on their line name or offset. GPIO details need to be de
GPIO Monitor with multiple lines and libgpiod
Added a new GPIO monitor (phosphor-multi-gpio-monitor) which monitors multiple gpio lines based on their line name or offset. GPIO details need to be defined in a JSON file and needs to be passed to this daemon.
This uses libgpiod for accessing gpio lines and also uses CLI11 for parsing input parameter.
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Change-Id: I843e6df8c1159888f2ca628d1f69c1d2294d29d6
show more ...
|
#
26373abe |
| 19-Sep-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
Add systemd units for monitor and presence
Change-Id: I77593fe6b7927511042aeebff17519719c0742e3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
2d66b517 |
| 19-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
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
Added -Dtests to match de-facto OpenBMC meson usage conventions.
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.
Ran existing unit tests (which passed) using ninja test.
Change-Id: I198700d866e1b23ba0a22b156335bbb973b98f43 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|