summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-gbs/hotswap-power-cycle
AgeCommit message (Collapse)AuthorFilesLines
2021-04-29meta-quanta: gbs: Add explicit RDEPENDS for toolsBrandon Kim1-0/+1
gbs-sysinit requires i2c-tools and gbs-hotswap-powercycle requires libgpiod-tools. Declare the RDEPENDS in the bitbake file. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I28bdb2cc138e301faa395eb9150cc7624b93c8a3
2020-12-31meta-quanta: gbs: stop hwmon while doing tray resetGeorge Hung1-0/+21
Stop phosphor-hwmon before performing a tray power cycle to avoid ADM1272 doing an abnormal I2C transaction and causing ADM1272 driver probe to fail due to wrong Manufacturer ID. (From meta-quanta rev: 2143eac88d3643e4a8d461eec2ed9a2d2e6a32f3) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ibd69cb956d76dbe08f0bb6e6bce115d5bab469df Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-17meta-quanta: gbs: Add tray_powercycle.shBrandon Kim3-7/+32
Fix hotswap-power-cycle.service as well. (From meta-quanta rev: f27143480d654623b6e576b2ce236af3b6f0950d) Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I63e105c27a61475ffc84565a933c7c98bd3d268c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-06-08meta-quanta: gbs: add Hotswap Power Cycle ServiceGeorge Hung2-0/+35
Add a hotswap power cycle service for oem google sys command, "Delay hard reset". Tested: Setting 5 secs delay for delay hard reset: ~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x05 0x00 0x00 0x00 79 2b 00 03 (From meta-quanta rev: 4f20ff8ff1a9ea91f0e2a4f55ec7a2525bfc8a9a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib114ba2c47d652cb9c9999b45b503698e7fc5207 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>