Age | Commit message (Collapse) | Author | Files | Lines |
|
When the last round of reviews added -e to the bash statement, it
exposed a slight flaw, in that when there aren't failures, grep will
return a code if it's not able to find any matches.
This commit changes that such that grep errors are "ignored" in the
context of bash.
Tested:
ran run-repotest.sh on a clean repository, and observed "repo test
passed"
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I716220652d48b9a8489bf4dc0c3b4734b98a70e4
|
|
Ed Tanous (2):
Nullify HttpHeaders per the specification
Make fewer copies
Change-Id: I412974106a5e7098058a084fe9223df812bff23e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (2):
helper: Remove alignof for memcpyAligned()
phosphor-ipmi-flash: Fix all C++ warnings
Change-Id: I9b529a551836ca9cd0bdce5f797f472aad4c94df
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrew Geissler (6):
lg2: convert bmc state manager
bmc-reset: check host boot progress prior to reset
bmc-reset: create error if host was running
bmc-reset: ensure chassis power on target complete
bmc-reset: move to quiesce if host was running
bmc-reset: add service to launch new host recovery
Add new service to install image
Change-Id: I2b3aa0c8c80450295e7884ece74ad9729d3bd66e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Zev Weiss (1):
Enable comments in config json
Change-Id: Ifb2c84391dd0bac009a1f673288ee3e7f705af88
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lotus Xu (1):
Add xdpe12284 support
Change-Id: Ie647b365cf41a019812c08cd50dcdd1e243e7f6a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lakshminarayana R. Kammath (1):
Led: Configs: Rainier: Update led names to reflect pca955x
Change-Id: I93de5c212b460dee16a72eaa1099d91e934a4c94
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Dung Cao (1):
Update to c++20 and meson >= 0.57.0
Change-Id: I168cd80da56ed25917bb44036f4b0cab7ea19490
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Per our documentation, patches outside of a couple specific directories
aren't allowed. This commit implements a build-time check to see if any
new patches have been added. Functionally, because there's several meta
layers that have broken the rules already, it has to contain a check
against the various patches that already exist in the tree. This list
doesn't constitute a grandfather-ing in of those patches, but recognizes
that we can't immediately back them out, and having the maintainers take
care of them will take time.
Of note, this patchset also ignores patches in any of the poky layers,
as we can't define their policies, and allows patches in meta-phosphor,
as a backdoor in case we need a trapdoor to this policy, and all the
maintainers agree to it.
This change was originally checked into openbmc-build-scripts, but was
moved to support more users, and keeping this list up to date. All
comments on the latest review from
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/46064/2
have been addressed.
Change-Id: I1c3e062278b4856cbfda910bdbf122e4b7539f89
Signed-off-by: Ed Tanous <edtanous@google.com>
|
|
This commit adds the repo test scripts to the main openbmc repository to
be used for verification of meta layers. It is intended to go in hand
with
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc-build-scripts/+/46063
to allow testing meta layers at compile time for compliance. For the
moment it is just a no-op test; In the future, more capabilities will
be added.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I034c9cd60590907db73d759eb9d943e3e62e62ec
|
|
OpenSSH recently switched their scp client to default to using the sftp
protocol instead of the legacy scp protocol [0]. There's still an
opt-in flag (-O) available to switch it back, but it'd be nicer to not
require it, and avoid the (sometimes problematic, security-wise)
escaping/interpretation quirks of the scp protocol. (This also allows
using other file-transfer clients like sftp and sshfs.) We're already
compiling dropbear with sftp support anyway, it's just missing the
sftp-server binary.
Tested: in an e3c246d4i build, this increased the squashfs image size by
48KiB, or about 0.25%. With it installed, an OpenSSH scp binary
compiled from current upstream HEAD (commit b0ec59a708b4) could
successfully transfer files to and from the BMC both with and without
the '-O' flag.
[0] https://lists.mindrot.org/pipermail/openssh-unix-dev/2021-September/039616.html
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: I533046cfc85f90307c188ad42ca5c2cedeadfab4
|
|
Pavithra Barithaya (1):
PLDM : Temporary fix in the pldmRepoChangeEvent
Change-Id: Ie130c1bc3211a0d761bfcf45fa3a632811d5ecb5
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sneha Patel (1):
Location codes on Hardware status-Inventory and LEDs
Change-Id: I922b969a22d1b42ca539c8b14a98f638816ae1ed
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (2):
Handle D-Bus exceptions
logging: switch to lg2
Lakshminarayana R. Kammath (1):
Add lkammath as the Reviewer
Change-Id: I53becf23f9e535e1ea47620057c991f96b148cb9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Andrei Kartashev (2):
Inventory.Item.Drive: add Capacity property
Inventory.Item.Drive: add Protocol property
Change-Id: I2e2c9e305427c7944511aa73023b599e5f0c4372
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (1):
regulators: Remove monitoring freq from comments
Change-Id: I98e91ff9132b7317a9e2a2ebae2f72a3d9ea1b46
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matthew Barth (3):
control: Use `poweron_target` in place of `full_speed`
json: Handle compatible interface not existing yet
control: Remove setting target = poweron target at startup
Mike Capps (3):
monitor: Subscribe to tach target and feedback services
Monitor: Support hwmon service offline during startup
Monitor - improved use of Inventory for Sensor func. state
Change-Id: I6044b092861e67b13261c9b4f8c6b4ca4638e04c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Fill in request earlier
Sunitha Harish (1):
EventService : Optimize event data buffers
Change-Id: I8de1220b4c0f1bf804263d2692aac9891833ff76
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
In the current state soft-off service is a hard dependency
(requires) for the host shut down target, so in any case where
the soft-off service fails with an error condition, the shutdown
target fails too.
This commit intends to make soft-off service as a soft dependency(wants)
so that the shutdown target can still proceed even though the
pldmsoftoff service fails for whatever reason.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I5650702c6eb71adab10fdb6493c9d582a9cb0129
|
|
bitbake offers a choice of DEB, RPM or IPK packaging. To a degree the
choice is functionally arbitrary for image generation but control over
the package format becomes important if we want to:
1. Include runtime package management functionality in the firmware image
2. Mess about with the packages on the build system
With respect to 1 the IPK format and opkg (an ipk package manager) are
designed for embedded systems[1] - by contrast to RPMs have heavier
dependencies and a greater impact on the size and complexity of the
firmware image.
Regarding 2, the embedded nature and the need for opkg to work without
much fuss leads to a lower configuration barrier by comparison to RPMs.
With ipk it becomes possible to reuse the packages built during image
preparation for core analysis without needing to generate an SDK:
```
$ export LD_LIBRARY_PATH=./tmp/work/x86_64-linux/opkg-native/*/recipe-sysroot-native/usr/lib
$ MY_DEBUG_ROOT=tmp/rootfs-debug
$ ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/*/opkg.conf \
-o $MY_DEBUG_ROOT \
update
$ fakeroot ./tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg \
-f ./tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf \
-o $MY_DEBUG_ROOT \
install dbus-sensors dbus-sensors-dbg
$ gdb-multiarch
(gdb) set solib-absolute-prefix .../tmp/rootfs-debug
(gdb) add-auto-load-safe-path .../tmp/rootfs-debug
(gdb) file tmp/rootfs-debug/usr/bin/nvmesensor
(gdb) core-file obmcdump_17_9597/core.nvmesensor.0.aae91b519d0e4e0e8bbe746e3f6cd25f.2779.9594000000
Core was generated by `/usr/bin/nvmesensor'.
Program terminated with signal SIGABRT, Aborted.
pthread_kill.c:45
45 pthread_kill.c: No such file or directory.
(gdb) bt
pthread_kill.c:45
../sysdeps/posix/raise.c:26
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/rootfs-debug/usr/lib/libstdc++.so.6
"xyz.openbmc_project.NVMeSensor", this=0x488f04) at
/usr/include/sdbusplus/bus.hpp:234
../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:159
(gdb)
```
This approach documented in the Poky Reference Manual:
https://www.yoctoproject.org/docs/1.0/poky-ref-manual/poky-ref-manual.html#platdev-gdb-remotedebug-launch-gdb-inferiorbins
Switch all machines to IPK to align the debugging experience with
upstream's documentation and to facilitate efficient use of packaged
software at runtime.
[1] https://openwrt.org/docs/guide-user/additional-software/opkg
Change-Id: I8ef526add2d7a6790de1b3eb3fb85cd39b864f23
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Possibly a bug in the CMSG logic in glibc, workaround being submitted to
systemd as https://github.com/systemd/systemd/pull/20752.
Change-Id: Ie8aeecd6bbfd329c2b9c18980d823d4722c01428
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Lei YU (1):
meson_options: Enable all features by default
Change-Id: Ia287c5818adaab33c4f09487b8cdd3cb8f190742
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tejas Patil (1):
Add support for MTU property
Change-Id: I76c79f663a143c1e6cc72cf0d66eaf0bea7d50aa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Brandon Kim (1):
Add Model property to Cpu Interface
Change-Id: I30076561b0553b27f8d60afdc85e904a6cce1cfe
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (2):
Add GeorgeLiu as the Reviewer
Update clang-format
Vishwanatha Subbanna (1):
Add Patrick as the Maintainer
Change-Id: I075aa936f782e993a6427cf266054421f8bfd1f1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jean-Marie Verdun (1):
Add initial support for polarity on a couple of GPIOs
Zev Weiss (2):
Append node number to dbus names more directly
Fix powerControlDir creation failure error message
Change-Id: I7299ba7115a2ea17ef7daefc9da1fc3796da29e4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sneha Patel (1):
Remove unnecessary span from toggle component
Change-Id: If216d4dd69019e0fe2ba483f4c650917b2681550
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (7):
regulators: Clear phase fault history in Device
regulators: Simplify Chassis test cases
regulators: Add detectPhaseFaults() to Chassis
regulators: Simplify System test cases
regulators: Add detectPhaseFaults() to System
regulators: Enable phase fault detection
regulators: Fix race condition in monitor disable
Change-Id: I3ca7bf31b10fb03548c99c04057da770695a1df6
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tim Lee (1):
bmc-state-manager: Add support BMC Reboot Cause feature
Change-Id: I1758df4efde9dec8981c400d95bee740cf1737a7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Jayaprakash Mutyala (1):
Master Write-Read: Validate reserved field content
Change-Id: I2390ef052ea1c593681ebf3a547ca92d03f2b6bc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
George Liu (1):
Update clang-format
Change-Id: I0ad894ebd8caf2bc62b500f4e7e167bdb9e8dc81
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Currently, all received RAs are dropped by systemd-networkd with an
internal error code.
Change-Id: I8df0b587e4d6504c624940ee04f923ba6f166c3f
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Andrei Kartashev (1):
Refactor handling CPUInfo array
Change-Id: I35c6200e0a67b2b962cd629ea4c9efb3a8cfa698
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Mansi Joshi (1):
Fix SMMDR send directory info call
Change-Id: I7205ebf2167ac89fd0c518d1ed4c1efa709fe7d9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
clang-format: apply clang-12 changes
Change-Id: Ifae2213b7017b98ce3530c44fe8c9cc256187703
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tom Joseph (1):
Refactor the verbose tracing in PLDM
Change-Id: I5bed3b2087068a6359db4b146056388cf20ecbef
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Konstantin Aladyshev (2):
Russian translations for the POST code page
Sync ru-RU translation file with the en-US file
Change-Id: If1f76c6350bc9b393569abae2e2e23424c2b8ebf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
build: add phosphor-logging dep and wrap
logging: replace direct journal calls with lg2
Change-Id: Ib0eedad0b41c9848a09da3313717ca594d5ad59a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ali Ahmed (1):
Add SystemType to Systems/hypervisor
Ed Tanous (4):
Remove unused variables in connection class
Rearrange/clean code in connection
fix clang formatting
Clear UserSession in between requests
John Edward Broadbent (2):
Change ownership of boost::req to crow::req
Corrects issues in session
Change-Id: Idaacee582adc86dcbe70d8dfa59fa6984fb255fa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Adriana Kobylak (1):
clang updates
Patrick Williams (1):
clang-format: apply clang-12 changes
Change-Id: I458f6e24203a239399cc54b009df790ef7c491b7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I494bb2352ba068f02dab761fabc7cfcae6a70eb9
|
|
In prep for Ib408e97ff99863cd91bcbcb43a4738d773f4e21c, add the
necessary dependency for phosphor-logging.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2a67d940da9598250e9884c35006f670f68efc72
|
|
The `run_git` in phosphor's os-release.bbappend assumes that the
git repository is in `${COREBASE}`, which is the location of the
`meta/` subdirectory. This is true when building exclusively the
`openbmc` tree but may not be the case when external users attempt
to use the `openbmc` tree as a git-submodule. Create an indirection
(`OS_RELEASE_ROOTPATH`) which defaults to `COREBASE`, but allows
an override for those other use-cases.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4e0171e065379c5030a36ea5be774b5db78bfe34
|
|
Patrick Williams (3):
elog-gen: minor changes to reduce clang-format diffs
elog-gen: sort exceptions for file stability
clang-format: apply clang-12 changes
Change-Id: If208b6a1bbec647c2b1c7208cbf893a3b9d68ddb
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Matt Spinler (1):
Put PowerState On/Off enums in quotes
Change-Id: Iffc7ef537cf0dc5a8869d678363bdf737a463ab7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
updater: Cleanup Active blob to support multiple stages
Change-Id: I996c83a647ed5e0bb376f93a55321c66cc3308fa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Manojkiran Eda (2):
Remove executable permissions for config file
Remove unused function in fru parser code
Change-Id: I7baf892e270e760e9934ee7c1029f461ef6fc4cf
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (1):
regulators: Add detectPhaseFaults() to Device
Change-Id: Ibb7bb699b8d5eaab71821f28f6462e17bbc74a93
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Charles Boyer (1):
service_files: remove StopWhenUnneeded flag in FruDevice service
Konstantin Aladyshev (1):
entity-manager: Fix typos in log messages
Oskar Senft (1):
schema: Add EntityId and EntityInstance to JSON schema.
Patrick Williams (1):
exception: add errno
Zev Weiss (1):
configurations: add ASRock E3C246D4I board
Change-Id: I7c2a5d804f558ba0f94441c52f4d047ce46adb26
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
exception: add errno
Change-Id: I124f8fa8535a5db6c5469b6e760fd1253e424b84
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|