summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26meta-google: gbmc-bridge: Don't enable DHCPv6William A. Kennington III1-0/+2
Just turning DHCP off via the DHCP= option is not enough. If you use IPv6AcceptRA=true you need to also disable the DHCPv6Client= in the IPv6AcceptRA section. Change-Id: I6e2e6e3f9b9395bd690f3d1a8915fac5061a0b25 Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-25google-ipmi-sys: srcrev bump b4e3704c17..f647e99165Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I3c5adab1a8a560e174a2823a37d907f92a90df73 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-25google-ipmi-i2c: srcrev bump b7d431199a..d78cbec9efAndrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I6229b878254f752a54faf2054cd27ee362799e3c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-25google-misc: srcrev bump 9a76b6fbfb..382d628dd0Andrew Geissler1-1/+1
William A. Kennington III (1): Temporarily ignore eslint validation Willy Tu (1): build: Update to c++20, c18, and meson >= 0.57.0 Change-Id: I8fa3f7206951f9b73834e9d6488d1de26b8957c1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-20meta-google: gbmc-ncsi-config: Re-organize RA codeWilliam A. Kennington III1-63/+73
This make it possible for the hostname or IP information to change independently, in case a mistake is made in a development environment and just the hostname or just the prefix need to be updated. Change-Id: I66169dc6cdee681f77bad4b8638dc6a2c72fca5f Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-20meta-google: ipmi-fru: Direct read supportWilliam A. Kennington III1-20/+52
We can't dynamically bind to the at24 driver if the eeprom is not in the kernel's device tree. Since this support was intended to be used for dynamic FRUs, it is broken when the kernel has the entries removed. Change-Id: I99c774191c22d67e518fe9435b1446b80efb5600 Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-16google-misc: srcrev bump 700edceeed..9a76b6fbfbAndrew Geissler1-1/+1
William A. Kennington III (1): ncsid: Fix update_ra_neighbor.sh license Change-Id: I337b95f18b2cbea64d4512ab15122fe0b694ac5a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-16google-ipmi-sys: srcrev bump b69209b498..b4e3704c17Andrew Geissler1-1/+1
Willy Tu (5): build: Update to c++20 and meson >= 0.57.0 Add Google Copyright 2021 test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD google-ipmi-sys: Refactor to use new version of OEM IPMI Handler google-ipmi-sys: Convert input to use std::span<const uint8_t> Change-Id: I4a4d3416bcc48ca1e4c902969d669a1a4aca6d2f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-14meta-google: ipmi-fru-sh: Add lookup for FruDevice namesWilliam A. Kennington III1-0/+40
This makes it possible to specify a FRU lookup by a dynamically discovered FRUs from entity manager. Change-Id: Icf83aa3eff1cbc08a8fa3f99754e5c10e3e583fc Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-14meta-google: gbmc-mac-config: Use ipmi_fru_allocWilliam A. Kennington III1-1/+1
This will allow us to implement other types of FRU path lookup mechanisms beyond the OF name one that is currently in use. This change is fully backward compatible. Change-Id: Icedecedc9fcaad75fa32c23142a0fd3dfa7f6c0d Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-14meta-google: ipmi-fru-sh: Add method for initializing eepromsWilliam A. Kennington III1-2/+28
This makes it possible to create new specifications besides the default mapping of OF name to eeprom path. Right now this provides backward compatability with anything that uses of_name_to_eeprom and only provides a new explicit specifier for that specification. Change-Id: If02d9cb392a48e0698b10644d7ade3220bde3eb5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-13google-bios-key: remove _git from bb file nameWilly Tu1-0/+0
Change-Id: Ieaa81c38a107ea17f6901dded3583f93f48a4e98 Signed-off-by: Willy Tu <wltu@google.com>
2021-10-13google-bios-key: Install public bios keyWilly Tu1-2/+14
Tested: ``` $ find -name platforms_secure.pem ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/google-bios-key/platforms_secure.pem ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_secure.pem $ ls -l ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_secure.pem lrwxrwxrwx 2 build build 36 Oct 13 08:09 ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_secure.pem -> google-bios-key/platforms_secure.pem $ find -name platforms_bringup.pem ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_bringup.pem ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/google-bios-key/platforms_bringup.pem $ ls -l ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_bringup.pem lrwxrwxrwx 2 build build 37 Oct 13 08:09 ./tmp/sysroots-components/armv7a/google-bios-key/usr/share/platforms_bringup.pem -> google-bios-key/platforms_bringup.pem ``` Change-Id: I38a4dcb5daa77bc2acf28ac19cdde07f22d8ba44 Signed-off-by: Willy Tu <wltu@google.com>
2021-10-01meta-google: gbmc-ncsi-config: Fix missing bash rdepWilliam A. Kennington III1-0/+1
The scripts distributed with this recipe depend on bash at runtime, causing sanity check failures without proper specification. Change-Id: I32e4ad135ca94c3f0f707ca7d48f5c3fa29d2441 Signed-off-by: William A. Kennington III <wak@google.com>
2021-10-01google-misc: srcrev bump b163a2c1ba..700edceeedAndrew Geissler1-1/+1
Willy Tu (1): Revert "bios-key: import from gBMC" Change-Id: Ie654c5507bd94633f65fe9f1a3ecac4a1e465d00 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-30meta-google: Add google-bios-key bitbake fileWilly Tu3-0/+42
Add the public Google BIOS keys for gBMC Change-Id: Id60b5f2d5bf9f6b7491959ad17c79698ade570ad Signed-off-by: Willy Tu <wltu@google.com>
2021-09-30Revert "Revert "meta-google: Add libcr51sign bitbake file""Willy Tu1-0/+11
This reverts commit f10df3ffeb8d695167c95530ab2c1022e3d02103. https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/47253 is submitted and libcr51sign is ready for use. Change-Id: I646dcf872d495d4baf18b9c4dc6149f576e6761d Signed-off-by: Willy Tu <wltu@google.com>
2021-09-29meta-google: glome: Bump b7084b5c..02f7d272William A. Kennington III1-0/+26
Copybara-Service (1): Merge pull request #96 from l9i:go-presubmit Piotr Lewandowski (3): Print the ouptut of `gofmt -d` (if any) Print the output of `gofmt -d` (if any) Merge branch 'go-presubmit' of github.com:l9i/glome into go-presubmit William A. Kennington III (1): login/login: Remove glib url escap Change-Id: Ief099a8ebec5d78ce256e32dacb5cf90173bcfc9 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-29meta-google: gbmc-ncsi-config: Parse hostnames from RAWilliam A. Kennington III1-0/+10
We need the hostname to be properly configured in order to login with GLOME. This derives the hostname from the FQDN that is passed via the DNS list in the RA messages from the smart NIC. Change-Id: I4e7a414b6b75bfb227df5763917e9e5d09579d7d Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-29meta-google: gbmc-ncsi-config: Derive IP from RAWilliam A. Kennington III4-0/+140
Our end2end DHCP solution is not yet working, but we need a way to derive addresses for a BMC from the smart NIC in front of it. This provides a mechanism for detecting the address from RA beacons the NIC is sending. Change-Id: I0cdc8c192974c0b00257ebe58e911e62636e4c81 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-29meta-google: gbmc-ncsi-config: Add relay support for the bridgeWilliam A. Kennington III7-0/+68
We may have multiple BMCs running on the internal gbmcbr network via USB links to attached trays. These BMCs do not have a direct connection to the network, and require the NCSI BMC to relay all of their traffic (including DHCP) out opf the machine. This patch enables dhcrelay to run on the NCSI interface and proxy all DHCP traffic from the bridge out of the machine. Change-Id: I60f97ae2d64289c7b706b3d0a6c8fb79a931e485 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-27google-misc: srcrev bump d237c6cc59..b163a2c1baAndrew Geissler2-1/+3
Nan Zhou (1): libcr51sign: import from gBMC William A. Kennington III (2): ncsid: Stop targets when daemon stops ncsid: Support parsing unsolicited RA announcements Willy Tu (2): google-misc: libcr51sign: add feature to fetch image regions bios-key: import from gBMC Change-Id: I47cd3bd37ca6eeb647f61fab66994a4e224f982a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-22Revert "meta-google: Add libcr51sign bitbake file"Nan Zhou1-11/+0
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>
2021-09-16gbmc-ncsi-config: Fix nftables rule writingWilliam A. Kennington III1-1/+2
The `pfx` variable was not correctly being initialized Change-Id: Iafc0a2ca8dbfe943a9bc8c1649ae68fb00d267a1 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-16meta-google: host-power-ctrl: Fix gpio errorsWilliam A. Kennington III1-2/+2
The return statements should have been exits. Change-Id: I39a190250656ba676ea2ccbe570b88e3f18e5121 Signed-off-by: William A. Kennington III <wak@google.com>
2021-09-16meta-google: Add libcr51sign bitbake fileWilly Tu1-0/+11
Change-Id: Id980b8175dc5621f394771941de065689239fe3f Signed-off-by: Willy Tu <wltu@google.com>
2021-09-12meta-google: gbmc-bridge: Fix nftables rules for local BMC addressWilliam A. Kennington III1-3/+11
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>
2021-08-18gpio-ctrl: update yocto override syntaxMichael Shen1-1/+1
Signed-off-by: Michael Shen <gpgpgp@google.com> Change-Id: I716b873ad2a3a7cc4437f90638081bba12bb280c
2021-08-18libwatchdog: update yocto override syntaxZhenfei Tai1-1/+1
Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: I918deb41b27e84096a3974d48cb4aa64df35bf20
2021-08-18gpio-host-pwr: update yocto override syntaxZhenfei Tai1-2/+2
Signed-off-by: Zhenfei Tai <ztai@google.com> Change-Id: I4dcf8756ffd3b80d1db69e77f07df57e585b1b66
2021-08-10meta-google: gpio-ctrl: upstream gpio-ctrl recipeMichael Shen2-0/+264
Add license to bb file and the copyright to shell script. Signed-off-by: Michael Shen <gpgpgp@google.com> Change-Id: I8b546ebfb302213c5a115af7220102fa51f2419b
2021-08-10meta-google: host-power-ctrl: Import libwatchdog from gBMCTom Tung2-0/+49
Upstream package for libwatchdog. Change-Id: I9ef9243ae8e56a4a92be31c9229f1b38c00f662d Signed-off-by: Tom Tung <shes050117@gmail.com>
2021-08-10meta-google: host-power-ctrl: Import gpio-host-pwr from gBMCTom Tung18-0/+435
Upstream common package for gpio-host-pwr. Change-Id: I08550d46d2b062f6b793cb5417d26231c7e4ca20 Signed-off-by: Tom Tung <shes050117@gmail.com>
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu21-68/+68
``` 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>
2021-08-05meta-google: Add google-usb-network recipeMaksym Sloyko5-0/+559
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
2021-07-27google-ipmi-sys: srcrev bump bc62b193ae..b69209b498Andrew Geissler1-1/+1
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>
2021-07-14google-misc: srcrev bump 1097ace6cf..d237c6cc59Andrew Geissler1-1/+1
William A. Kennington III (1): ncsid: build: Fix fallback dependency Change-Id: I174fa9146d020c00487849fb2e4f1e1efcdc0228 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-08google-misc: srcrev bump 548f3ad151..1097ace6cfAndrew Geissler1-1/+1
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>
2021-07-07Revert "meta-google: google-kcsbridge: Add package"William A. Kennington III1-16/+0
This reverts commit f89db26b407e44a620eccfae7df3186d65bdfa0c. Change-Id: Ie55acb2b8daf54ce416bc0a98a48ba1e6874dec8 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-07Revert "meta-google: gbmc-kcs-config: Add package"William A. Kennington III1-46/+0
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4. Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-25google-ipmi-sys: srcrev bump ac730af213..bc62b193aeAndrew Geissler1-1/+1
William A. Kennington III (1): build: Remove autotools Change-Id: Ie84a8e6d9b39b91fc74a4a714615fa0c56a76fda Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-25google-ipmi-sys: srcrev bump 3b1b427c1f..ac730af213Andrew Geissler1-22/+16
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>
2021-06-24meta-google: ncsid: disable building testsBenjamin Fair1-0/+4
The unit tests aren't needed when building in Bitbake. Change-Id: I412f5c1b546ab56a4644cba696dd3fab456964bb Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2021-06-18meta-google: metrics-ipmi-blobs: Clean up recipeWilliam A. Kennington III1-12/+1
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>
2021-06-18google-misc: srcrev bump b63d6314d0..548f3ad151Andrew Geissler1-1/+1
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>
2021-06-17meta-google: gbmc-ncsi-config: Set NICEnabled propertyVivekanand Veeracholan2-0/+22
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
2021-06-14google-misc: srcrev bump 14fe6698f5..b63d6314d0Andrew Geissler1-1/+1
Michael Shen (1): metrics-ipmi-blobs: Add bootup time to metrics Change-Id: Iee2f6998ec9e0c241095c841c27e95ac151f76e9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-11google-misc: srcrev bump 4a0e2e3c10..14fe6698f5Andrew Geissler1-1/+1
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>
2021-06-06google-ipmi-sys: Disable building testsWilliam A. Kennington III1-0/+2
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>
2021-06-06metrics-ipmi-blobs: Disable building testsWilliam A. Kennington III1-0/+2
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>