Age | Commit message (Collapse) | Author | Files | Lines |
|
This is no longer needed, the latest upstream version of the recipe has
added both of these by default:
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/52492/4/poky/meta/recipes-extended/zstd/zstd_1.5.2.bb
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I01e4404ba1694c1f8f7436e4ccf52fae4b5eb156
|
|
Change Ifb47c08571e6297f643db5daf135349bc0fbf888 adjusted the LICENSE
but missed a corresponding update to the LIC_FILES_CHKSUM. Make them
match.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0170a4b79cc593dd819c8eb5bc1bb3304ccb3e73
|
|
Per [1], upstream removed the generic "BSD" license. The libconfig-perl
package doesn't have an explicit LICENSE or COPYING file but instead has
a single line in the readme that states the license is "bsd".
Considering the OE commit says that the license-formally-just-BSD is
more formally BSD-3-Clause, update this recipe as such.
1. https://git.openembedded.org/openembedded-core/commit/?id=14d4c007c49652d836d325a12bdbcd3bfa42e6d5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ifb47c08571e6297f643db5daf135349bc0fbf888
|
|
Steve Foreman (1):
Add IPMI interface for CustomAccel service
Willy Tu (1):
google-ipmi-sys: Remove venture from reviewer
Change-Id: I2f5ad610c15a1ca3f853edfafd5c53881b265410
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
We don't want to continue running DHCP after a machine is ready to serve
traffic. We will only run the DHCP process for a short amount of time if
we can determine that the BMC can reach network services because it was
already correctly configured.
Change-Id: Ie79e0582718af88a4a170b2a77beebfbadd5d0af
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I71d6114928ae63c7a98deb723a25bb7e82e1bf13
Signed-off-by: Willy Tu <wltu@google.com>
|
|
The entity map is now used for ipmid/dbus-sdr and will cause ipmi
failures after
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/46882
Remove the default json and only allow system that require it to
override it.
Tested:
```
$ cat ./tmp/work/all-openbmc-linux/phosphor-ipmi-config/1.0-r1/package/usr/share/ipmi-providers/entity-map.json
[]
```
Change-Id: I0ef8248a0d7d99fa0c9e3199c4eceb664bc624cf
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Willy Tu (1):
google-ipmi-i2c: Fix Deserialize request step header bytes variable
Change-Id: I9a13fa195573056605a873f1b6c9f71bc2c7bd4b
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
rngd will exit with a failure code if none of the provided entropy
schemes are present. This enables us to start a fallback service if the
hwrng is not present.
Tested:
```
$ cat /lib/systemd/system/rngd-nojitter.service
[Unit]
OnFailure=rngd.service
Conflicts=rngd.service
Description=Hardware RNG Entropy Gatherer Daemon
DefaultDependencies=no
After=systemd-udev-settle.service
Before=sysinit.target shutdown.target
Wants=systemd-udev-settle.service
Conflicts=shutdown.target
[Service]
EnvironmentFile=-/etc/default/rng-tools
ExecStart=/usr/sbin/rngd -f -x jitter $EXTRA_ARGS
CapabilityBoundingSet=CAP_SYS_ADMIN
IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service
[Install]
WantedBy=sysinit.target
$ cat /lib/systemd/system/rngd.service
[Unit]
Description=Hardware RNG Entropy Gatherer Daemon
DefaultDependencies=no
After=systemd-udev-settle.service
Before=sysinit.target shutdown.target
Wants=systemd-udev-settle.service
Conflicts=shutdown.target
[Service]
EnvironmentFile=-/etc/default/rng-tools
ExecStart=/usr/sbin/rngd -f $EXTRA_ARGS
CapabilityBoundingSet=CAP_SYS_ADMIN
IPAddressDeny=any
LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes
ProtectHostname=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectSystem=strict
RestrictAddressFamilies=AF_UNIX
RestrictNamespaces=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service
[Install]
```
Change-Id: I0ccc4ca88818b1944fe3c7914671550654980791
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Set jitter to use only single thread. gBMC systems will always at least
2 CPU, so it won't take up everything.
Change-Id: I43215a4ebca680d3d340062cc9f99a33ab36a60f
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Willy Tu (3):
build: Add meson build for google-ipmi-i2c
build: Remove autotools
google-ipmi-i2c: Refactor to use new version of OEM IPMI Handler
Change-Id: I37a1b3f7fb9814ae9ca7f5533c35cfd6d59d3f99
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The timeout of 60s is causing tests with Qemu to fail for gBMC. This is
not an issue with real machines. Increase the timeout to avoid the
issue.
Change-Id: Ie1c206349dc21eecbfb5fd7350b4f643b08d9708
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Change-Id: Ic59f61a4bc3562e7f9bb0204f701e13d3c1a203f
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Idc9f3be1f11612f093b12df79365c7c66667eb04
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We only want to allow valid prod hostnames such as `jtyl0` or `fgh10`
and not hostnames like `ovss`.
Change-Id: I0acf9405ff331a06526a52fe1b410458b122893a
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Make it possible to configure two interfaces with identical mac
addresses. This can be configured with a line similar to
`GBMC_MAC_IF_MAP = "[0]='gbmcbr eth1'"` to assign the same offset 0 mac
to gbmcbr and eth1.
Change-Id: I33e3edac4c59c5b2338fd3fd58ac655df47ef812
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This makes it possible to choose something other than EEM.
Change-Id: Id3bd080efa63eddd1d413df19bc373eef96ac359
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
* Deprecate N-1 release (hardknott).
* Enable N+1 release (kirkstone).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I39e027e02dab64b4390b46ffbd9c299c858f403e
|
|
We don't want to accidentally notify or continue on with the DHCP
netboot process until after the updated image is installed.
Change-Id: I05504632950566694e9dd60b25bd85c99b588f90
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This will allow us to have non-bridge USB devices on the system.
Change-Id: I5102fa8e1039013d9629b889350d46c6acf5cde3
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to respond to neighbor solicits over NCSI for all public IPs
on the bridge.
Change-Id: I9179ca6cb82d956a6b1db82c075e803248d7248d
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This is not needed for runtime service to work correctly as the bridges
on both sides come up before the USB device is present anyway.
Change-Id: I27b6ad5b265ff18f78f41388d26b02ced39749ae
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This about doubles the performance of the network interface over USB2
Change-Id: Id8f79435b9cb7f02fa9094bf50e90023dfe188a8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This makes it possible for our installation service to determine when
the BMC is ready to continue after DHCP.
Change-Id: I62f31c39a9d5849d18f81ab58c88e9e5ef4b9737
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We don't want to report a successful DHCP if some of the hooks failed to
run.
Change-Id: Iaafa555fa99381f0c7ff6bd05fd7038366356fbd
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This will be picked up by the gbmc-bridge DHCP process in another
change.
Change-Id: Id80688d0d7a7872bca2eec70c31468a483f72feb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The MAINTAINERS files are no longer used and are out of date (references
to IRC still exist in most of them). Remove them and rely on the OWNERS
exclusively.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I0f5d2719ad97e218ce03c4503efe1b1c92ac455e
|
|
William A. Kennington III (1):
ncsid: Fix IP / Gateway updating
Change-Id: Ia010aa536100c4e42189412510e68921108fca6d
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (4):
libcr51sign: Temporarily ignore deprecate functions
ncsid: Fix update_ra_gw for multi-RA
dhcp-done: Add daemon
ncsid: Use per-interface gateway
Change-Id: I1205ef4bea5a2d428b932e6103cef54bb5e47f7f
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Willy Tu (1):
google-ipmi-i2c: Remove venture from reviewer
Change-Id: I5c6312f7484607b862d8fdf15dfef479a242b001
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
A powercycle will be required in order to kick off DHCP again. If the
machine succeeds once, the power cycle service will be available for
future attempts.
Change-Id: I3b741250fd673bbe19056506f7287ef2ed734ea0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Sometimes, the first value returned is not stable and not what is
expected from the FRU. If we perform multiple queries we can get a
stable reading and correctly detect word length.
Change-Id: I73a88870bef231566f0249d0629c751be6a5002c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
A number of machines need network debugging and it's useful to have this
available in our dev builds.
Change-Id: I37c0a7317295fb6d75c2fcf2cc913b63dd9b20a7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We don't want to break the build if the compiler becomes more strict.
Change-Id: I942a18373fb154f3a4b6dea646e8cec532a5d347
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Tested: builds
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I43d7ff60626c11195c887dfb169aec72c171e1f8
|
|
We want to avoid using the dhcp relay for the primary node until our NIC
proxying code can handle relayed packets or we turn it off entirely.
Change-Id: I465edbe20d4be74c7a560f411e61e95fd89c59d1
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We need a workaround for some well known configurations where it is safe
to use the default DHCP source port for sending relayed messages. Some
of our upstream server and relay software does not understand alternate
ports.
This will be removed when that support is fully available.
Change-Id: I24ea031c23556c62a26875dddac25708b6b8de79
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The logic was not usable in our current environment. This makes some
tweaks to download the image correctly.
Change-Id: I86741e6029c2937d0a8106ac22a1738fa0e77cad
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Distinguish between broadcast only packets and broadcast + unicast
packets.
Change-Id: I52f7969ccd00e4142d5585a37b92cc5530b76dec
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Avoid QA warnings about fuzzy patch application.
Generated with:
devtool finish --force-patch-refresh npcm7xx-igps-native meta-nuvoton
Signed-off-by: Peter Foley <pefoley@google.com>
Change-Id: I2472c5b5f42b9f174b273ac5aa995043c4a44a25
|
|
Per [1], Yocto is going to start requiring both branch names and
`protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to
automatically fix our URIs.
1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
|
|
This is required for OpenBMC meson projects
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I80805405c1214820ef6cf26467785aa0ae5247ca
|
|
The initrd needs to be able to pet the watchdog prior to starting an
update. If this doesn't happen, we may trip the watchdog before writing
out the entire update payload.
Change-Id: I9974263585d2143e8bebb2a1522133d53e911eb7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (1):
libcr51sign: Sync with latest code
Change-Id: I79759b0a18c63f7b5ef49511144d919e38c8ab73
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This service launches eStoraged for the eMMC.
Tested:
Installed the image on a machine and confirmed that the systemd service
started automatically.
Signed-off-by: John Wedig <johnwedig@google.com>
Change-Id: I55567da8ef491af893e1749ee05d2f39fa01758b
|
|
When running an image with a certain version of QEMU, the emulated BMC
may enter bootloop due to the Watchdog not getting petted for more than
10s.
One can check this by monitoring
s->tim[1]->watchdog_timer.base_timer.expires_ns in QEMU (where s may be
an NPCM7xxState or similar hardware state object).
Reverting the timeout to 60s seems to resolve the issue with QEMU usage.
Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: I29313ff67415003d5f82f0f8a5cc1703b34fb2c0
|
|
Add distro override to avoid os-release setting effect other
not gbmc distro
Signed-off-by: Brian Ma <chma0@nuvoton.com>
Change-Id: I34afb4ce8e72f2be15a5f5668e6ff6c567548ad5
|
|
This saved 49152 bytes of compressed image space in our platform.
Signed-off-by: Josh Lehan <krellan@google.com>
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I4b5b4c7cd2bfffb9720bae02624519ee10ca73af
|
|
This saved 49152 bytes of compressed image space in our platform.
Signed-off-by: Josh Lehan <krellan@google.com>
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I40016cffd8586bbcda1cc45ec968efd35c8f4188
|
|
gBMC does not use kernel modules
Change-Id: I75d8309a787cb74f3be1f5bae08de2897ffdac0a
Signed-off-by: William A. Kennington III <wak@google.com>
|