summaryrefslogtreecommitdiff
path: root/meta-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2021-08-26meta-phosphor:fans: Include `fanctl` tool with phosphor-fan-controlMike Capps1-0/+1
This tool allows for controlling fan speeds, viewing targets and feedback values, and diagnostic info about fans and fan-control services. Commands: - status: print the RPM or PWM targets and view RPM feedback values for each fan/rotor. Also shows the health of the fan-control service and BMC power states. - set <target> : sets the targets for all fans (if no additional args) or for a list of one-or-more specific fans. - get : gets the targets and prints rotor speeds for all fans - reload: forces phosphor-fan-control to reload its configuration files by sending the service an interrupt signal. - resume: shortcut to restart phosphor-fan-control if it had been stopped for maintenance. Signed-off-by: Mike Capps <mikepcapps@gmail.com> Change-Id: Iaa7e447d2d5aa977482663ef6dd45aadffc58f55
2021-08-26phosphor-logging: srcrev bump ef952af247..5f285c539dAndrew Geissler1-1/+1
Patrick Williams (7): lg2: introduce motivation and API lg2: initial implementation of C++20 structured logging lg2: support sdbusplus enum conversion lg2: support exception conversion lg2: compile time header format checking lg2: compile time checking for reserved header names log_manager: switch to lg2 Change-Id: I810fb1af065b2066a95b0d2446e48fc7b1d429ea Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26libvncserver: multithread supportTroy Lee1-1/+1
obmc-ikvm runs with two seprated thread to handle connection from user (bmcweb::kvm_websocket) and video device (libvncserver), however both these two thread access to rfb*() API. It leads to client socket double free issue. cl->sock has been set to RFB_INVALID_SOCKET(-1) with first clientClose call. And the second call to clientClose uses -1 in FD_CLR() generates buffer overflow. ``` obmc-ikvm[672]: 24/08/2021 08:45:11 rfbClientConnectionGone: c1=75900748 obmc-ikvm[672]: 24/08/2021 08:45:11 rfbClientConnectionGone: c1=75900748 obmc-ikvm[672]: 24/08/2021 08:45:11 rfbSendUpdateBuf: write: Broken pipe obmc-ikvm[672]: *** buffer overflow detected ***: terminated systemd[1]: start-ipkvm.service: Main process exited, code=dumped, status=6/ABRT systemd[1]: start-ipkvm.service: Failed with result 'core-dump'. systemd[1]: start-ipkvm.service: Scheduled restart job, restart counter is at 1. systemd[1]: Stopped OpenBMC ipKVM daemon. ``` Signed-off-by: Troy Lee <troy_lee@aspeedtech.com> Change-Id: I4bbe69c6d7006e44c5f4a532fb54f9ae9c9cd52b
2021-08-26systemd: set zstd as default PACKAGECONFIGPatrick Williams1-1/+1
Upstream supports zstd compression now as an alternative to zlib or xz. zstd is only slightly larger than xz but is significantly faster. This makes it a better candidate for the journal. Enable it in systemd instead of xz. Add an exemption for witherspoon to continue using xz instead. Having both zstd and xz support built into the image puts us over the flash limit and we currently need xz for phosphor-debug-collector. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6fb55b96776aeeea1c544743b08bdbbc2853e7b7
2021-08-26phosphor-power: srcrev bump 4175ffb76e..5d4a9c78acAndrew Geissler1-1/+1
Shawn McCarney (2): regulators: Add phase fault detection to schema regulators: Add device_id to validation tool Change-Id: I8b282ecfde994a917c05a1d8447c4f644a11b04a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26phosphor-logging: srcrev bump 7bc3908485..ef952af247Andrew Geissler1-1/+1
Matt Spinler (3): PEL: Remove 'no_vpd_for_fru' maintenance procedure PEL: Change BMCSP01 maint procedure to BMC0001 Stop emitting Entry propChanged before ifacesAdded Change-Id: Ia9f4d338478e4449a123d1d94f7057b5849dfe79 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26phosphor-fan-presence: srcrev bump 848799f9eb..b9f94185adAndrew Geissler1-1/+1
Matthew Barth (3): presence: Add machine JSON config files monitor: Add machine JSON config files control: Add machine JSON config files Change-Id: I66417400bf4b4547d6cc54f04b416714ddbcf913 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26bmcweb: srcrev bump 4147b8ac88..877044644fAndrew Geissler1-1/+1
Ed Tanous (1): Fix warning with clang Joseph Reynolds (1): Fix search for OEM privileges Change-Id: Ia64a514f00cb79155a26923cc8c8fabf76a479ce Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26phosphor-dbus-interfaces: srcrev bump 964c4c78a6..6f5241692eAndrew Geissler1-1/+1
Willy Tu (1): watchdog: Add Watchdog Timeout signal Change-Id: I51624d08c020cea1ba77f041c01da0287b0ae1a3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-26pldm: srcrev bump 4e8b1d1883..b6b3cf32b0Andrew Geissler1-1/+1
Brad Bishop (1): treewide: remove 'using namespace' from headers George Liu (1): libpldm: fix entity_association_tree_copy method Isaac Salem (1): pldmbios: Add BIOS attributes hb_key_clear_request Sampa Misra (1): pldmd: use async instead of event loop at start Sridevi Ramesh (1): BIOS: Add 5 new bios attributes in enum_attrs.json Change-Id: If8110b2f79321986bdfb79c0566434e6317457a5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-25meta-phosphor: enable DISTRO_FEATURE 'security'Patrick Williams1-0/+1
The meta-security layer requires the DISTRO_FEATURE 'security' set otherwise it gives a warning: WARNING: You have included the meta-security layer, but 'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-security README for details on enabling security support. This DISTRO_FEATURE doesn't really seem to do anything except enable an additional include file in the linux-yocto recipe (which itself then checks other features). It seems entirely safe for us to enable this feature everywhere to avoid the warning. $ git grep -A4 "DISTRO_FEATURES" | grep "'security'" meta-security/README:to have 'security' in DISTRO_FEATURES to have effect. meta-security/README: 'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files meta-security/classes/sanity-meta-security.bbclass: if 'security' not in e.data.getVar('DISTRO_FEATURES').split() and not skip_check: meta-security/classes/sanity-meta-security.bbclass:'security' has not been enabled in your DISTRO_FEATURES. Some bbappend files \ meta-security/recipes-kernel/linux/linux-yocto_5.%.bbappend:require ${@bb.utils.contains('DISTRO_FEATURES', 'security', '${BPN}_security.inc', '', d)} Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ife1549783b356f87f429466f260f34b9a41d002c
2021-08-24meta-phosphor:fans:control: Enable JSON config install from repoMatthew Barth1-4/+9
Enable installing fan control's JSON config files into the image from the repository by machine name. Change-Id: I2d35783df55c5a154539972d70fb9564b5cb4038 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-08-24meta-phosphor:fans:monitor: Enable JSON config install from repoMatthew Barth1-1/+6
Enable installing fan monitor's JSON config files into the image from the repository by machine name. Change-Id: I14f584c8aa24e18e5ffe9ab3eda8579edb9583c0 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-08-24meta-phosphor:fans:presence: Enable JSON config install from repoMatthew Barth1-6/+12
Add setting the `MACHINE` name to the recipe and pass it to the fan presence package to use in installing its JSON config files for that machine into the image from the repository. Change-Id: Ib782d9013c5ad0cfc1b283563ef07dc812fb12f2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2021-08-24treewide: remove gategarth from layer-supportPatrick Williams1-1/+1
We've typically kept these LAYERSERIES_COMPAT to 2 releases: the current and the upcoming. Remove 'gatesgarth' is it is now 2 releases back. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5e812a94fed1738898af75c0fdee81996a5bbf20
2021-08-24phosphor-logging: srcrev bump 6741692137..7bc3908485Andrew Geissler1-1/+1
Patrick Williams (2): log_manager: use sdbusplus enum directly README: switch build to meson Change-Id: Ibb0ad79b8ad2e948bf731c8fe336ca91a90f47d0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24dbus-sensors: srcrev bump f1ace50bbb..d653b75cd1Andrew Geissler1-1/+1
Bruce Mitchell (1): Corrects bug in using boost::container erase() Change-Id: I7054ab9df096aa592aa0eaeb1c42a96b7803c976 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24telemetry: srcrev bump a74e44f6ef..e702a5de61Andrew Geissler1-1/+1
Lukasz Kazmierczak (1): Modify severity text for discrete Triggers Change-Id: Ie7ff5ae079c7830fdf7d8dd009175bc02b8ee189 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24smbios-mdr: srcrev bump 6e3e9c2598..7ece93a842Andrew Geissler1-1/+1
Mansi Joshi (1): [dimm] Added DDR5 and LPDDR5 Device Type support Change-Id: Idd081770e98856ed653e4f86e905860cf1d17569 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24bmcweb: srcrev bump 1759dc7a35..4147b8ac88Andrew Geissler1-1/+1
Ali Ahmed (1): Add TrustedModuleRequiredToBoot setter function George Liu (1): Move sensor collection to all sensors John Edward Broadbent (2): Refactor callback to free function: Service root connection use setter for completeRequestHandler Tejas Patil (1): Add support for AssetTag in Chassis Change-Id: I41693c835ea87de5b5c479750a58cd916286fe26 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24phosphor-fan-presence: srcrev bump 7a401a2ca8..848799f9ebAndrew Geissler1-1/+1
Matt Spinler (2): control: Use getSubTreeRaw call in addServices control: Create MappedFloor action Change-Id: I2000c04c2caea1d38c05f90d3db3dd3f6bbec9f5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-24stdplus: srcrev bump 8efeaa303b..8056259966Andrew Geissler1-1/+1
William A. Kennington III (5): io_uring: Add wait functions io_uring: FileHandles should convert to int io_uring: Make file handle test more comprehensive io_uring: Improve file handle allocation io_uring: Make it possible to initialize flags Change-Id: I82557f176eed72b53dce68557db19c5e8e73c1ae Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20webui-vue: srcrev bump e020d5818c..c000265df8Andrew Geissler1-1/+1
Dixsie Wolmers (1): Move PowerControlStore to ResourceManagement folder Sukanya Pandey (2): Add system attention indicators Resolve bug for identify LED switch in processor table Change-Id: Iea64064ed7ab6175f3d8121d3d8c4f917446dee2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20pldm: srcrev bump a03b082956..4e8b1d1883Andrew Geissler1-1/+1
Brad Bishop (1): tests: remove an unused header file Change-Id: I61a41ee3505c96a34470f95c8f44a102a1a576fa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-net-ipmid: srcrev bump 05c1447d75..02d17e832eAndrew Geissler1-1/+1
P Dheeraj Srujan Kumar (1): Fix Klocwork Issue:bitwise operation size mismatch Change-Id: I570f12a987e5e9cce950252ae213860c9981b424 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20meta-phosphor: Add openbmc/smbios-mdr recipeJie Yang1-0/+39
Signed-off-by: Jie Yang <jjy@google.com> Change-Id: I856cf1519e033b9b68788f5236c3de727e72ab32
2021-08-20bmcweb: srcrev bump 97128e926c..1759dc7a35Andrew Geissler1-1/+1
Abhishek Patel (1): Fix BIOS privileges Change-Id: Ib9ecb36f4480660a974c7a55c173777c46759543 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-host-ipmid: srcrev bump e990967a0e..d1bd8c48c0Andrew Geissler1-1/+1
Lei YU (1): transport: Set gateway to ethernet interface Change-Id: Id969d503125ede4e08ffc128dee8551af74ede70 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-networkd: srcrev bump 1ea359943a..cb2d408387Andrew Geissler1-1/+1
Lei YU (3): ethernet: Add origin to generateId() Remove the route settings from system config Do not config Gateway when DHCP is enabled Change-Id: Ibb450903e884734e1e39944e485b5142c072472d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-dbus-interfaces: srcrev bump ce8e3892a6..964c4c78a6Andrew Geissler1-1/+1
Andrei Kartashev (1): SEL: add record with custom Sensor/Event Type Change-Id: I8c8369d8631f3a1dd3e5ebf7648b13e38d552fe1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-objmgr: srcrev bump bdaa7f8bb4..efd58275c8Andrew Geissler1-1/+1
Brad Bishop (8): libmapper: hide symbols by default libmapper: fix logic bug build: fix unused-parameter warnings mapper client: drop patch build configuration libmapper: use size_t libmapper: fix memory leak libmapper: allow use of session bus for non-root tests: fix use-after-free Change-Id: I8833ed4148be29506d1648fdafae998f481707ba Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20stdplus: srcrev bump a9cf86f1d2..8efeaa303bAndrew Geissler1-1/+1
Jerry Zhu (1): io_uring params and polling added William A. Kennington III (1): io_uring: Add file registration management Change-Id: I85c74528038359ddd3c236262c63b22dc592fa44 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20sdbusplus: srcrev bump cf0c072281..0ade192c8fAndrew Geissler1-1/+1
Nidhin MS (1): Fix: Unused parameter in object_server.hpp Change-Id: Id0003b7037e6aa904d5f922af7b41d1f93c4dbc2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20pldm: srcrev bump 3a0fe62f5b..a03b082956Andrew Geissler1-1/+1
Brad Bishop (4): readme: remove redundant meson directive readme: add another method for running unit tests libpldmresponder: fix missing newline pldmd: fix null pointer dereference Roland Veloz (1): Adds the TPM Required Policy to the BMC BIOS Sampa Misra (2): pldm requester: fix wrong command type remove the rvalue reference from Request class Tom Joseph (1): libpldmresponder: Move host specific code under build flag gokulsanker (6): libpldm: Added encode API for GetStatus request libpldm: Add decode API for GetStatus response libpldm: Add encode API for CancelUpdateComponent request libpldm: Add decode API for CancelUpdateComponent response libpldm: Add encode API for CancelUpdate request libpldm: Add decode API for CancelUpdate response Change-Id: I633d4c8da339e86434b6613766db067510ecfe04 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-20phosphor-power: srcrev bump 4dc9a30029..4175ffb76eAndrew Geissler1-1/+1
Adriana Kobylak (1): psu-ng: Read and validate input voltage Change-Id: Ib467597be48142f3a3c965b1bf62b6ea4e07d68e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-19webui-vue: srcrev bump 450bdb0a31..e020d5818cAndrew Geissler1-1/+1
MichalX Szopinski (1): Hide "BMC shell (via SSH)" switch button on Intel environment Change-Id: Ia4b4f3cac205083639017dec4f9e928c20bb2c59 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-nvme: srcrev bump 31c3a2f7c9..e9f34c71a5Andrew Geissler1-1/+1
Brandon Kim (1): Add Brandon Kim as MAINTAINERS Change-Id: I5a61d3fb467fa724207ef7b2c3c162bb1010b1f4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18bios-settings-mgr: srcrev bump 5e2cb7206e..8f54ee1804Andrew Geissler1-1/+1
George Liu (1): Remove readOnly attribute check Change-Id: I6ea36bc02db1dab90d5a4b05111efe8dd0a246a2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-fan-presence: srcrev bump de72d5d134..7a401a2ca8Andrew Geissler1-1/+1
Mike Capps (1): New interface for getSubTreeRaw which accepts an array of interfaces. Change-Id: Id51fc3f7e2706c836e518eff5923196ce4886bc3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-sel-logger: srcrev bump f0243dc62f..9f476e82f7Andrew Geissler1-1/+1
Charles Boyer (1): Add Clear method Change-Id: I7892d0e93bab72b65974f61b43dd94cbe2eb26be Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-dbus-interfaces: srcrev bump 5cd00ffb71..ce8e3892a6Andrew Geissler1-1/+1
Charles Boyer (1): Logging: IPMI: Add Clear method Change-Id: I613b475b70a9b5c94b68d26974a9c7839afff2b3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-power: srcrev bump 539b608f4a..4dc9a30029Andrew Geissler1-1/+1
Andrew Geissler (1): reg-config: ensure runs before chassis power on Shawn McCarney (3): regulators: Fix JSON documentation error regulators: Standardize blank line use in schema regulators: Standardize arrays in schema Change-Id: I69f5d4d605513baa5e38fbc5202d4bac6ed1a7fd Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18entity-manager: srcrev bump 09929acf0a..e23af564a2Andrew Geissler1-1/+1
Rashmica Gupta (1): schema: Add virtual sensor schema Change-Id: I718a84ef050d340c80ba788e21d6c630f2488bfa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18dbus-sensors: srcrev bump 5cf0f99210..f1ace50bbbAndrew Geissler1-1/+1
Avenash Asai Thambi (1): PSUSensorMain.cpp: Add support for ADM1266 device. Bruce Mitchell (1): Compute IIO reading from raw with offset and scale Change-Id: I09df7e710ef4f24130790e7a423f8a644c02162c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18webui-vue: srcrev bump 6dba4be612..450bdb0a31Andrew Geissler1-1/+1
Sandeepa Singh (2): Fix translation bug in bmc manager table Resolve the download bug on postcode logs page Change-Id: Ie387df14054a659e7d2a78492e732b60e22a0ac8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18pldm: srcrev bump 33ac59dd77..3a0fe62f5bAndrew Geissler1-1/+1
Chen Du (1): Update PLDM BIOS attribute hb_mirror_memory_mode name Sridevi Ramesh (1): pldmtool: Display GetPDR state set ID possible state names in an array gokulsanker (10): libpldm: Add decode API for RequestFirmwareData request libpldm: Add encode API for RequestFirmwareData response libpldm: Add decode API for TransferComplete request libpldm: Add encode API for TransferComplete response libpldm: Add decode API for VerifyComplete request libpldm: Add encode API for VerifyComplete response libpldm: Add decode API for ApplyComplete request libpldm: Add encode API for ApplyComplete response libpldm: Add encode API for ActivateFirmware request libpldm: Add decode API for ActivateFirmware response Change-Id: I385ddffbb9989b63ce25feec7498feff24352c01 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-debug-collector: srcrev bump 0eadeb7e78..f4694d714fAndrew Geissler1-1/+1
George Liu (1): ramoops_manager: Handle D-Bus exceptions Change-Id: Ibcebfd13c4c9019e3fe540d67e742eae2c4dedfb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-logging: srcrev bump 2ccdcef997..6741692137Andrew Geissler1-1/+1
Matt Spinler (1): PEL: Delete raw PEL file after use Vijay Lobo (1): PEL: Add hidden and subsystem properties Change-Id: I78577b03d481017469a49e7be04cd48335ce3bc8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18bmcweb: srcrev bump dc414b50c1..97128e926cAndrew Geissler1-1/+1
Ed Tanous (1): Add details to bug template Nan Zhou (1): bmcweb: fix the random headers Szymon Dompke (1): Fix update_schemas script Change-Id: I7036320b3f969bc83d0ec6ab0e2c3e4ebdf79351 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-17meta-phosphor: Add option to disable u-boot shellVivekanand Veeracholan4-0/+9
For security, u-boot shell needs to be disabled. Setting the CONFIG_BOOTDELAY to -2 will disable the prompt for entering into shell. -1 will skip executing the commands. >=0 will prompt to enter shell. -2 will skip the prompt. https://github.com/u-boot/u-boot/blob/51aef405550e603ff702c034f0e2cd0f15bdf2bb/common/autoboot.c#L479 Making it configurable through DISTRO_FEATURES. Add "disable-u-boot-shell" to DISTRO_FEATURES for this feature. Signed-off-by: Vivekanand Veeracholan <vveerach@google.com> Change-Id: I1b1e1a6c2552335b13fb3f1a9561d08f3a0e8f94