summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2021-06-17meta-quanta: gbs: avoid to set LED config to D-bus failedGeorge Hung1-0/+5
Use mapper get-service to check if each LED D-bus is ready and also make LED group service restart not too fast when the serive start failed Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idd002e4f42d2664bc2f573a8dcc1afcfa593178a
2021-06-17meta-quanta: gbs: replace nvmem sysfs path by eepromGeorge Hung1-1/+1
Since the nvmem sysfs path would use nvme config id in kernel 5.10, replace nvmem sysfs path by eeprom to compatible with all kernel version Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I861f9bf8e26bf5b96e0727d4dfb3e2a7e4032116
2021-06-09Revert "meta-quanta: gbs: enable fallback watchdog"George Hung2-5/+1
This reverts commit f5f78f62d720ef57a54660927ba9a45515243190. Reason for revert: due to x86-power-control not allowing DC cycle when host is down for fallback watchdog action Change-Id: Idcc6e5d585bfcd9664755b32277d441118beef15 Signed-off-by: George Hung <george.hung@quantatw.com>
2021-06-07treewide: Remove obsolete image-mklibs classWilliam A. Kennington III5-5/+5
This is apparently not actually working anymore and is removed in the next poky update. Change-Id: Ia1c6a258d124a4a30a14fc42e8e0bba95e64faeb Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-05meta-quanta: gbs: phosphor-hwmon: Fix missing boost dependencyWilliam A. Kennington III1-0/+2
The patch added an implicit boost dependency Change-Id: Ic990f59d46101684d4576bfbba89ea0f4c9015e1 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-04meta-quanta: gbs: fix bios update script minior issueGeorge Hung1-2/+14
- check the FIU node for different kernel version - replace sh by bash for the script Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I20f72f2979f75cb6d22a9870c48619a507891005
2021-06-02meta-quanta: gbs: update p12v_fan input/output current thresholdGeorge Hung1-4/+4
Since the VR may report negative current to BMC with light loading, fine tune p12v_fan input/output current lower threshold to -1 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I90c133d8ca5b9e399337fbe82472e5ed78e457a6
2021-05-21meta-quanta: gbs: add the virtual provider for gbs-bios-updateGeorge Hung3-1/+5
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I032031d25b0755611e870c779792844ef87d9e57
2021-05-20meta-quanta: common: add bmc_health_configBruceleequantatw2-0/+24
This config will not set threshold and to avoid critical/warning message shows on journalctl. Signed-off-by: Bruceleequantatw <Bruce_Lee@quantatw.com> Change-Id: Ic6ba793ce7ed16e16a79c5b79f748f78b35ce0cd
2021-05-19meta-quanta: gbs: update the GBS console redirect settingGeorge Hung3-12/+3
Commit the GBS console redirect setting for obmc-console Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If4b39537bc71a00def2d788a24ab06bd1f40a6ad
2021-05-19meta-quanta: gbs: change to 100% for failsafe thermal requirementGeorge Hung1-2/+2
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I47e3efaf6d5bef277821e2731a9886783371a2aa
2021-05-18meta-quanta: gbs: Remove autotools specific configWilliam A. Kennington III1-2/+1
We want to use packageconfig options instead of build system specific ones. Change-Id: Ib0b293c457ea418e98d294da9796c7b103209888 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-18meta-quanta: gsj: Remove networkd overrideWilliam A. Kennington III1-1/+0
We don't need to override this option anymore as the network will be configured correctly without it. Change-Id: Icdc7bb645afa18c12cb5d16337d13cdab7b3e339 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-17meta-quanta: gbs: enable fallback watchdogGeorge Hung2-1/+5
Enable fallback watchdog since it is possible that host fails to boot before enabling the watchdog timer at all Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I4eeb48b618cd6aba3e48dd1337ea69e3ce8292c6
2021-05-17meta-quanta: gbs: Lower pwm-fan-controller CRITLOBrandon Kim1-5/+5
Lower CRITLO parameter to 1500. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I34383068cf1a3469a4f946bac862a60398634f62
2021-05-14meta-quanta: gbs: move to nuvoton-p2a-mbox PACKAGECONFIGBenjamin Fair1-1/+1
Use the PACKAGECONFIG option instead of setting the configure argument directly. Change-Id: I514138c63d58af1a0d83815241410a679a859d73 Signed-off-by: Benjamin Fair <benjaminfair@google.com>
2021-05-13meta-quanta: gbs: srcrev bump f7d2dbd6b4..3b39e92a8George Hung1-1/+1
David Wang(1): Fix missing includes Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I95a1f9081c1db5eb858fd5202d35a3e9b772e436
2021-05-13meta-quanta: gbs: remove SB-TSI patchGeorge Hung2-328/+0
It's already merged to the upstream for kernel 5.10 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ie8d82b3d393bd7e8324aa0b3482ac43c481df3f5
2021-05-13meta-quanta: gbs: Move appending gpio-presenceBrandon Kim2-1/+1
Instead of appending virtual/obmc-gpio-presence to ${PN}-inventory, simply move it to obmc-phosphor-image.bbappend Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ie1ec9bdd3b29cc73acea272199c543b3da715bf1
2021-05-11meta-quanta: gbs: Remove phosphor-hwmon ASYNC patchBrandon Kim2-335/+1
The 0001-sensor-Implement-sensor-ASYNC_READ_TIMEOUT.patch was merged: https://gerrit.openbmc-project.xyz/24337 And SRCREV bumped here: https://gerrit.openbmc-project.xyz/43005 Remove the patch to fix build failures. Change-Id: I38dcaa56a2d184ed9c65a8a653a4d34a80d8f83b Signed-off-by: Brandon Kim <brandonkim@google.com>
2021-05-07meta-quanta: gbs: update ASYNC_READ_TIMEOUT build method to mesonGeorge Hung1-164/+164
ref: https://gerrit.openbmc-project.xyz/24337 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id02a797a515363f74fcff27fc6ce9fc88a4bd9cc
2021-05-06meta-quanta: gbs: update bmcweb build optionGeorge Hung1-2/+7
- update to use meson instead of cmake - change http request body limit size to 40MB to pass firmware update of Robot framework test for GBS - create /var/lib/bmcweb folder to satisfy the path redfish eventservice required to save config and subscriptions Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ic0de91547d11aad9cc6412a389d26c2da5c79644
2021-05-05meta-quanta: gbs: fix sensor type errorGeorge Hung1-6/+6
Correct as the cable sensor type for cable sensors Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5483e0cf103dccdf38a79ce781529e0f6b7b2d88
2021-05-04meta-quanta: gbs: Add Max/Min value setting in json configGeorge Hung3-8/+9
Add Max/Min value setting in json config, so sel-logger could show correct sensor value ref: https://gerrit.openbmc-project.xyz/42073 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ieebb60fec73a83a17babd4a918645dd1a387d8b4
2021-05-03meta-quanta: gbs: add back CONFIG_INPUT_KEYBOARDGeorge Hung1-0/+2
Add back CONFIG_INPUT_KEYBOARD because it's needed for CONFIG_KEYBOARD_GPIO Kconfig ref: https://gerrit.openbmc-project.xyz/42704 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I8cbaec4f950c9787f1c9b3526ccd92d2785b2b01
2021-05-03Revert "meta-quanta: gbs: fix the sensor type error"George Hung1-3/+3
This reverts commit b588235e34a679c45ca41848473da3f59613acd7. Reason for revert: wrong sensor type number for cable sensors Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I865fb34b46295e727b652042619724148668183a
2021-05-03phosphor-logging: convert to mesonPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2a5eb57d100ced02043bf68f64e4596c59da6ebd
2021-04-30meta-quanta: gsj: Remove gsj specific mac-address.bbBrandon Kim1-34/+0
gsj should be using the meta-common mac-address. Remove the gsj specific mac-address.bb Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Iad1daca6308f4952816ba5fa6192cd6a161a75ca
2021-04-29meta-quanta: gsj: Update mac-address to use meta-commonBrandon Kim3-11/+10
meta-gsj is using SRCREV = "${AUTOREV}" which is outdated. Instead, use the bitbake from meta-common similar to meta-gbs. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I7c05b04987d10382329e7e813e71d0d79f2c4b9e
2021-04-29meta-quanta: gbs: remove dbus-interfaces patches for watchdogGeorge Hung3-101/+0
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Idce541a84d476fa9c5af0fd1311eee9f9732679b
2021-04-29meta-quanta: gbs: use service files instead of setting D-bus propertiesGeorge Hung8-333/+57
Use service files instead of setting D-bus properties for power control and remove unused patches Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I6f80979906e87b77b36a6e333456d4e5c42249ce
2021-04-29meta-quanta: gbs: fix yaml file and override config were not usedGeorge Hung1-2/+13
- meson.build doesn't parse the led.yaml you provide, so replace the yaml file of source before compiling - install service-override.conf directly intead of using SYSTEMD_OVERRIDE to avoid package name changing - remove unused json config Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I28c72dfabf32d22f917ca1e244f5b700ae941667
2021-04-29meta-quanta: gbs: fix the sensor type errorGeorge Hung1-3/+3
They should be the cable sensor type Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I5056a7bd51effdc34ca89966da8ab4f666bbc92a
2021-04-29meta-quanta: gbs: add gpio-keys configs and fix build warningGeorge Hung1-2/+8
- fix comments for kernel build warning - add gpio-keys configs due to the following commit: https://gerrit.openbmc-project.xyz/40930 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3129f96a6d2d45f8d72d7cf4be806126c89f3cc0
2021-04-29meta-quanta: gbs: Add explicit RDEPENDS for toolsBrandon Kim2-1/+3
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
2021-04-29meta-quanta: gbs: fix mapper wait quit immediatelyGeorge Hung1-3/+3
Using mapper wait to ExecStartPre would quit immdiately while the D-Bus path is not active yet, so change to add to "After=" to make sure it would wait until the D-Bus path work Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I86029f4eba6b34b5c313ec9cc1578ef173d5c2aa
2021-04-29meta-quanta: gbs: set the max number of IPMI SEL logsGeorge Hung1-0/+1
limit the max number of IPMI SEL logs as 256 since the logs would store in persistent path (/var/lib/phosphor-logging/errors) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I120623a934bd9fa6e8dd5c9b372b110287ef85d5
2021-04-29meta-quanta: gbs: remove u-boot-fw-utils/clear-once packagesGeorge Hung4-30/+4
remove u-boot-fw-utils/clear-once packages since we don't use u-boot environment Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ideb8ece3529bd8fea658f9c160551950773d6d13
2021-04-29meta-quanta: gbs: update chassis control and support signed sensorGeorge Hung6-138/+569
- Update IPMI Chassis Control command transition requests: https://gerrit.openbmc-project.xyz/29051 - Add Chassis State Transition interface https://gerrit.openbmc-project.xyz/29050 - Update Host State Transition function https://gerrit.openbmc-project.xyz/29049 - Fix issues and support signed sensor values https://gerrit.openbmc-project.xyz/26754 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ice305cb9a9e390099a828e872af451e832d59749
2021-04-28meta-quanta: gbs: adjust ro/rw partition offsetGeorge Hung1-2/+2
Adjust ro/rw partition offset according to the kernel dts Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I78d6e6d689de22e96b900ed1ce97714102d18473
2021-04-28meta-quanta: gbs: remove unused packagesGeorge Hung1-1/+2
Remove ikvm and fru-device packages Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3a6cb2b92ffcae11b775813bec12190399d27c88
2021-04-28meta-quanta: gbs: fix includes error and add flag explictlyGeorge Hung3-85/+135
1. Remake the patch to fix includes error: - Implement sensor "ASYNC_READ_TIMEOUT" https://gerrit.openbmc-project.xyz/24337 - Add power on monitor mechanism https://gerrit.openbmc-project.xyz/28181 2. Set negative-errno-on-fail flag as false explicitly, otherwise it would be true conflicts with update-functional-on-fail Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Id550bc5261e6fa7218e2ff2731e1af51487ee376
2021-04-28meta-quanta: gbs: change back to upstream and enable IPMI SELGeorge Hung4-11/+444
- change back to OpenBMC upstream for phosphor-host-ipmid and phosphor-sel-logger - add inventory sensors YAML for IPMI SEL - enable SEL_LOGGER_SEND_TO_LOGGING_SERVICE and SEL_LOGGER_MONITOR_THRESHOLD_ALARM_EVENTS for IPMI SEL Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I16c58444986aec6c927e175a2c69f9cca92a7bcb
2021-04-27gsj: ipmi-fru-properties: Add presence valuesWilly Tu3-0/+27
The ipmi command checks the FRU device's Present property upon a FRU device info reading request. The fru eeprom devices is availabe in dbus, but cannot be accessed by ipmi. ``` $ ipmitool fru FRU Device Description : Builtin FRU Device (ID 0) Device not present (Requested sensor, data, or record not found) FRU Device Description : hsbp (ID 1) Device not present (Requested sensor, data, or record not found) ``` Google-Bug-Id: 186454762 Change-Id: I173c8b3a43dc117f026908d035a00cf49a4e90f5 Signed-off-by: Willy Tu <wltu@google.com>
2021-04-23quanta: gsj: linux: Enable USB NPCM UDC driverWilly Tu1-0/+2
Google-Bug-Id: 186163211 Change-Id: I0e7a43b93cb441ee382b5b94e6f5aac24aaddc7d Signed-off-by: Willy Tu <wltu@google.com>
2021-04-22build phosphor-hwmon with mesonMatt Spinler4-4/+4
The repository supports it, so switch it over in bitbake. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
2021-04-21meta-quanta: gbs: back to upstream and enable chassis-system resetGeorge Hung3-3/+31
- change back to x86-power-control upstream - enable chassis-system reset for hard power cycle by Redfish Usage by Redfish: curl -k -u ${username}:${password} https://${bmcip}/redfish/v1/Chassis/chassis/Actions/Chassis.Reset -d '{"ResetType": "PowerCycle"}' Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Icff87d590c911289cb15bdc34dafce69e55c9e2a
2021-04-21meta-quanta: gbs: Fix WCTemp in read-margin-temp-wait.shBrandon Kim1-4/+4
The backup WCTemp was being set to 72000 * 1000, clean up the logic. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ic752b188cb06f9755fcfa6f21f530dcb979ac813
2021-04-20meta-quanta: gbs: Add retry to read-margin-temp-wait.shBrandon Kim1-7/+22
Add 3 x 1 second retries for WCTemp and default to a sane WCTemp if 0 is read. Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ia87e704d2e5e0990a0727cd37290084f8eda2df6
2021-04-17meta-quanta: q71l: add compatsPatrick Venture1-0/+1
Adds the compatible layers for this machine configuration. Tested: With a companion uboot configuration change patch was able to build image. Signed-off-by: Patrick Venture <venture@google.com> Change-Id: Ia517c46647249279a3cadd75e04eb1d8ff5df209