Age | Commit message (Collapse) | Author | Files | Lines |
|
Matt Spinler (2):
Change #ifdef to #if after move to meson
Remove autotools files
Change-Id: I8f22b9ef4ea0ab080ef7a3836e7a81b4d3335da2
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ali Ahmed (1):
Fix typos in comments
Change-Id: Ifeaede62ba83f55877f9bfb55c0ad2b5ffefc024
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Chris Cain (1):
Control.Power.Mode: Add System Power Mode Interface YAML
Jonathan Doman (1):
Add UniqueIdentifier interface
Patrick Williams (1):
build: minor fix to meson regen script changing
Change-Id: I3e6711e4bb7e5db68523b1cb28280d04c051a664
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Alpana Kumari (1):
Support XYZ interface for Location code
Change-Id: Ia1e9b27d0379283cf28df8e4518d904961bbd666
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Vishwanatha Subbanna (1):
Configs: Rainier: Add led group json for Rainier 1S4U system
Change-Id: I0c67d75a440aa222e8b7a6b24c0bc76ce961432d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I9748c5ec4f057b8db2d963597d918500f7869d8f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I7a4c4f81532605e60deee58ab4b2e39e350ad827
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
gsj should be using the meta-common mac-address. Remove the gsj specific
mac-address.bb
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Iad1daca6308f4952816ba5fa6192cd6a161a75ca
|
|
phosphor-dbus-interfaces: srcrev bump 32fbd5df09..5d0b767aeb
Alpana Kumari (1):
InventoryItemDimm: Change the type of 'MemorySizeInKB'
Andrew Geissler (1):
host: define new interface for checking condition
Patrick Williams (1):
Sensor.Value: add defaults for min/max
phosphor-inventory-manager: srcrev bump 21e72fb2a5..ab1f8b520a
Alpana Kumari (1):
Support Variant Type size_t
Change-Id: I189ab6583b43d36ec58d55c857220fb388799f78
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Tested:
Tested in Yosemitev2 with OCP debug card.
Signed-off-by: Manikandan Elumalai <manikandan.hcl.ers.epl@gmail.com>
Change-Id: I6260a84862f71012dc07cea372dccea02de77f54
|
|
It was found that perf(1) had some issues with recording and analysing
data on Rainier systems:
```
root@rainier:~# perf probe --add mem_serial_in
root@rainier:~# perf record -e probe:mem_serial_in -aR sleep 1
[ perf record: Woken up 1 times to write data ]
assertion failed at util/namespaces.c:257
No kallsyms or vmlinux with build-id e4e9c7cff1deb3bf32958039c696f094dc76cf5c was found
[ perf record: Captured and wrote 0.377 MB perf.data (25 samples) ]
root@rainier:~# perf script -v
build id event received for [kernel.kallsyms]: e4e9c7cff1deb3bf32958039c696f094dc76cf5c
broken or missing trace data
incompatible file format (rerun with -v to learn more)
```
Starting with the failed assertion in the recording, we find the
relevant code is the following WARN_ON_ONCE():
```
void nsinfo__mountns_exit(struct nscookie *nc)
{
...
if (nc->oldcwd) {
WARN_ON_ONCE(chdir(nc->oldcwd));
zfree(&nc->oldcwd);
}
```
A strace of `perf record` demonstrates the relevant syscall sequence,
where /home/root is the working directory at the time when `perf record`
is invoked.
```
openat(AT_FDCWD, "/proc/self/ns/mnt", O_RDONLY|O_LARGEFILE) = 12
openat(AT_FDCWD, "/proc/142/ns/mnt", O_RDONLY|O_LARGEFILE) = 13
setns(13, CLONE_NEWNS) = 0
statx(AT_FDCWD, "/mnt/rofs/bin/udevadm", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|0x1000, stx_attributes=0, stx_mode=S_IFREG|0755, stx_size=978616, ...}) = 0
openat(AT_FDCWD, "/mnt/rofs/bin/udevadm", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 14
setns(12, CLONE_NEWNS) = 0
chdir("/home/root") = -1 ENOENT (No such file or directory)
```
From the path of the binary, PID 142 is executing in an unanticipated
environment. Its path is representative of the state of the filesystem
prior to the initramfs handing over to /sbin/init in the real root,
suggesting an issue with the initramfs' /init implementation.
In /init we find a bunch of setup to discover and mount the root device.
At the end of the script we prepare for the real root by exec'ing chroot.
From `man 2 chroot`[0]:
```
DESCRIPTION
chroot() changes the root directory of the calling process to that speci‐
fied in path. This directory will be used for pathnames beginning with /.
The root directory is inherited by all children of the calling process.
```
Specifically, this outlines that chroot(2) affects the state of the
calling *process* and not the state of mount namespace in use by the
process.
Further, a call to `setns(..., CLONE_NEWNS)` explicitly replaces the
mount namespace for the *process*, and as such destroys any chroot state
that might have been associated with the process' original mount
namespace. As the chroot state is not a property of a mount namespace,
switching *back* to the application's original mount namespace does not
restore the process' original chroot state.
As such, the chdir(2) from the strace output above returns an error, as
the get_current_dir_name(3) call that yielded the provided path was
issued prior to switching into the target process' mount namespace, and
was thus derived in the chroot context. The path is therefore invalid
once the original mount namespace is restored via the second setns(2) as
the process has (already) lost the chroot context for the original
namespace.
For perf(1) to work in its current implementation the effective root for
PID 1 must remain the absolute path "/" with respect to the kernel's VFS
layer. This requires /init to use either pivot_root(1) or
switch_root(1). pivot_root(1) is ruled out by its own man-page[1]:
```
NOTES
...
The rootfs (initial ramfs) cannot be pivot_root()ed. The recommended
method of changing the root filesystem in this case is to delete every‐
thing in rootfs, overmount rootfs with the new root, attach stdin/std‐
out/stderr to the new /dev/console, and exec the new init(1). Helper pro‐
grams for this process exist; see switch_root(8).
...
```
As noted, the recommendation is a description of the switch_root(8)
application[2]. The details of why the specific sequence for
switch_root(8) is necessary is documented in [3].
Change /init to use switch_root(8) to avoid the nasty interaction of
chroot(2) and setns(2).
[0] https://man7.org/linux/man-pages/man2/chroot.2.html#DESCRIPTION
[1] https://man7.org/linux/man-pages/man2/pivot_root.2.html#NOTES
[2] https://man7.org/linux/man-pages/man8/switch_root.8.html
[3] https://git.busybox.net/busybox/tree/util-linux/switch_root.c?h=1_32_1#n298
Change-Id: Iac29b53a462b03559d18fe9b600aefcd1951057e
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I4e14b5fb556a03c254253aa3da8cd0ca7b1140b1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Roland Veloz (1):
pldmbios: Adding a BIOS attribute that can limit the number of cores activated
Change-Id: I64738d5997a677d06755cae141ceb8d8ba1233cc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD
Change-Id: I010483a6110a394aed137308cf91bdef968bdb2e
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Charles Hsu (1):
Add timing configurations into power-config-host0.json
Change-Id: I545d4072ba16c1c27d296cf1c44e6ad7731d8e3c
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Pavithra Barithaya (1):
PLDM: Remove Boot Progress entry from 11.json
Change-Id: I9112c4995f62d25f8ef314659133c68be2b3574b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: Ib15357fce19134618d9a1fc1a77472d3af7a078d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD
Change-Id: Iecc9bfbacc31d9e9f3664740aa0110341efd382a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ed Tanous (1):
Apply autojson to all existing configurations
Change-Id: Ic370d2239238fb61abb339604ba197d34e19667a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Harvey Wu (1):
Add MaxValue/MinValue setting in config
Patrick Williams (1):
add clamping of min/max
Change-Id: I211e030021d95eeaa8378bd4cdcca4a6f64a90e1
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (2):
regulators: Remove SensorReading data type
regulators: Convert to new SensorType enumeration
Change-Id: I4437444e80b5e2a8e4e691ca764d36874021616b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Chicago Duan (1):
Redfish: Fix the health and state properties of processor
Ivan Mikhaylov (1):
bmcweb: fetch ip address on every request in handle
Noah Brewer (1):
Redfish: Update Powering On Status State
Change-Id: If55fa3b7c6725e7f8d1e50e7e1fd1f8eadf5a6f9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Discord has more users. IRC traffic has ground to a halt.
Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: I3eeacc4db49fd984e51977e3f19709b01a16760c
|
|
Discord has more users. IRC traffic has ground to a halt.
Signed-off-by: Bruce Mitchell <bruce.mitchell@linux.vnet.ibm.com>
Change-Id: Id05add33dec77dae51da91b314babc74bf51c685
|
|
meta-gsj is using SRCREV = "${AUTOREV}" which is outdated.
Instead, use the bitbake from meta-common similar to meta-gbs.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7c05b04987d10382329e7e813e71d0d79f2c4b9e
|
|
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Idce541a84d476fa9c5af0fd1311eee9f9732679b
|
|
Use service files instead of setting D-bus properties for power
control and remove unused patches
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I6f80979906e87b77b36a6e333456d4e5c42249ce
|
|
- meson.build doesn't parse the led.yaml you provide,
so replace the yaml file of source before compiling
- install service-override.conf directly intead of
using SYSTEMD_OVERRIDE to avoid package name
changing
- remove unused json config
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I28c72dfabf32d22f917ca1e244f5b700ae941667
|
|
They should be the cable sensor type
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5056a7bd51effdc34ca89966da8ab4f666bbc92a
|
|
- fix comments for kernel build warning
- add gpio-keys configs due to the following commit:
https://gerrit.openbmc-project.xyz/40930
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3129f96a6d2d45f8d72d7cf4be806126c89f3cc0
|
|
gbs-sysinit requires i2c-tools and gbs-hotswap-powercycle requires
libgpiod-tools. Declare the RDEPENDS in the bitbake file.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I28bdb2cc138e301faa395eb9150cc7624b93c8a3
|
|
Matt Spinler (1):
docs: Update presence GPIO I2C path
Change-Id: I6ce3b54616276bce9af78f1a3360f5b41b46e5dc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Ravi Teja (2):
CA Certs: Modify object entry path to fix object sub-tree hierarchy
CA Cert: Fix D-bus object path
Change-Id: Ic4e436a9d53a070f0d77e8385b59ccee72ce21bc
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
bootstrap: fix shellcheck warnings
enable shellcheck
Change-Id: I07d94247a32e6d4445ed41a10aeaf60c78ccb824
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (1):
bootstrap: fix shellcheck warnings
Change-Id: I4e2520684dc4db95c83ea594b0dba5ddbfddc5fa
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (2):
bootstrap: fix shellcheck warnings
MAINTAINERS: update email address for Deepak
Change-Id: I981608726571865e56d72f6ff754995a20757236
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Shawn McCarney (3):
regulators: Create DBusSensors class
regulators: Remove Services& from Sensors methods
regulators: Add Sensors to Services hierarchy
Change-Id: I4e071b4b28dd8017221b4ab87813ad751b36a864
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lei YU (3):
Re-organize internal namespace
Get ignored interfaces from environment
Ignore the interfaces defined in IGNORED_INTERFACES
Change-Id: I61343d73f65bdd89eafc5d187a9a0d03a160e98a
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Lei YU (1):
PSUSensor: Add support for inspur-ipsps driver
Zev Weiss (1):
Add Unit property to dbus interfaces
Change-Id: I9c1fcae7d72970ade3d62ca91393173e537ff514
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Patrick Williams (3):
build: add wrapfiles for dependencies
build: update to C++20
build: fix dependency check for nlohmann/json
Change-Id: If94ec66c6120627d0333a45f40aa0476d5e9ada9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This updates the OpenBMC u-boot tree to use ASPEED's latest SDK, and
adds support for FIT verification including use of the HACE to perform
SHA calculations on the ast2600.
The changes come in three categories; fixes backported and sent to
ASPEED for merging in a future SDK release, patches carried that are
specific to OpenBMC, and the new FIT and HACE support.
Note that this does not remove the legacy image support from the SPL, so
there is no dependency on the changes to load u-boot as a FIT.
Fixes backported from upstream and set to ASPEED:
Harald Seiler (1):
common: hash: Remove a debug printf statement
Heinrich Schuchardt (2):
fit: check return value of fit_image_get_data_size()
image-fit: fit_check_format check for valid FDT
Jean-Jacques Hiblot (1):
spl: fit: don't load the firmware twice
Joel Stanley (4):
hw_sha: Fix coding style errors
hash: Allow for SHA512 hardware implementations
net/ncsi: Remove debugging
fit: Use hash.c to call SHA code
Patrick Doyle (1):
rsa: reject images with unknown padding
Reuben Dowle (1):
Add support for SHA384 and SHA512
Simon Glass (3):
image: Be a little more verbose when checking signatures
image: Return an error message from fit_config_verify_sig()
image: Check hash-nodes when checking configurations
Patches carried in the OpenBMC fork:
Eddie James (3):
ARM: dts: Aspeed: Tacoma and Rainier: Add eMMC nodes and parameters
arch: ARM: Aspeed: Add SPL eMMC partition boot support
configs: Add AST2600 SPL eMMC configuration
Joel Stanley (11):
dts: ast2600-evb: Enable FSI masters
tools: Add script for generating recovery image
configs: Add OpenBMC spl defconfig for AST2600 boards
clk: ast2600: Add divisor settings for 100MHz PLL
ram: ast2600: Enable device tree based DDR config
ast2600: tacoma: Run DDR at 1333
ast2600: Allow selection of SPL boot devices
config: ast2600: Reduce SPL image size
ast2600: Modify SPL SRAM layout
config: ast2600: Enable FIT signature verification
clk: aspeed: Add HACE yclk to ast2600
Features added for FIT verification and HACE support:
Joel Stanley (10):
configs/ast2600: Make early malloc pool larger
crypto: Add driver for Aspeed HACE
ast2600: Enable HACE probing in SPL
ast2600: Add HACE to device tree
ast2600: spl: Add ASPEED_LOADERS option
ast2600: spl: Support common boot loader features
config: ast2600: Configure common MMC SPL loader
configs: ast2600: Enable FIT SHA512 support
ast2600: Configure u-boot load size
configs: ast2600: Use non-a1 config for openbmc spl emmc
Change-Id: I4e5a1adb6e2bf17823b042c31b151bfdad9d3175
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Change-Id: I3cc51f3d5885e983ca6f901c103eec4e64c9943c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Using mapper wait to ExecStartPre would quit immdiately
while the D-Bus path is not active yet, so change to
add to "After=" to make sure it would wait until the
D-Bus path work
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I86029f4eba6b34b5c313ec9cc1578ef173d5c2aa
|
|
limit the max number of IPMI SEL logs as 256 since the logs
would store in persistent path (/var/lib/phosphor-logging/errors)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I120623a934bd9fa6e8dd5c9b372b110287ef85d5
|
|
remove u-boot-fw-utils/clear-once packages since we don't
use u-boot environment
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ideb8ece3529bd8fea658f9c160551950773d6d13
|
|
- Update IPMI Chassis Control command transition requests:
https://gerrit.openbmc-project.xyz/29051
- Add Chassis State Transition interface
https://gerrit.openbmc-project.xyz/29050
- Update Host State Transition function
https://gerrit.openbmc-project.xyz/29049
- Fix issues and support signed sensor values
https://gerrit.openbmc-project.xyz/26754
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ice305cb9a9e390099a828e872af451e832d59749
|
|
The following changes were merged to mainline in v5.13 and have been
backported to the openbmc dev-5.10 tree.
Most are device tree changes, with one fix to the SPI layer and some
changes to the LPC devices to match the new device tree.
Alpana Kumari (2):
ARM: dts: aspeed: rainier: Add presence GPIOs
ARM: dts: aspeed: everest: GPIOs support
Brandon Wyman (1):
ARM: dts: aspeed: everest: Add power supply i2c devices
Chia-Wei, Wang (5):
dt-bindings: aspeed-lpc: Remove LPC partitioning
ARM: dts: Remove LPC BMC and Host partitions
ipmi: kcs: aspeed: Adapt to new LPC DTS layout
pinctrl: aspeed-g5: Adapt to new LPC device tree layout
soc: aspeed: Adapt to new LPC device tree layout
Eddie James (9):
ARM: dts: aspeed: rainier: Enable fan watchdog
ARM: dts: aspeed: rainier 4U: Fix fan configuration
ARM: dts: aspeed: everest: Add FSI CFAMs and re-number engines
ARM: dts: aspeed: everest: Add RTC
ARM: dts: aspeed: everest: Enable fan watchdog
ARM: dts: aspeed: Add Rainier 1S4U machine
ARM: dts: aspeed: Rainier: Fix PCA9552 on bus 8
ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
ARM: dts: aspeed: Rainier: Update to pass 2 hardware
Jim Wright (1):
ARM: dts: aspeed: everest: Add UCD90320 power sequencer
Joel Stanley (2):
ARM: dts: aspeed: rainier: Add missing fan nodes
ARM: dts: aspeed: everest: Add size/address cells
Konstantin Aladyshev (1):
ARM: dts: aspeed: amd-ethanolx: Enable all used I2C busses
Matthew Barth (2):
ARM: dts: aspeed: everest: Add max31785 fan controller device
ARM: dts: aspeed: everest: Add pca9552 fan presence
Paul Fertser (1):
ARM: dts: aspeed: tiogapass: add hotplug controller
Priyanga Ramasamy (1):
ARM: dts: aspeed: everest: Add I2C components
William A. Kennington III (1):
spi: Fix use-after-free with devm_spi_alloc_*
Change-Id: Ia5425c9cea3fe025f84e93f688ecd8ffec75ad01
Signed-off-by: Joel Stanley <joel@jms.id.au>
|
|
Adjust ro/rw partition offset according to the kernel dts
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I78d6e6d689de22e96b900ed1ce97714102d18473
|
|
Remove ikvm and fru-device packages
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3a6cb2b92ffcae11b775813bec12190399d27c88
|
|
1. Remake the patch to fix includes error:
- Implement sensor "ASYNC_READ_TIMEOUT"
https://gerrit.openbmc-project.xyz/24337
- Add power on monitor mechanism
https://gerrit.openbmc-project.xyz/28181
2. Set negative-errno-on-fail flag as false
explicitly, otherwise it would be true
conflicts with update-functional-on-fail
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id550bc5261e6fa7218e2ff2731e1af51487ee376
|