2ab7341b | 15-Oct-2024 |
Chris Sides <Christopher.Sides@hpe.com> |
service: device-tree node vpd to d-bus hw id data
A daemon for transferring Viable Product Data (VPD) from device-tree nodes to D-Bus as described in the design doc @ https://gerrit.openbmc.org/c/op
service: device-tree node vpd to d-bus hw id data
A daemon for transferring Viable Product Data (VPD) from device-tree nodes to D-Bus as described in the design doc @ https://gerrit.openbmc.org/c/openbmc/docs/+/66369
and discussed in this Technical Oversight Forum topic @ https://github.com/openbmc/technical-oversight-forum/issues/38
Tested: Ensure 'model' and/or 'serial-number' nodes are populated in /proc/device-tree. Can be hardcoded into platform DTS via linux-kernel recipe if needed.
''' After OBMC boot, calling > busctl introspect xyz.openbmc_project.MachineContext /xyz/openbmc_project/MachineContext
produces the following output:
NAME TYPE SIGNATURE RESULT/VALUE FLAGS ... xyz.openbmc_project.Inventory.Decorator.Asset interface - - - .BuildDate property s "" emits-change writable .Manufacturer property s "" emits-change writable .Model property s "hpe,dl360" emits-change writable .PartNumber property s "" emits-change writable .SerialNumber property s "t5texpl" emits-change writable ...
Note: Writing to one of these properties will update the property on D-Bus without affecting the underlying device-tree node. An 'updated' event will be fired, so Entity-Manager probes monitoring a given property would recognize the new value and key off it. '''
Change-Id: Id52d1fc3b26010c864c7e64d3dfdf0a2b5de9294 Signed-off-by: Chris Sides <Christopher.Sides@hpe.com>
show more ...
|
c3db2c3c | 20-Aug-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
meson: use phosphor-logging for debug statements
There is no need to individually patch each file to enable debug logging.
All the different definitions of 'bool debug' are removed in favor of usin
meson: use phosphor-logging for debug statements
There is no need to individually patch each file to enable debug logging.
All the different definitions of 'bool debug' are removed in favor of using phosphor-logging.
Change-Id: Ia9a8ecfa4ea220f588d7cf2d291b14067e0391e7 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
7e11982f | 07-Dec-2023 |
Patrick Williams <patrick@stwcx.xyz> |
meson: adjust nlohmann-json dependency
The meson dependency for nlohmann-json can be simplified quite a bit from what some repositories are doing. Use the simplest form of the dependency and rename
meson: adjust nlohmann-json dependency
The meson dependency for nlohmann-json can be simplified quite a bit from what some repositories are doing. Use the simplest form of the dependency and rename the wrap file for consistency.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I51ecfabc37d4023b33b72e558a5a65f97ae303fd
show more ...
|
14a7bc93 | 01-Aug-2021 |
Andrew Jeffery <andrew@aj.id.au> |
meson: nlohmann/json has a meson build
Exploit the usual configuration available for subprojects that support meson directly.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: Ifef98dc70a2
meson: nlohmann/json has a meson build
Exploit the usual configuration available for subprojects that support meson directly.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: Ifef98dc70a24f41df1b199fcbf28fe034a5526bc
show more ...
|
5139ddd3 | 16-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: wrap: Track upstream HEAD
This is what other OpenBMC projects do. Tracking HEAD can result in reproducibility or strange ordering issues caused by upstream activity; however, it does provide
meson: wrap: Track upstream HEAD
This is what other OpenBMC projects do. Tracking HEAD can result in reproducibility or strange ordering issues caused by upstream activity; however, it does provide some benefits such as quickly identifying upstream bugs or finding incompatible API changes sooner rather than later. Given that the meson subproject workflow is a -secondary- workflow typically used by developers, these are valuable trade-offs and the usual stability contract need not be guaranteed.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Iec7dfe4244b2dfb620fc18cedca3a9615bc275e7
show more ...
|
7f15d0e2 | 16-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
subprojects: remove stray sdbusplus link
This symlink appears to have been added by mistake and causes this error when building with sdbusplus as a subproject:
fatal: could not create work tree dir
subprojects: remove stray sdbusplus link
This symlink appears to have been added by mistake and causes this error when building with sdbusplus as a subproject:
fatal: could not create work tree dir 'sdbusplus': File exists
Fixes: 83b1e9b4a67136d61a51391ff18f20160cbd83d2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ie86dc6c1f77ba12dd9e1fd94caf49ea351ab3967
show more ...
|
795c235d | 16-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: wrap: Update valijson
Move to v0.6. v0.4 doesn't build with the following error:
In file included from ../subprojects/valijson/include/valijson/constraints/concrete_constraints.hpp:24,
meson: wrap: Update valijson
Move to v0.6. v0.4 doesn't build with the following error:
In file included from ../subprojects/valijson/include/valijson/constraints/concrete_constraints.hpp:24, from ../subprojects/valijson/include/valijson/schema_parser.hpp:10, from ../src/Utils.cpp:33: ../subprojects/valijson/include/valijson/constraints/basic_constraint.hpp:32:5: error: template-id not allowed for destructor
Change-Id: I10a8dbfed88261db7ca1fd89f72b430e2835ae4a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
4e98940d | 01-Mar-2022 |
Ed Tanous <edtanous@google.com> |
Don't tidy/format files in subproject
This pattern and files are copied from bmcweb.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: If048cbd458bb7e1bcf704daf60cf060af359ef81 |
83b1e9b4 | 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I17001575bc409351f5187b1b269e66968d402c1c |
8087c3ed | 02-Aug-2021 |
Andrew Jeffery <andrew@aj.id.au> |
subprojects: valijson: Update to v0.4
v0.4 contains 66262bafb82c ("Include nlohmann/json.hpp instead of json.hpp") which allows the valijson subproject to build correctly against the nlohmann-json s
subprojects: valijson: Update to v0.4
v0.4 contains 66262bafb82c ("Include nlohmann/json.hpp instead of json.hpp") which allows the valijson subproject to build correctly against the nlohmann-json subproject.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I7af7c6a90f4bbd37ab1a737cf3625cf63cee342b
show more ...
|
55ae5a88 | 02-Aug-2021 |
Ed Tanous <edtanous@google.com> |
Revert "meson: nlohmann/json has a meson build"
and Revert "meson: Rework valijson subproject dependency"
This reverts commit 9fedd141288d36d41345305532251e4659535751. and e7948f447eaeb3afaa78d5d29
Revert "meson: nlohmann/json has a meson build"
and Revert "meson: Rework valijson subproject dependency"
This reverts commit 9fedd141288d36d41345305532251e4659535751. and e7948f447eaeb3afaa78d5d298dc12b0730b8a84.
As they break the yocto build.
Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I8034a362f0866342a1527f468dc84a6ff1c67bd7
show more ...
|
e7948f44 | 01-Aug-2021 |
Andrew Jeffery <andrew@aj.id.au> |
meson: Rework valijson subproject dependency
Change-Id: I96417251d9a73619cd014b93fd6067e51cc416d3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
9fedd141 | 01-Aug-2021 |
Andrew Jeffery <andrew@aj.id.au> |
meson: nlohmann/json has a meson build
Exploit the usual configuration available for subprojects that support meson directly.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I410cc14ca42
meson: nlohmann/json has a meson build
Exploit the usual configuration available for subprojects that support meson directly.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I410cc14ca426b1c4c26600f6a72a47aa4d944570
show more ...
|
7d536012 | 20-May-2021 |
John Edward Broadbent <jebr@google.com> |
change source URL for boost
The old URL does not work, so this changes it to a yoctoproject url. see https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/43405
Tested: The following error is not p
change source URL for boost
The old URL does not work, so this changes it to a yoctoproject url. see https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/43405
Tested: The following error is not present after change "could not get http://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.gz is the internet available?"
Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: Iddef20526c8b2fa1b083a71558a23712f21c21a2
show more ...
|
844bf77a | 12-Sep-2020 |
Andrei Kartashev <a.kartashev@yadro.com> |
meson: update nlohmann subproject to 3.7.3
Bump nlohmann to version used in OpenBMC 2.8
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I831be642aef217ccf8c6a0abb1f93efabcd98ac7 |
98063a40 | 15-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: add support for gtest library vendoring
Download gtest and build against that when gtest is not found in the usual places, so that unit tests can be built and run without needing to install g
meson: add support for gtest library vendoring
Download gtest and build against that when gtest is not found in the usual places, so that unit tests can be built and run without needing to install gtest.
Change-Id: I830ce6de761905f30da1c47395d9f8bd7fb18bd4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
6765d90a | 15-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: add support for sdbusplus library vendoring
Abuse the meson subproject command to download sdbusplus and build against that when it is not found in the usual places.
This is abuse because th
meson: add support for sdbusplus library vendoring
Abuse the meson subproject command to download sdbusplus and build against that when it is not found in the usual places.
This is abuse because the subproject command will always fail - meson only supports other meson projects as subprojects but it will download the project.
Build sdbusplus at configure time and link to that. Cross compiling might work but it is not supported and not a good idea - the intent is to enable building and running of the unit tests without needing to install sdbusplus.
Change-Id: Ic888dbce3ac189eb4163a125c49cf336d357983b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
ff1ddb7e | 15-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: add support for valijson library vendoring
Abuse the meson subproject command to download valijson and build against that when valijson is not found in the usual places. This enables the bui
meson: add support for valijson library vendoring
Abuse the meson subproject command to download valijson and build against that when valijson is not found in the usual places. This enables the building and running of the unit tests without needing to install valijson.
This is abuse because the subproject command will always fail - meson only supports other meson projects as subprojects but it will download the project, and since we don't actually build valijson but just use headers this isn't a problem.
Change-Id: I2595b3deec73ac503934b91bdf52f72399032bcb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
79a09a8d | 15-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: add support for nlohmann-json vendoring
Abuse the meson subproject command to download nlohmann and build against that when nlohmann is not found in the usual places. This enables building a
meson: add support for nlohmann-json vendoring
Abuse the meson subproject command to download nlohmann and build against that when nlohmann is not found in the usual places. This enables building and running of the unit tests without needing to install nlohmann.
This is abuse because the subproject command will always fail - meson only supports other meson projects as subprojects but it will download the project, and since we don't actually build nlohmann but just use headers this isn't a problem.
Change-Id: I3cff76f8face3ebe66611d169775b472c18b1e4c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
787e828b | 15-Jan-2020 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
meson: add support for boost library vendoring
Abuse the meson subproject command to download boost and build against that when boost is not found in the usual places. This enables building and run
meson: add support for boost library vendoring
Abuse the meson subproject command to download boost and build against that when boost is not found in the usual places. This enables building and running the unit tests without needing to install boost.
This is abuse because the subproject command will always fail - meson only supports other meson projects as subprojects but it will download it, and since we don't actually build boost but just use headers this isn't a problem.
Change-Id: I54aae9e92aa0e2f7bf7540b21ae9838609c950df Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|