Age | Commit message (Collapse) | Author | Files | Lines |
|
Ideally our interface name is set prior to being created. However, we
have to do this opportunisticly because it is only supported on linux
5.12 and newer.
Change-Id: I5e660031a99b4120b3e75b25a7b58ca3a7373d57
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Sometimes our device rename races with networkd bringing it up. Try a
few times to rename until we succeed.
Change-Id: I9eee947bc0a38c29839efe8e5e56a14c73b16b2c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want the machine to correctly report that the address was assigned
from the host. If we don't do this it can sometimes become unassigned.
Change-Id: I5de00c53c5fa831025b9ffdf1ad194b094075194
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The following change adds the .service file to eStorageD repo.
https://gerrit.openbmc-project.xyz/c/openbmc/estoraged/+/53164/
After 53164 goes in meta-google service file will need to be removed.
Change-Id: Id3f215e7a3e06843687e9c0b48c76cb6a957837b
Signed-off-by: John Edward Broadbent <jebr@google.com>
|
|
The name in d.getVar() should have been quoted.
Change-Id: I95468473268e24fcd97a681ac7baff9de2212278
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This will allow us to trivially configure dynamic USB network
information with providing any hardcoded config.
Change-Id: I1e5a46e9c7eeaffcf66170c047bd18114cac98f6
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Michael Shen (1):
metrics-ipmi-blobs: Fix memory leak with readMem
Change-Id: I714a0a40b94bfa361a6bae3bf2a35b1860e1bbd7
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
0x232 was incorrect and it was supposed to be 0x22b.
Change-Id: I45a8786ec1623b5d877eb5cfb1c7d330ac75a127
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Just some minor changes to make it easier to extend.
Change-Id: Ib368da9173983aa02759b9e8bce1c34231cdf391
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (2):
systemd: Stop targets when unneeded
systemd: Save random seed during powercycle
Change-Id: I039745e49d72aa08d712aaa0e4cee46c8356ed16
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
systemd: Handle PSU delay globally
Change-Id: Ia80f0c4f230cc08e4344c2b53acdb6ffb1d2dbef
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
None of our configurations use the IPv4 address for the BMC, so we can
remove all of the configuration.
Change-Id: Ib7fd08afc48c189d5e79ceaf64deedacdf6ff6a4
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We need to specify parameters to shut down the device cleanly.
Change-Id: I4f6d3a5cd6aaebf9fb01a86ed78fc1f4737e41eb
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Icdf1b12993b96d13008ddae93a54aa5bd6b35173
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The interface, product ID and bind device are required in order to set
up the interface.
Change-Id: I9e47c8e9dfa86ae33cb01cedee8471c863e2f066
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We generally have a single interface per gadget, so name it after the
interface by default.
Change-Id: Iac4ebc50fa8586ec3493111ffa85d8c3a7aa8125
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Otherwise it will remain down in some instances.
Change-Id: I1878ff533eceed950799f513789f3b801a478c52
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Otherwise it will remain down since the first command sets it
administratively down.
Change-Id: I203d145ffe9815426c2803b11a4313544d812cf5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The previous script was not handling any errors while creating the
gadget and could leave the system partially configured.
Change-Id: I52ac726129ece1bb82412c5b42027ae8c98e067f
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The sysfs directories are not a real filesystem and do not behave
correctly if you use `rm -r`. You need to directly remove the relevant
files and directories individually.
Currently the script cannot successfully cleanup the interface.
Change-Id: Ic7eb104fa6491347d24681ac45b4c0433ea07b23
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want the interface name on the system to reflect the name given as an
argument to the script
Change-Id: I00b2d28096aa3e6ef1332ef325a72f3c0f5283e8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
If setup fails for any reason, we want to cleanup any of the gadget
functions that were created.
Change-Id: I61be13a66cba2916fe7685b021fe0f7fa225e4f6
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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>
|
|
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>
|
|
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: 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>
|
|
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>
|
|
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>
|
|
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>
|
|
Distinguish between broadcast only packets and broadcast + unicast
packets.
Change-Id: I52f7969ccd00e4142d5585a37b92cc5530b76dec
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
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
|