summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-phosphor
AgeCommit message (Collapse)AuthorFilesLines
2020-09-26meta-quanta: gbs: add sensors associations for RedfishGeorge Hung5-0/+532
1. add GBS sensors associations for Redfish 2. enable DBUS log service transactions through Redfish option (From meta-quanta rev: a271b5e4d39d8d57a453f7ea2e500d309241e250) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If71fc9e9ec4f47b7dc78bb0940588e801e6e8c45 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-26meta-quanta: gbs: adjust max34451/p3v_bat_adc threshold/GAINGeorge Hung3-19/+22
max34451: adjust pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr GAIN/threshold to show normal value p3v_bat_adc: adjust GAIN to meet the deviation requirement (From meta-quanta rev: 47decce839819001140663ed8eed71ffb31efa2b) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ia30c6abe2f95490d52d01052289ed86178b7cdce Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-23meta-quanta: gbs: add VR/adm1272 temperature sensorsGeorge Hung8-2/+99
VR temperature sensor names: vddcr_cpu vddcr_soc vddio_abcd vddio_efgh p12v_mobo p12v_fan adm1272 temperature sensor name: hotswap Note: Since adm1272 PMON_CONFIG didn't enable temperature monitoring by default, add the driver patch to support it (From meta-quanta rev: c680ebe0310ff72dd0811616830d22f5d5bfa108) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icb39c0827fe66faaa91d24b3fc93e15f53d21782 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-15meta-quanta: gbs: expose model number for NVMe FRUGeorge Hung1-6/+5
1. add model number for NVMe FRU 2. modify to use product info area for NVMe FRU (From meta-quanta rev: 691ae3703604d9d9dcac72247c8e92e4a4e73fb2) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I63df753614fd53819494891667476e6e5a58820d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-04meta-gbs: update some sensors m value/threshold/GAIN/sensor typeGeorge Hung9-30/+38
1. update max31725 temperature threshold 2. add adm1272 power GAIN 3. update vddcr_cpu_in/out current threshold 4. update pwrgd_pvpp/pwrgd_pvddio/pwrgd_cpuvr voltage threshold 5. update p12v_fan_in/out current threshold 6. add p12v_mobo_in/p12v_fan_in current GAIN 7. update p1v8_stby voltage m value 8. update vddcr_cpu_in current m value 9. update hotswap_iout current m value 10.nvme pwr_dis/en sensor type 0x00 -> 0xC0 (From meta-quanta rev: 444a37116b4902b0efffc1c013fc5f6ebf60aa69) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iac993f356a7b3fa8647973479477e5a5ce82655f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-03meta-quanta: gbs: fix BMC can't record gpio present SEL logsGeorge Hung12-21/+21
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-08-30meta-quanta: gbs: fix non-cable presence sensor type and sata/pe_slot entity idGeorge Hung1-13/+47
1. nvme/sata/pe_slot presence sensor type -> entity presence (0x25) 2. sata0_prsnt entity id -> Disk Drive Bay (26) 3. pe_slot0/1_prsnt entity id -> Add-in Card (11) (From meta-quanta rev: a2d6c58e23c3a0c985530a5cf8ae2e861a842141) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id450a85dbf1a1f0ea3b22380af6face47c6821a5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-28meta-quanta: gbs: add updating nvme config scriptGeorge Hung4-0/+424
Update Present/Pwrgood GPIOs number to nvme json config and export them before running phosphor-nvme daemon (From meta-quanta rev: 30cafdc73528c95d7658feb060f2552b65afb16a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3662fa44b65883ec46d61e693ed4b8804059f927 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-27meta-quanta: gbs: change VR and NVMe presence sensors nameGeorge Hung5-32/+32
Change VR and NVMe presence sensors name to make them more readable VR: vddq_abcd_in => vddio_abcd_in vddq_abcd_out => vddio_abcd_out vddq_efgh_in => vddio_efgh_in vddq_efgh_out => vddio_efgh_out p12v_1_in => p12v_mobo_in p12v_1_out => p12v_mobo_out p12v_2_in => p12v_fan_in p12v_2_out => p12v_fan_out (From meta-quanta rev: dfef06ba145eb60e59de7d74310489a6c467a75a) Signed-off-by: George Hung <george.hung@quantatw.com> Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ie40b6eda8eb72b29a015884ec7bfe4fdd5734979 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-20meta-quanta: gbs: phosphor-ipmi-host srcrev bump 675d587...1670af5George Hung1-1/+1
This includes the commits from openbmc/phosphor-ipmi-host, add new sensor types for IPMI SEL log William A. Kennington III (1): ipmi_fru_info_area: Fix Model Number name jayaprakash Mutyala (1): transporthandler: Fix for invalid VLAN id Johnathan Mantey (1): Modify Get Lan Configuration IP Address Source to use correct DBus DHCPEnabled type SpencerKu (1): Add Sensor Types into Config Samuel Jiang (1): sensor type: add watchdog sensor type (From meta-quanta rev: 27e1d94b3769bd16017324e047b02a542d2ee58f) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id04dd26b7105f5f0c901df94939ef4a93deb98d3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14meta-quanta: gbs: fix the sensor value type of Fan PWM sensorsGeorge Hung1-1/+1
Correct the sensor value type of Fan PWM sensors as uint64_t (From meta-quanta rev: 0f43ced28fd640d132770aa9149664213edef485) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I9bc72eb2b984bb3b28dceb5d62744c469f3e1154 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-07meta-quanta: gbs: fix p12v voltage GAIN and current thresholdGeorge Hung2-6/+10
1. fix p12v_1/2 input/output voltages GAIN to get the correct value 2. fix p12v_1 output current threshold (From meta-quanta rev: 58c91e5e8ad4e3c916bebbe76c958eafe0254e9e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3394a2d33e22068509818e36b9dfd89e553703c5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-06meta-quanta: gbs: add GBS read-margin-temp configGeorge Hung3-371/+0
Since read-margin-temp_git.bb will move to meta-quanta/meta-common, add read-margin-temp bbappend file and move read-margin-temp folder from meta-gbs/recipes-phosphor/fans to meta-gbs/recipes-quanta/fans read-margin-temp_git.bb move to meta-quanta/meta-common: https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/35277 (From meta-quanta rev: 410c3e900f09aa1f2fee6b155d9987b5510859c6) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I79ff42570dc9422e3c2e90dd95c5d29b01ec1133 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-04meta-quanta: gbs: fix sensor value type and hwmon patch issuesGeorge Hung3-67/+73
Since the sensor value type had been changed to double, we have to modify the sensor value type to double and remove the scale in sensor YAML config and also update the patch for hwmon fix for this changing Change sensor type to double: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/11739 hwmon fixes for the sensor type changing: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34481 https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/34983 (From meta-quanta rev: a661c1683e19abf70429fd263dde8f63f1b188b0) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifdfe45c1119e0cc5d0e0fb180a91aada87631405 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-31meta-quanta: gbs: add sel-loggerGeorge Hung1-0/+5
Add sel-logger for IPMI SEL log (From meta-quanta rev: 382efcfa85932abce877e6a7e268dac7f5362246) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iadc7cd5edef57aa0875c146935ad85129525f668 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-28meta-quanta: gbs: add GBS IPMI configGeorge Hung3-0/+31
Set GBS IPMI configurations: 1. device id 2. entity-map (From meta-quanta rev: c2cff3602441072e98da8127edf55a6364001746) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idf3062bd78844590ea5f5b9830887728086e2b36 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-24meta-quanta: gbs: install the essential packages to the imageGeorge Hung1-0/+23
Install the essential packages to the image for GBS machine (From meta-quanta rev: fc79982f61df69521191243df81340466f6c28fc) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I64fd08ecbf83fe8cacc3ae06e01642638ee8f2ac Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-23meta-quanta: gbs: expose more GPIO signals as IPMI SDRGeorge Hung13-29/+99
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>
2020-07-22meta-quanta: gbs: add YAML paths/whitelist config/watchdog patchGeorge Hung3-0/+235
1. set gbs YAML config paths for sensors and FRUs 2. add gbs IPMI whitelist config 3. add pre-timeout interrupt patch for IPMI watchdog commands (From meta-quanta rev: fee51df037779d09b18d2ae0e7c864182d40c43c) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I06decf7f95ebd25153cefa7a12be45bbde63aee6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-18meta-quanta: gbs: rename fan2/3/4 to fb_fan0/1/2George Hung4-25/+25
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>
2020-07-15meta-quanta: gbs: add pid controller with configGeorge Hung9-0/+696
1. add pid control with fan table config 2. add reboot control service to set fan duty to expected default value before pid control up 3. initial read-margin-temp with json file and the script waits related hwmon sensor could monitor (From meta-quanta rev: b67a01a728b268b9aa61ebde63354ad1a6f46bdd) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5ae6f5d163dbaee8839bf5222bb650483531e68a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add sensors and fru yaml configGeorge Hung4-0/+1562
Create configuration layer to store sensors and fru yaml (From meta-quanta rev: 79846fd70d9056dfb1582f6d571b72cca3cbbfab) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id0a2bd5931ee6761e59497be6ff7af62f42995f3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-15meta-quanta: gbs: add ipmi watchdogGeorge Hung6-0/+437
the upstream watchdog lose some command parameters and implementation we reference Intel-BMC repo[*1] apply patches for normal execute with x86-power-control [*1]: https://github.com/Intel-BMC/openbmc/tree/intel/meta-openbmc-mods/meta-common/recipes-phosphor/watchdog (From meta-quanta rev: 230aee7e93f0e4873dc1e76a929e794559155cb5) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ib4e94948210d6d2948ab5983c962220810db45e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10meta-quanta: gbs: add hwmon sensorsGeorge Hung17-0/+1036
Define the configuration files of the related sensors and test pass 0001-lev-add-poweron-monitor-feature.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/28181 0002-lev-add-sensors-slow-readings.patch In-Review: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/24337 (From meta-quanta rev: a66f2b941cede5fc15fe0d6d56ca2ac9352fdf77) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If7f767cbd952cde593e03d30c45572a21cc7c960 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: add ipmi fru eeprom configGeorge Hung4-0/+35
Add GBS related fru eeprom path and id (From meta-quanta rev: 904b35a20462dca720a48c225c5a193a3888e408) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1e8b76d6c5f48b85ad0482857b083d8843c05e39 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: add kcs device and 7segGeorge Hung3-0/+12
1. The GBS's host communicates with BMC by KCS1 2. add 7seg for post code led (From meta-quanta rev: 5f7b8501379a73b230d7982a219b33669a32cdd2) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I0f619c914022d32348447c29132098a1b046247b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-12meta-quanta: gbs: detect SlimSAS cable presenceGeorge Hung6-0/+64
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>
2020-06-12meta-quanta: gbs: inband bmc/bios image updateGeorge Hung2-0/+7
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>
2020-06-12meta-quanta: gbs: customize whitelist and time settingsGeorge Hung3-0/+15
1. set "RestrictionMode" to whitelist as default 2. modify time setting to make ipmi command "sel time set" can set host time (From meta-quanta rev: de8d8179ee2ecb7fed31c119b48cc9e40ef31710) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ifa75a283df79082870588c909ecb9693a367e4c8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add LED configurationGeorge Hung2-0/+258
Set GBS related LED actions in yaml file 1. heartbeat 2. sys boot status (bios post done) 3. attention (identify) 4. bmc fault (kernel panic) 5. NVME SSD locate/fault (From meta-quanta rev: 745df9caeb360ce80c9edaf27dc5600b6646e31a) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1c506687165b60ac29dd6ae7989ded3a5a20c9a7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add binarystore config fileGeorge Hung2-0/+13
Set eeprom path and offset of the config file (From meta-quanta rev: d60e18101c6ddff8246a964e3cd560a7708f2bfa) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I7ae44086eba26ddd0fe7eca2b5f18cf78401c6f1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add configuration of obmc-consoleGeorge Hung3-0/+15
1. Host serial port 1 to BMC UART1 2. modify the udev rules for console config Tested: run obmc-console-client and then can redirect to host console (From meta-quanta rev: b64af2ce0a7d55ee8a765e44788d3c96fb9ba971) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I20a70ff7e3bed278642d7903f1154664f805c20c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-08meta-quanta: gbs: add package groupsGeorge Hung2-0/+36
1. add packagegroup setting(Fan, Chassis, Flash) for GBS 2. remove unused package obmc-ikvm 3. add phosphor-gpio-monitor (From meta-quanta rev: 72cdf91caaca91ebab24f30f37a1a8640fa7cb8e) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I814a6f15e88a8032b0592376aa8cb1316a36f24c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>