Age | Commit message (Collapse) | Author | Files | Lines |
|
David Wang(1):
Fix missing includes
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I95a1f9081c1db5eb858fd5202d35a3e9b772e436
|
|
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
|
|
- add fans e-fuse PG GPIO config file
- add fans e-fuse PG GPIO as the sensor
- monitor fans e-fuse PG GPIO and when it assert low,
record the SEL log
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I32298097b1e79036b67edea65b84ef4d78cbacfc
|
|
1. add acpi-power-state daemon to check the ACPI power
states from BIOS
2. set failsafe fan speed at different states
- S0_G0_D0: 90%
- S5_G2: 40%
Note:
this item depends on the commit and will
add as the patches first in another PR
https://gerrit.openbmc-project.xyz/38112
3. add gbs-check-host-state.sh to monitor the power state
D-Bus and then trigger to set fan failsafe speed
4. remove gbs-detect-fan-fail service and unused scripts
from phosphor-pid-control
5. update read-margin-temp srcrev to avoid nvme temperature
sensor failed due to nvme SSD not-present
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I496dd7bc59076a2b3690e367877d49533855c9fe
|
|
mapper wait call should not be called every loop
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7763f8dfbd78fdacbdbf21076cbc56cde8b7bc17
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ia161322f75a9c967dab489cdb93776e8abbc828a
|
|
Specify the Restart as on-failure to fix the config error
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I39e9e4d79e36f1222a3e54c12702b9b8b0ee56fa
|
|
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>
|
|
Add mapper wait for the GPIO present dbus to make sure we get
the SATA/PE GPIO Present status successfully
(From meta-quanta rev: ac35d89c6a02f67ae2b7a40aa014570f279f5426)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I67cfd417b6d4e7ee04dd0ef2b01a82fca63b5b92
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Fix get SATA present command parsing error due to the last
change to the command parsing string
(From meta-quanta rev: 529a8df55b2af8eed0d1eb0594a162cfff631aab)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I86d2923b331e19b77dca784ffcf691c5e5f4f708
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
gpio presence service startup had the following issue:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/37359
This may cause gpio present status to be misjudged leading to
wrong actions, thus add return code check to prevent them.
Also, remove unused present messages
(From meta-quanta rev: 18307556359068d936254d14f38392243bf80821)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie955f2cec14ad1e8d51c6e6df9a47fd5db9e6720
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. change the sensor type of pwrdis/pwren to slot/connector(21h)
2. gbs-nvme-pwr-ctrl: srcrev bump 9bc98c2de5..f7d2dbd6b4
George Hung (1):
Update the state assertion of pwrdis/pwren
(From meta-quanta rev: c512b3c4a98f2e7ab933564ee5484211de7e9ac1)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3f26258487bdbb65524a2b4a063f2b82a2915f05
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Fix the boot status LED behavior:
1. turn off boot status LED when system power off
2. keep monitoring POST done state GPIO to blink or turn
on LED
(From meta-quanta rev: d967cf675b25186828187c32e39ac29e70088c26)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I74c13a88a8c52cb430261653a99501841d634106
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
It needs to set the correct sensor type in sensor DBus path and
then records the gpio present SEL logs successfully
cable sensors -> set sensor type 'cable'
Non-cable sensors -> set sensor type 'entity presence'
(From meta-quanta rev: c144969b7fc813610fa55a24629ead297ff24cfe)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I454d87439141b1b55d995a3276384429ad10d9a9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
The nvme power control service name for mapper wait should be
all lower case
(From meta-quanta rev: e2d7195cab61bca8bbc1cfe9f03bb73b5bc97fa9)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id7bcfa0a1024efd4dff39c58cedd7ccc6b5fd3b0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
1. monitor more GPIO signals
gpio_net_name / gpio_number:
['SATA0_PRSNT_N']=5
['HSBP_CABLE_PRSNT_BUF_N']=57
['FAN_BRD_CABLE_PRSNT_BUF']=58
['HSBP_P12V_STBY_CABLE_PRSNT']=69
['PE_SLOT0_PRSNT_N']=120
['PE_SLOT1_PRSNT_N']=121
2. add these GPIO signals to the sensor YAML config
(From meta-quanta rev: de864a90b91c72a9d31a36688d744a12926a57b3)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie39512763757e222ca386349a4c45af135500d65
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
system initial script:
1. get MB/HSBP/Fan boards REV/SKU ID
2. read FRUs on PE slots
3. reset PHY
4. SATA power enable
5. check HSBP/Fan board cables present
5. verfiy BIOS image
6. Host power on
7. gpio persistence
(From meta-quanta rev: 3a9aa27f5ba286922f4d93470f30ac66cd9ff2d6)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib15171e1828b08b159ff835150ceb4a577fe1a01
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Change the sensor name of fans:
fan2 -> fb_fan0
fan3 -> fb_fan1
fan4 -> fb_fan2
(From meta-quanta rev: 43bbb292c0d151841db415802849df965f6151ce)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If81cf92c50da512986344b31ba20d93af6dcf061
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
When detecting fan fail, set other fans full speed
(From meta-quanta rev: fe75a9e492d94088d5d70b9cf5bce24e47898b2f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I764c9d90f551475de773dfc563763112127bde73
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
add NVMe SSD power enable/disable DBus for sensors
and allow host to set SSD power
Note:
Need to set gpio-line-names in kernel dts for SSD
power enable/disable
(From meta-quanta rev: 41dd1473c5fc9eef12366ad13c36461010860f5f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Iab1fefc7c51176cf62b7d238e2de3837148eaebd
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add entity association map for Google OEM
IPMI command (get entity name)
Tested:
For example, get entity name, "fan0":
~# ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x06 0x1d 0x00
79 2b 00 06 05 2f 66 61 6e 30
(From meta-quanta rev: 52ce287bfcb8c7a4cdeb07fcd80903af5a0dd26b)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I173da270c29745518293133597a5a389d17bf1ce
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Read CPLD version by i2c bus and dump to file
Tested:
Check /run/cpld0.version file
(From meta-quanta rev: 895ca7cf8514321c1000f914dd4fa96638d39904)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I371a70878f09a3d1ee5fed8a2926ed739ce30adf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
The sys_boot_status LED would be set blinking
until host post done. When host post done, the
action of sys_boot_status would be set on
Note:
1. LED action is set in led.yaml under
"gbs-led-manager-config" directory
2. sys_boot_status LED gpio is set in kernel dts
(From meta-quanta rev: 961e0f5890d3bc7b25491a024a694ea9ed01cb70)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ia2f5ff923b8dc6a7eda31d8d37e63a31d6d62028
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add gpio configuration for SlimSAS cable0~3 and
detect cables connected or not
(From meta-quanta rev: 09b8cd98a953ef96fabd7bc1c8d090bd02c53d88)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ifee5ebf1a1055943ade8defce6be63b690bea8d2
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
gbs-bmc-update and gbs-bios-update packages do
inband bmc/bios image update via Nuvoton PCI mailbox
Tested:
Set PCI mailbox memory space as writable
~# sudo setpci -d 1050:0750 04.B=02
bmc update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bmc --sig image-bmc.sig --type image
bios update:
~# sudo burn_my_bmc --command update --interface ipmipci
--image image-bios --sig image-bios.sig --type bios
(From meta-quanta rev: 85d9f2a992421ca981ac11c6227ceb3531a3bb1a)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I1a73f724c4cf16636c460d20c6efd409eac4e80f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|