summaryrefslogtreecommitdiff
path: root/meta-google
AgeCommit message (Collapse)AuthorFilesLines
2021-08-07meta-google: Add glome serial console login recipeJie Yang1-0/+26
Signed-off-by: Jie Yang <jjy@google.com> Change-Id: I98f40cbbb412028330201d174e9624410529d1f6
2021-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu42-147/+147
``` 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-07meta-google: sslh: Remove ecosrv from the buildWilliam A. Kennington III1-0/+4
This is not used in the installed output and is breaking the build non-deterministically. Change-Id: I3f7193e9f0aac5e5cdcd45d4c736c3d31bb2858b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06meta-google: sslh: Ensure that autogenerated files aren't staleWilliam A. Kennington III2-6/+9
These files sometimes get checked into the repo and we don't want non-determinism around their generation. Ensure they are cleaned up and regenerated for every build since that is very fast. Change-Id: If20c79f8308c117a20983c8cb54c3420d872d64b Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06sslh: Bump de0ec95..63f9c4aWilliam A. Kennington III1-2/+2
Uptream moved from PCRE to PCRE2 Change-Id: I62434762a7e0485f4fe49ad6f181290cf6d34844 Signed-off-by: William A. Kennington III <wak@google.com>
2021-08-06conf2struct: Bump 06ddd92..6bc9eedWilliam A. Kennington III1-1/+1
Change-Id: Ia4843efa02ed9f3f7587580e4cb83711054637cb Signed-off-by: William A. Kennington III <wak@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-08-02meta-google: images: Add inplace-gbmc-updateBrandon Kim2-0/+3
For gbmc override, add inplace-gbmc-update and set it as the PREFERRED_PROVIDER for virtual/bmc-update. Google-Bug-Id: 179618452 Google-Bug-Id: 179618500 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: If8b7a3640b66fd323ee5c1a98619a09463933898
2021-08-02meta-google: images: Add dummy-gbmc-updateBrandon Kim1-0/+3
For gbmc override, add dummy-gbmc-update Google-Bug-Id: 179618452 Google-Bug-Id: 179618500 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I09925bb262f7a535ff569689a37640a028a09137
2021-08-02meta-google: images: Add utilities to gbmc overrideBrandon Kim1-0/+6
Utilities such as ipmitool, iotools, lrzsz should be added to gbmc. Google-Bug-Id: 179618452 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Id092157e8868648d1a97ef90928dac2cfa1307ae
2021-08-02meta-google: flash: Import inplace-gbmc-updateBrandon Kim6-0/+165
Google BMC inplace update script and bitbake recipe. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ia1beded107382dacb9f2f7e3cb9bbd86ae99d8c1
2021-08-02meta-google: flash: Import google-key from gBMCBrandon Kim4-0/+89
Google key installation script and bitbake recipe. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I21c88b6c2810c4ab3f6089f79143e59b6ce935db
2021-08-02meta-google: flash: Import dummy-gbmc-updateBrandon Kim3-0/+48
Dummy image uploader for sending debug binaries. Google-Bug-Id: 179618162 Upstream: 22e2c3dd5f610777dee173a09d8e82dc2509a975 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I53c0defeefffa007d71d68ceeb2602d83c22f523
2021-07-28meta-google: settings: Add copyright header to ymlBrandon Kim1-0/+14
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I0725732aea9daa16c7cb4bf8f553d7ecfabf3628
2021-07-27meta-google: sslh: Bump 517e4ad..de0ec95William A. Kennington III1-1/+1
yrutschle (25): changelog the sslh-select refactoring justify use of select remove some debug messages made echosrv independant from common.o and with its own configuration add UDP support to echosrv when verbose, precise which listen sockets are udp remove caveat about UDP refactor upgraded argtable3 to current last version to fix a parsing issue with command line options do not drop CAP_NET_ADMIN if any of the protocols require transparent proxying typo refactor: purified set_capabilities, told to keep or drop CAP_NET_ADMIN instead of deciding for itself sslh-fork drops all capabilities after connecting to server side refactor t_load to use test.cfg as base changed CAP_NET_ADMIN to CAP_NET_RAW as it's enough clarify variable name clarify function name add recv and sendto addresses sslh-select sets O_NONBLOCK *before* calling connect, which prevents hanging on an unresposive server (fix #258) fail gracefully if libconfig fails to find root element fix for libconfig 1.7.3 (#292) moved UDP support from sslh-fork to sslh-select fix message for fd closure on timeout report errors as E instead of M, and consolidate restarts as simplified roman numerals removed static known_source arrays, UDP connections are now managed dynamically make udp timeout configurable per protocol Change-Id: I49280061e0cdef7b416ecf2e59601519d7979246 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-27meta-google: conf2struct: Bump e846801..06ddd92William A. Kennington III1-1/+1
Yves Rutschle (2): fail gracefully if libconfig fails to find root config element fix test without libconfig; fix for libconfig 1.7.3 Change-Id: I3f0d77e6ac0247c2784ac59d47424cc7c20047f8 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-27meta-google: sslh: Ensure conf2struct files are not regeneratedWilliam A. Kennington III1-5/+8
We sometimes have a race condition in the git checkout process that causes the source file timestamp to be newer than the generated ones. The generation process is currently broken, but the necessary files are bundled in the source tree. Change-Id: I81fb707d5b16f88032d7022da97563bf6ccc78f5 Signed-off-by: William A. Kennington III <wak@google.com>
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-16meta-google: phosphor-ipmi-config: Add gbmc-bridge interfaceWilliam A. Kennington III2-0/+33
Change-Id: Ic13e677f12f09279df19a32d5f381b2f94d8e4b8 Signed-off-by: William A. Kennington III <wak@google.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-08meta-google: Add bc to busyboxYong Zhao1-0/+3
bc is a command-line, arbitrary-precision calculator with a Turing-complete language. Tested: The bc command is usable on target system. Signed-off-by: Yong Zhao <yozhao@google.com> Change-Id: Id91f5470e7b2a2b42da485e44eda63c97c096842
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 III2-48/+0
This reverts commit f93003dd8cf24bd689a7cf24407273b54b9994d4. Change-Id: Ia5ccc39e09d56b0ea083666eb8df3d858f1ac2f5 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-01meta-google: phosphor-networkd: Remove u-boot env for hothWilliam A. Kennington III1-0/+3
We can't safely store this data, so we don't. Change-Id: I9e0f99423485cf41ff4f9e3b333f4833572f6b73 Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-01meta-google: os-release: cleanup for BUILD_MEMOWilly Tu1-3/+2
Fix inconsistent quotes. Tested: ``` $ BUILD_MEMO="test build" MACHINE=gbmc bitbake obmc-phosphor-image ``` ``` $ cat /etc/os-release ID=gbmc NAME="gBMC (OpenBMC + Google customizations)" VERSION="gbmc-release" VERSION_ID=gbmc-release-0.5.0.0 PRETTY_NAME="gBMC (OpenBMC + Google customizations) gbmc-release" BUILD_ID="2.9.0-dev" OPENBMC_TARGET_MACHINE="gbmc" BUILD_MEMO="test build" ``` Change-Id: I119f730edc894ddaad830c201c6630eb83d11cc1 Signed-off-by: Willy Tu <wltu@google.com>
2021-06-26meta-google: os-release: Add more build infoWilly Tu1-0/+11
Add BUILD_MEMO to /etc/os-release. BUILD_MEMO only exists when BUILD_MEMO is defined in the shell environment. Tested: BUILD_MEMO=$(date) MACHINE=gbmc bitbake obmc-phosphor-image $ cat /etc/os-release ID=gbmc NAME="gBMC (OpenBMC + Google customizations)" VERSION="2.9.0-dev" VERSION_ID=gbmc-release-0.5.0.0 PRETTY_NAME="gBMC (OpenBMC + Google customizations) 2.9.0-dev" BUILD_ID="2.9.0-dev" OPENBMC_TARGET_MACHINE="gbmc" OBMC_VERSION="v2.4-11142-gda2d3941e2" BUILD_MEMO="Tue 02 Mar 2021 03:39:50 PM PST" Google-Bug-Id: 180020976 Google-Bug-Id: 179617828 Signed-off-by: Yong Zhao <yozhao@google.com> Signed-off-by: Willy Tu <wltu@google.com> Change-Id: Ie041b897d6dbe31355edef958c6c97e44c91ea75
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-16meta-google: recipes-phosphor: host: Import from gBMCBrandon Kim1-0/+7
Initial recipes-phosphor/host code from gBMC. Google-Bug-Id: 179618560 Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I9a9baa0528ce4dfc33437a1e9ae908ce22dc6d16
2021-06-16meta-google: recipes-phosphor: initrdscripts: Import from gBMCBrandon Kim4-0/+56
Initial recipes-phosphor/initrdscripts code from gBMC. Google-Bug-Id: 179618491 Upstream: 1182879e906e67ca171b21c1eaa4027f9d162e49 Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I810f3a80d635d2c3a38fcb1db7ee4c396ae2d7bb
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>
2021-06-04recipes-google: default-ca-dev: update Quanta's private CANan Zhou1-20/+20
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I7be8d5b33a9b3f5faa7338f20420b7b07049a614
2021-05-26phosphor-settings: Change setting for time managerHao Jiang2-0/+11
Change the default time settings for all google servers to Host/Manual so that timedate can be set via IPMI commands. Signed-off-by: Hao Jiang <jianghao@google.com> Change-Id: I94fec8a9c8eefb7dfaa327452ca453e132c0c140
2021-05-20google-misc: srcrev bump 4c68ffb8b0..4a0e2e3c10Andrew Geissler1-1/+1
Nancy Yuen (1): Add OWNERS plugin to google-misc. Change-Id: I8edec84a9493bf67adb6969f2397666bc63d34d4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-13meta-google: gbmc-bridge: Fix do_rm_workWilliam A. Kennington III1-2/+1
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>
2021-05-13meta-google: gbmc-bridge: Workaround do_rm_workWilliam A. Kennington III1-0/+7
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>
2021-05-13meta-google: gbmc-bridge: Remove bashismWilliam A. Kennington III1-3/+2
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>
2021-05-13meta-google: gbmc-ncsi-config: Add unreachable bridge routeWilliam A. Kennington III1-0/+4
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>
2021-05-12meta-google: gbmc-ncsi-nft: More forward restrictionWilliam A. Kennington III2-1/+6
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>
2021-05-12meta-google: gbmc-bridge: Fix gw source checkWilliam A. Kennington III1-1/+1
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>
2021-05-12meta-google: gbmc-bridge: Fix misconfigured MACWilliam A. Kennington III3-12/+10
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>
2021-05-11meta-google: gbmc-bridge: Remove custom ip parsing logicWilliam A. Kennington III2-28/+31
Change-Id: I455ab70094cfdc79b38097a838051f51b3c852da Signed-off-by: William A. Kennington III <wak@google.com>