summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-gbs/gbs-detect-gpio-present/files/detect-gpio-present.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-07-30meta-quanta: gbs: expose pwrgd_p12v_all_slots as an IPMI sensorGeorge Hung1-2/+3
- monitor pwrgd_p12v_all_slots GPIO signal - add pwrgd_p12v_all_slots as IPMI sensor with pwrgd_p12v_slots sensor name Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I70ce89ad2a065cdc9ee59ace73085fea7036da0d
2021-04-16meta-quanta: gbs: monitor fans e-fuse PG GPIO signalGeorge Hung1-2/+3
- 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
2021-03-30meta-quanta: gbs: detect-gpio-present: Mapper wait onceBrandon Kim1-1/+5
mapper wait call should not be called every loop Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I7763f8dfbd78fdacbdbf21076cbc56cde8b7bc17
2020-09-03meta-quanta: gbs: fix BMC can't record gpio present SEL logsGeorge Hung1-12/+12
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>
2020-07-23meta-quanta: gbs: expose more GPIO signals as IPMI SDRGeorge Hung1-0/+47
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>