#
f2da78de |
| 02-Apr-2024 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
meson: Fix local cereal build
Currently local build is failing with a message: """ cereal| Exception: Failed to configure the CMake subproject: Could NOT find Boost (missing: Boost_INCLUDE_DIR seria
meson: Fix local cereal build
Currently local build is failing with a message: """ cereal| Exception: Failed to configure the CMake subproject: Could NOT find Boost (missing: Boost_INCLUDE_DIR serialization) Subproject subprojects/cereal is buildable: NO (disabling) """ Since cereal requires boost only for the sandbox build and this functionality is not needed, add option to skip building performance sandbox comparison to solve the issue.
Tested: "meson setup build" no longer fails with the cereal error.
Change-Id: I84a1015177510dbc23097d4f68a0ac6a85051d95 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
show more ...
|
#
8eb4d58b |
| 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I8a8a5b86aaeb9ae6835ca26b22a8e21e4438bb52 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5c75dd56 |
| 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: Ic6ef0ad86b97a49792b40
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: Ic6ef0ad86b97a49792b40317bcb39311c49e233e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
a4c19b00 |
| 28-Feb-2023 |
Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> |
Support OCP debug card postcode display
Description: - Meson option postcode display path is supported - Support OCP debug card postcode display
Example of test process: 1. Set postcode-displa
Support OCP debug card postcode display
Description: - Meson option postcode display path is supported - Support OCP debug card postcode display
Example of test process: 1. Set postcode-display-path as /sys/bus/i2c/devices/12- 000f/postcode-display-slot in project layer 2. Press OCP debug card uart button to the host to check 3. Host power on 4. The postcode should start displaying on the OCP debug card screen with user-readable string representation for those codes Note: - The postcode-display-path was setting by CLD driver, which will though CPLD setting ocp-debug card (link: https://lore.kernel.org/lkml/20230117094425.19004-1-Delphine_CC_Chiu@Wiwynn.com/)
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com> Change-Id: I915c0ec29d763b8933835a9fdc8881648ca95d24
show more ...
|
#
65a66543 |
| 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: I45c1ed610893020cd9c6479f25c22dd53e153750 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
4e08156b |
| 01-Dec-2022 |
Kumar Thangavel <thangavel.k@hcl.com> |
Fix postcode dbus object path
Postcode dbus object path name is corrected as like postcode manager dbus service with host id for single and multi host postcode manager services
TESTED : Verified al
Fix postcode dbus object path
Postcode dbus object path name is corrected as like postcode manager dbus service with host id for single and multi host postcode manager services
TESTED : Verified all host postcode dbus objects are displayed correctly and tested in Facebook YosemiteV2 platform
Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I18dbdf221aa92544d7e652390564fc0a050bbdd0
show more ...
|
#
c1819379 |
| 27-Oct-2022 |
Bonnie Lo <Bonnie_Lo@wiwynn.com> |
Max post code file size per cycle setting
Let user could set POST code file size per cycle
The default size is 512 counts
Reason: BMC may crash caused by nonstop saving POST code when BIOS has som
Max post code file size per cycle setting
Let user could set POST code file size per cycle
The default size is 512 counts
Reason: BMC may crash caused by nonstop saving POST code when BIOS has some unusual behavior like PXE loop Thus, BMC should set a limit size to prevent this risk
Test Case: Manually send POST code to check the POST code file rotation
Signed-off-by: Bonnie Lo <Bonnie_Lo@wiwynn.com> Change-Id: Ic7fbafe532a79123e6ae880a8a3506f9c397d933
show more ...
|
#
e709874a |
| 21-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
meson: simplify dependencies
Leverage wrapfile `[provide]` directives to simplify the dependency searching in the meson.build.
Change-Id: I7b37d6b9a0aa7b4a5df6f5a2bf28156b4043fc9a
|
#
84855abe |
| 04-Dec-2021 |
Manojkiran Eda <manojkiran.eda@gmail.com> |
build: Switch to meson & c++20 & remove cmake
This commit would add the meson build system support for the phosphor-post-code-manager repository and also switch's the compiler standard to c++20 (so
build: Switch to meson & c++20 & remove cmake
This commit would add the meson build system support for the phosphor-post-code-manager repository and also switch's the compiler standard to c++20 (so that we can leverage the latest C++ constructs).
This commit also add's the cereal dependency. There are source files that assume cereal header files will be present without the meson build explicitly finding that dependency. This leads to compile failure when running in subproject mode.
Tested By: 1. Compile post-code-manager using meson builddir ninja -C builddir 2. copy that executable on to bmc 3. was able to run it and make sure it hosts the dbus interfaces like it used to.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I342108ea3843c3990385a432c4c540e20b9db4cc
show more ...
|