summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/ipmi
AgeCommit message (Collapse)AuthorFilesLines
2024-02-05google-ipmi-sys: srcrev bump d455bfd6e0..8ef497162fAndrew Geissler1-1/+1
Willy Tu (1): Reserve boot-time-monitor cmd on 18-20 Change-Id: Iaa9ff9c5c2e3125648fa799c33232143309ef7d7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2024-02-03google-ipmi-sys: srcrev bump 1302e83cd8..d455bfd6e0Andrew Geissler1-1/+1
Gaurav Gandhi (1): Add new oem command to set accel power mode Change-Id: I546da6a66ffd6a99c74b7dead3059a9e01066944 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-12-15meta-google: google-ipmi-sys: rely on bare metal active recipesYuxiao Zhang1-2/+5
gbmc-bare-metal-active target is separated out from google-ipmi-sys, this will pull the target from the new recipe. google-ipmi-sys: SRCREV bump f3fe8df305..1302e83cd8 Yuxiao Zhang (1): google-sys-ipmi: Remove gbmc-bare-metal-active target Change-Id: Idc4cdf045255d335e0583fc40fe3628df134c7d8 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-12-15meta-google: ipmi: add target for disabling ipmi in bare metalYuxiao Zhang2-0/+25
Change-Id: Icb932ef7505f7177ff5b2b9bfeb2fd31352523eb Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-12-08google-ipmi-sys: srcrev bump 40b2a0cc10..f3fe8df305Andrew Geissler1-1/+1
Patrick Williams (1): meson: adjust nlohmann-json dependency Change-Id: I54fa4da69e43d64eba89be9ef58cb601b2261f12 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-11-03google-ipmi-sys: srcrev bump 8d6185322d..40b2a0cc10Andrew Geissler1-1/+1
Willy Tu (2): fmt: Remove fmtlib dependencies Add wrapper script to setup delay powercycle Change-Id: I0830a9788a3b7fb6405de707963719b52dc2d62d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-10-27meta-google: treewide: Parameterize NCSI channelWilliam A. Kennington III1-1/+3
Most platforms want to use 1 as has been the implicit standard. However, this is not required and might be changed for some machines. This makes it easy to change via a machine configuration variable. Change-Id: I5dff5dfb1c97bab531042fd364114f320d3ebe42 Signed-off-by: William A. Kennington III <wak@google.com>
2023-10-26google-ipmi-sys: srcrev bump bc24cd034e..8d6185322dAndrew Geissler1-1/+1
Michael Shen (1): all: Use stdplus::print over std::fprintf Change-Id: I71977d404fd66eeadf131137fa7e22d02efc4ae1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-10-20google-ipmi-sys: srcrev bump dde0c02978..bc24cd034eAndrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: Idaa34228786fcc5e0b4ad098ba83d93c80eb121e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-09-06meta-google: ipmi-fru-sh: Correct checksum calculationVlad Sytchenko1-1/+1
Blocks reads, whos values are greated than 128, will be formated as negative integers, causing cascading errors in the checksum calculation. Format using unsigned specifier instead to prevent this. Tested: Before: ``` dd if=/sys/bus/i2c/devices/13-0050/eeprom bs=1 count=8 skip=8 | \ hexdump -v -e '1/1 "%d "' 1 1 32 36 -107 47 -115 -121 ``` After: ``` dd if=/sys/bus/i2c/devices/13-0050/eeprom bs=1 count=8 skip=8 | \ hexdump -v -e '1/1 "%u "' 1 1 32 36 149 47 141 135 ``` Change-Id: I187f0918a25005310bb900022047e03fe68483d4 Signed-off-by: Vlad Sytchenko <vsytch@google.com>
2023-08-16google-ipmi-sys: srcrev bump 15d4d21c09..dde0c02978Andrew Geissler1-1/+1
George Liu (1): meson_options.txt: Support for reading options from meson.options Change-Id: I1a69373c9b6eaa2089cb8371fc3c72f4025a301d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-20google-ipmi-sys: srcrev bump 4baf41c8d2..15d4d21c09Andrew Geissler1-1/+2
Hao Zhou (1): File System: Dependency Injection and Mock John Wedig (1): Add IPMI OEM command LinuxBootDone Patrick Williams (1): build: upgrade to C++23 Change-Id: I2d203a8ca9c5e0947b2d70f9d3aec3831c31fa64 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: John Wedig <johnwedig@google.com>
2023-07-11google-ipmi-sys: srcrev bump dd04017914..4baf41c8d2Andrew Geissler1-1/+1
Hao Zhou (1): Add flags for bmc modes transitions Change-Id: I23170671607f45e9e90d168051ee3afe2e56dfff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-22google-ipmi-sys: srcrev bump 444b5ea484..dd04017914Andrew Geissler1-1/+1
Brandon Kim (1): bmc_mode: Add #pragma once Change-Id: I81254d11b3717982a0e916225616c2fabfeaff73 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-06-06meta-google: ipmi-fru-sh: Fix shellcheck issuesWilliam A. Kennington III1-12/+29
Change-Id: I0e05959420f3683c6e2fc9d5e2145272f4cb2e46 Signed-off-by: William A. Kennington III <wak@google.com>
2023-06-05meta-google: treewide: Remove source / exec protectionWilliam A. Kennington III1-3/+0
shellcheck doesn't like these protections and it makes fixes convoluted. We never had an issue with users misusing these scripts and so they add no benefit. Change-Id: I326d6046e2e42f8446e23d6bf891aafa2595ca90 Signed-off-by: William A. Kennington III <wak@google.com>
2023-05-19google-ipmi-sys: srcrev bump 6537122871..444b5ea484Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: Idd9e697e084f845b15edfd96c3b325f6dc3f75aa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-19google-ipmi-sys: srcrev bump 59445f5e21..6537122871Andrew Geissler1-1/+1
Patrick Williams (1): sdbusplus: use shorter type aliases Willy Tu (1): cleanup: Reformat with clang Change-Id: I03c49a2c388a9dfc47abe2d6155b19a24fcac2f6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-17meta-google: ipmi: extend the timeout for fru allocYuxiao Zhang1-1/+1
Fru device can take longer than 60s to come up, this is observed more often especially in qemu. This extend the timeout to 5 minutes. Change-Id: I95dcdf2cf10e8f9941ff6502a54e9c67dfc6c7e3 Signed-off-by: Yuxiao Zhang <yuxiaozhang@google.com>
2023-03-30google-ipmi-sys: srcrev bump 2aaf2c053e..59445f5e21Andrew Geissler1-1/+1
Brandon Kim (1): Update the default for "bm-signal-path" meson.option Change-Id: I40ea9eb547e28ee4882fc86027d8f101143e713f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-03-30google-ipmi-sys: srcrev bump 2aaf2c053e..3f3ca03543Andrew Geissler1-1/+1
Brandon Kim (2): Fix presubmit failures with "prettier" handler: Add check for file existence for BM mode Change-Id: I8d9540dd5886422bc092d29e3ce706a7485ea3dc Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-28google-ipmi-sys: srcrev bump 8ec4106b7a..2aaf2c053eAndrew Geissler1-1/+1
Brandon Kim (1): bmc_mode_enum: Add cstdint include to the header Change-Id: Ia9ae5af76fee5140801d9fb927e596ddc9a3b6f1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-10-27google-ipmi-sys: srcrev bump 5e70dc8c1c..8ec4106b7aAndrew Geissler1-1/+1
Nikhil Namjoshi (1): Move bmc mode enum to a header file Change-Id: I17e14d5d869be1c1ee77cf838b98fe0be23193af Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-09-24google-ipmi-sys: srcrev bump 7e71a43d6a..5e70dc8c1cAndrew Geissler1-1/+1
Nikhil Namjoshi (2): Fix the license comment format Add ipmi OEM handler to get the BMC mode Change-Id: I128898193033af562b43650b8cd10474af3fc530 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-14google-ipmi-sys: srcrev bump 6c71b0f9fe..7e71a43d6aAndrew Geissler1-1/+1
Michael Shen (2): all: cleanup, prefer "ipmid/api-types.hpp" type to "ipmid/api.h" type accel: rename `accelOobGetDbus` to `getBus` Willy Tu (1): fix typo: Prase -> Parse Yunyun Lin (1): google-ipmi-sys: Move Warning to debug statement Change-Id: Ic83bd456d4e4f1da6a7544fe9f98f17c85dac237 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-05-24google-ipmi-sys: srcrev bump e4fddf4399..6c71b0f9feAndrew Geissler1-1/+1
Willy Tu (2): owners: Add wltu as owner/maintainer pcie_bifurcation: Fetch bifurcation at a PCIe slot with hardcoded values Change-Id: Ia1200c4d5fcb521c9f0399ccec71b70336669931 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-05-12google-ipmi-sys: srcrev bump c98db20388..e4fddf4399Andrew Geissler1-1/+1
Willy Tu (1): google-ipmi-sys: Add SysPCIeSlotBifurcation subcommand placeholder Change-Id: If2a11c8b65fdc525d434820749bc8431fbc908d9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-04-18google-ipmi-sys: srcrev bump 0e22d32a85..c98db20388Andrew Geissler1-1/+1
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>
2022-04-16google-ipmi-sys: srcrev bump 4f0d1de67e..0e22d32a85Andrew Geissler1-1/+3
William A. Kennington III (1): systemd: Handle PSU delay globally Change-Id: Ia80f0c4f230cc08e4344c2b53acdb6ffb1d2dbef Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-03-29google-ipmi-sys: srcrev bump 40fe522255..4f0d1de67eAndrew Geissler1-1/+1
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>
2022-03-28google-ipmi-i2c: srcrev bump 87a8b11075..6c84db51eaAndrew Geissler1-1/+1
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>
2022-03-16google-ipmi-i2c: srcrev bump fb28f5e4a3..87a8b11075Andrew Geissler1-8/+5
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>
2022-02-12google-ipmi-i2c: srcrev bump d78cbec9ef..fb28f5e4a3Andrew Geissler1-1/+1
Willy Tu (1): google-ipmi-i2c: Remove venture from reviewer Change-Id: I5c6312f7484607b862d8fdf15dfef479a242b001 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-02-08meta-google: ipmi-fru-sh: Fix word width detectionWilliam A. Kennington III1-2/+13
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>
2022-01-25treewide: fix up github SRC_URIsPatrick Williams2-2/+2
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
2021-11-11google-ipmi-sys: srcrev bump f647e99165..40fe522255Andrew Geissler1-1/+1
Willy Tu (1): copyright: Add Google Copyright to test helper.cpp Change-Id: I9465595985668960370f746830a21e3fef246ac8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.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-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-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: 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-08-07meta-google: Cleanup for Yocto override syntax changeWilly Tu4-11/+11
``` 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-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-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-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-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-03-25meta-google: google-misc: Split into includeWilliam A. Kennington III1-18/+17
We don't want to generate bump commits for each project in the repo. Instead, provide an include that has common parameters used by all google-misc projects. Change-Id: Ice589c03aa0d38ca5043ee2081f3757568c4e4bb Signed-off-by: William A. Kennington III <wak@google.com>