Age | Commit message (Collapse) | Author | Files | Lines |
|
This reverts commit 9568db489935842fc31854a649efb7bf681d5650.
We will fix libcr51sign and tools that use it first.
Change-Id: I97190c0b85bdc040ccce5d9c5f18aca35e6c2be7
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
|
|
The `pfx` variable was not correctly being initialized
Change-Id: Iafc0a2ca8dbfe943a9bc8c1649ae68fb00d267a1
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The return statements should have been exits.
Change-Id: I39a190250656ba676ea2ccbe570b88e3f18e5121
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Id980b8175dc5621f394771941de065689239fe3f
Signed-off-by: Willy Tu <wltu@google.com>
|
|
We want to use sets instead of separate rules for each address. This
also ensures that packets coming from internal sources are matched as
internal packets.
Change-Id: Iff87b81c48c7491a74af1a2cead4cabcb56d81a0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I716b873ad2a3a7cc4437f90638081bba12bb280c
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I918deb41b27e84096a3974d48cb4aa64df35bf20
|
|
Signed-off-by: Zhenfei Tai <ztai@google.com>
Change-Id: I4dcf8756ffd3b80d1db69e77f07df57e585b1b66
|
|
Add license to bb file and the copyright to shell script.
Signed-off-by: Michael Shen <gpgpgp@google.com>
Change-Id: I8b546ebfb302213c5a115af7220102fa51f2419b
|
|
Upstream package for libwatchdog.
Change-Id: I9ef9243ae8e56a4a92be31c9229f1b38c00f662d
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
Upstream common package for gpio-host-pwr.
Change-Id: I08550d46d2b062f6b793cb5417d26231c7e4ca20
Signed-off-by: Tom Tung <shes050117@gmail.com>
|
|
```
convert-overrides.py meta-google
git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
git grep -l _gbmc -- meta-google | grep ".bb" \
| xargs sed -i 's/_gbmc/:gbmc/'
git grep -l _prod -- meta-google | grep ".bb" \
| xargs sed -i 's/_prod/:prod/'
git grep -l _dev -- meta-google | grep ".bb" \
| xargs sed -i 's/_dev/:dev/'
git grep -l _hoth -- meta-google | grep ".bb" \
| xargs sed -i 's/_hoth/:hoth/'
git grep -l _bandaid -- meta-google | grep ".bb" \
| xargs sed -i 's/_bandaid/:bandaid/'
```
Some small fix includes
```
platforms_gbmc_bringup
platforms_gbmc_secure
```
Tested:
```
$ git grep "_[a-z0-9_/-]*[ :]" -- meta-google | grep ".bb"
meta-google/recipes-connectivity/avahi/avahi_%.bbappend:do_install:append:gbmc() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-core/dropbear/dropbear_%.bbappend: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake checker
meta-google/recipes-extended/libconfig/conf2struct-native_git.bb: oe_runmake install
meta-google/recipes-extended/networking/mstpd_git.bb:do_install:append() {
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake distclean
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake sslh-conf.h
meta-google/recipes-extended/networking/sslh_git.bb: oe_runmake install
meta-google/recipes-google/ipmi/ipmi-fru-sh.bb:do_install:append() {
meta-google/recipes-google/ncsi/gbmc-ncsi-config.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-bridge.bb:do_rm_work:prepend() {
meta-google/recipes-google/networking/gbmc-bridge.bb: # HACK: Work around broken do_rm_work not properly calling rm with `--`
meta-google/recipes-google/networking/gbmc-ip-monitor.bb:do_install:append() {
meta-google/recipes-google/networking/gbmc-iperf3.bb:do_install:append:dev() {
meta-google/recipes-google/networking/gbmc-iperf3.bb: echo ' chain gbmc_br_pub_input {' >>"$rules"
meta-google/recipes-google/networking/gbmc-mac-config.bb:do_install:append() {
meta-google/recipes-google/networking/network-sh.bb:do_install:append() {
meta-google/recipes-google/ssh/authorized-keys-comp.bb:SUMMARY = "Compiles a set of authorized_keys files into a single file"
meta-google/recipes-google/ssh/authorized-keys-comp.bb:do_install:append() {
meta-google/recipes-google/systemd/gbmc-systemd-config.bb:do_install:append:dev() {
meta-google/recipes-google/test/test-sh.bb:do_install:append() {
meta-google/recipes-phosphor/flash/inplace-gbmc-update.bb:do_install:prepend:dev() {
meta-google/recipes-phosphor/host/phosphor-host-postd_%.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:dev() {
meta-google/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bbappend:do_install:append:gbmc:prod() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend:do_install:append:gbmc() {
meta-google/recipes-phosphor/ipmi/phosphor-ipmi-config.bbappend: overlapping="$(jq '."${GBMCBR_IPMI_CHANNEL}" | .is_valid and .name != "gbmcbr"' $chjson)"
```
Change-Id: I9d610c664bd44e8bd81fb8f7e76249a0b43b9ffd
Signed-off-by: Willy Tu <wltu@google.com>
|
|
Add recipe for bringing up USB ECM network devices.
The recipe generates
* network configuration file for the interface;
* systemd service that starts(stops) the USB Gadget
The ECM gadget, as well as the network interface are expected
to be fully configured in the bbappend file.
Signed-off-by: Maksym Sloyko <maxims@google.com>
Change-Id: Ibb57584ce2bfd838e650eae7a4d3935c9580e502
|
|
William A. Kennington III (2):
handler: Don't hardcode channel information
eth: Support looking up alternate interace channels
Change-Id: I1656055b0d2b9450fdcf11c5af9b4c2db1090b76
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (1):
ncsid: build: Fix fallback dependency
Change-Id: I174fa9146d020c00487849fb2e4f1e1efcdc0228
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (2):
gitignore: Update to better accommodate local building
kcsbridge: Remove package
Change-Id: Icf5213309c7b8ece62fac4962a0ef9ae0b224014
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
This reverts commit f89db26b407e44a620eccfae7df3186d65bdfa0c.
Change-Id: Ie55acb2b8daf54ce416bc0a98a48ba1e6874dec8
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4.
Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (1):
build: Remove autotools
Change-Id: Ie84a8e6d9b39b91fc74a4a714615fa0c56a76fda
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
William A. Kennington III (3):
makefile: Fix target install
treewide: Cleanup pedantic C++ warnings
build: Add meson build
linyuny (1):
Add new google ipmi sys command: SysHostPowerOff
Change-Id: I988b24ca97d95ffa4ef7332741b682f1fae06011
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The unit tests aren't needed when building in Bitbake.
Change-Id: I412f5c1b546ab56a4644cba696dd3fab456964bb
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
|
|
We no longer need the extra levels of indirection or dev-so overrides.
Change-Id: I537fda462ce8d96baab409afe332d4be3d6f3eca
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
William A. Kennington III (2):
acpi-power-state-daemon: build: Subproject support
metrics-ipmi-blobs: build: Install module in blob-ipmid
Change-Id: Iea5cb82293a8d306063a0f8f1e265525cf5c14a8
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Sometimes the phosphor-networkd starts before systemd-networkd finishes
configuring NCSI interface. This causes phosphor-networkd to mark this
interface as unmanaged.
Setting NICEnabled property to true will ensure the interface is
enabled. If this service starts before systemd-networkd is done, the
set-property command will fail. So retry till the command succeeds.
Signed-off-by: Vivekanand Veeracholan <vveerach@google.com>
Change-Id: I232d363cff48bbf955ac0f1f9a6dac7ae5467257
|
|
Michael Shen (1):
metrics-ipmi-blobs: Add bootup time to metrics
Change-Id: Iee2f6998ec9e0c241095c841c27e95ac151f76e9
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
Nan Zhou (1):
nemora-postd: import from gBMC
Ofer (1):
preserved ofery@ +2 for google misc repos Add suichen@ and ofery@ as maintainers for metrics-ipmi-blobs
Change-Id: I482493e733489a7887a2b9f63e1c3dd811bafd26
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
We don't yet use ptest so we are wasting cycles building tests
Change-Id: I44d51dd1655157f2cd96cd21d8e1122faa06f6a2
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We don't yet use ptest so we are wasting cycles building tests
Change-Id: I105ed69b3dc4b6d5f1c52c15cc6622f0f3bfbfda
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I7be8d5b33a9b3f5faa7338f20420b7b07049a614
|
|
Nancy Yuen (1):
Add OWNERS plugin to google-misc.
Change-Id: I8edec84a9493bf67adb6969f2397666bc63d34d4
Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
|
|
The workdir will be empty if the package is populated from the sstate,
fix the command to work for this case.
Change-Id: Ie262a69de067e94e9da32ca8a89d1db1a5ab5bf2
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Otherwise when using a posix shell it will fail with:
Step #1: | ERROR: Execution of '/workspace/ci_workspace/gbmc/build/tmp/work/armv7a-openbmc-linux-gnueabi/gbmc-bridge/1.0-r1/temp/run.do_rm_work.40349' failed with exit code 1:
Step #1: | grep: invalid max count
Step #1: | rm: invalid option -- 'b'
Step #1: | Try 'rm ./-bmc-gbmcbr.netdev' to remove the file '-bmc-gbmcbr.netdev'.
Step #1: | Try 'rm --help' for more information.
Step #1: | WARNING: exit code 1 from a shell command.
Change-Id: Ie846810b3c5e187d20c18f843ff8e4b0851ed5df
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Appending strings is a bashism and can't be used in bitbake shell.
Change-Id: Ie4f75367cc59000595afc68431ff98dbfc4b16c6
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We don't want traffic being routed back out of the BMC when it is
destined for the BMC network. It's nice that unrecognized routes return
an obvious unreachable error to the end user.
Change-Id: If261faf7b8f2416ee9a802f85db17ed62946625d
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We only want to allow <pfx>::fd... traffic info the machine area network
from the outside world. Instead of just blocking internal network
addresses from the outside, explicitly look at the prefix.
Change-Id: Id0afef7c813aef381e81b8fcfb570778f529f5dc
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The conversion to ip_to_bytes picked the wrong address bytes off by one.
This fixes it and verifies that a machine now updates the address.
Change-Id: Ifc7bbebc0cf500d51d01d693445aa2533122e9a1
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The network addresses derived from the MAC address are supposed to go in
the .network file instead of the .netdev file.
Change-Id: I9e9dc2c213414ae458392beab32334b89a897267
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: I455ab70094cfdc79b38097a838051f51b3c852da
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
The other workarounds to try and restart networkd tend to result in
flaky behavior. We get much more consistent and fast reconfigurations if
we target the bridge directly.
Change-Id: I3222eba4a2d2b71e3893f93643f412e5238ee60e
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Now that we can convert to and from IP bytes, we should use them
everywhere to ensure values are parsed correctly.
Change-Id: I995091d1eff670db6678b4a2f4a64113e93308f7
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This makes it possible to get a human readable address back from a byte
array.
Change-Id: Ifcc98bcc95b8d75fe7d1aae1c264cbddf3fc5bd0
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Change-Id: Ie3a20df633346692039103edc882e202b7c3309b
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This will be used to compare parts of addresses instead of applying
regexes to them.
Change-Id: Ide7366cab967e31a74cbb4002bad1046432037e3
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This change ensures that ULA addresses don't get used as the source
when trying to send packets outside the machine.
Change-Id: I46413a2587634a79f0c0fc4051587e39a9fdcf50
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to be able to categorize public addresses being used for
internal traffic, and allow them to access internal services.
Change-Id: I1f4b8eaa329954f330c3052c0c789b8e5e3b4662
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want BMCs to be able to discover their machine prefix and assign a
stable IPv6 based on that prefix combined with the MAC of the BMC.
Change-Id: I67b8c56f50ff3a970175abcb81b429ceb1258b69
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This allows gBMCs to route packets, needed for routing packets to the
management netowrk.
Change-Id: I71f59eeb12607aa9c9d64687fb983938d5d69413
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
This dynamically detects addresses applied to the NC-SI interface and
infers the addreses which should be used explicitly by BMCs.
Change-Id: I9036be0a54936aace580746cd1900ee653f43cfd
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
Break down packets by their incoming address and ensure that we don't
allow packets to unintended destinations. Right now this is effectively
a no-op, but it will be necessary for BMC public addressing.
Change-Id: I39c16c3b9cd4c293df42b928674e39677d7834e9
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
We want to eventually replace the link layer address with an address
from an EEPROM. This change keeps the hardcoded address that services
depend on, but allows for the MAC to be changed.
Change-Id: I748fab21561f0f22ec0790487755e29e9aecd1b0
Signed-off-by: William A. Kennington III <wak@google.com>
|