summaryrefslogtreecommitdiff
path: root/meta-quanta
AgeCommit message (Collapse)AuthorFilesLines
2021-07-30meta-quanta: gbs: phosphor-sel-logger: Use packageconfigWilliam A. Kennington III1-4/+1
This makes it possible for us to change out build specific settings. Change-Id: Ib9ba56a832a035b7ded1bf1aed838db1d91df6bf Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-30meta-quanta: gbs: expose pwrgd_p12v_all_slots as an IPMI sensorGeorge Hung5-3/+37
- 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-07-28meta-quanta: gbs: update the related states D-bus service nameGeorge Hung6-10/+10
Since x86-power-control add multi-node support, the all related states D-bus service name add the node instance additionally Thus, update the Chassis/Host/RestartCause D-bus service name for all related scripts/services Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If6ba080ff8757e01e230ee7d636e293922cdc127
2021-07-28meta-quanta: gbs: remove manual replace action for led.yamlGeorge Hung1-4/+0
The led.yaml not be passed issue is fixed, so remove the manual replace action ref: https://gerrit.openbmc-project.xyz/43927 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iaaf891f4d88527806b3f52694b17815e3b7fca17
2021-07-26meta-quanta: gbs: update x86-power-control json configGeorge Hung1-8/+32
https://gerrit.openbmc-project.xyz/36528 brought in a new change in the json, so update to the latest format for power-config-host0.json Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I2fa800eda63adda765b032c2d5d02186654349cb
2021-07-20treewide: inventory: switch ChassisType to future enum valuePatrick Williams2-2/+2
Change Ie1a7c389edb6b7a048836a49283ceb62de51bba5 will be transitioning the 'Type' property in Inventory.Item.Chassis to an enumeration. In order to avoid crashing in PIM we need these default values in the starting YAML to be fully-qualified enumeration names that will match the values which will start in Ie1a7c. This code is safe to merge as is without any PDI or PIM changes. Prior to the PDI change, we must make a change to PIM that allows conversion automatic from string->enum, leveraging library interfaces available in sdbusplus. These will be submitted independently. I checked the codebase for usage of this string. It appears that the value is currently, effectively, write-only. There is code in bmcweb that fills in the equivalent Redfish value but currently just hard-codes the string 'RackMount'. Tested: Booted Witherspoon in a QEMU model with this change and proposed changes to sdbusplus + PIM. PIM no longer coredumps with the PDI change and yields an expected persistence file: ``` $ pwd /var/lib/phosphor-inventory-manager/xyz/openbmc_project/inventory/system/chassis $ cat xyz.openbmc_project.Inventory.Item.Chassis { "value0": { "cereal_class_version": 2, "Type": 3 } } ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icaf9447f31ccdd945cdf74b3e017682e4aed686f
2021-07-08meta-quanta: gbs: install phosphor-ipmi-kcs to imageGeorge Hung1-0/+2
Revert back to install phosphor-ipm-kcs to image Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iad151c27c1f67fb8c6b8e422dde6a870ff32867f
2021-07-08meta-quanta: gbs: Improve gbs-sysinit.shBrandon Kim1-7/+4
Remove using external command in gbs-sysinit.sh Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I9fab3e275c822a0c87f5935cf912b258b923e33e
2021-07-08meta-quanta: gbs: update the default threshold for rewrite scriptGeorge Hung1-2/+2
Also need to update the UCT and UNCT to 72 degree as default for nvme rewrite script Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I7c744a1b21b4cfe6eb7204464ff77e3c3abb7ff5
2021-07-07Revert "meta-quanta: gbs: Use gBMC KCS daemon"William A. Kennington III2-2/+2
This reverts commit 3f2570e74ef929c7449911df18c1a8b9a59f02f1. Change-Id: Ie9ccec722df88d857bcdc3b2661adb55490fc13a Signed-off-by: William A. Kennington III <wak@google.com>
2021-07-05meta-quanta: gbs: fix flash layout offset for 64MiBGeorge Hung1-2/+3
Since the addition override for 64MiB, add the flash size suffix to fix flash layout offset ref: https://gerrit.openbmc-project.xyz/43876 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1a766fb90d79c55d1487e298e9eb16c8c1091165
2021-07-02meta-quanta: gbs: enable health monitoring serviceGeorge Hung1-0/+1
Enable phosphor-health-monitor for CPU/Memory/Storage_RW utilization ref: https://gerrit.openbmc-project.xyz/43387 Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: If76a2d60ebe3db1bd6c1486d039677f35e7e8c5d
2021-07-02meta-quanta: gbs: add CPU/Memory/Storage_RW usages for RedfishGeorge Hung1-1/+5
Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I23757a6df671ed98f67d1e4280abfcc4ae22d233
2021-07-02meta-quanta: gbs: update the default threshold for NVMeGeorge Hung1-3/+3
update the UCT and UNCT to 72 degree as default Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I1baad8f3b621c7a704d5e4872d634653ea75c197
2021-07-02meta-quanta: gbs: install some missing useful packagesGeorge Hung1-0/+3
ipmitool: - debug/manufacturing purpose phosphor-user-manager: - basic authenication for Refish phosphor-nslcd-authority-cert-config: - be able to install your owned CA certificate for Redfish Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I8697fe674d58268dbe348c9374f7de32037041c1
2021-07-02meta-quanta: common: fix "ignored null byte in input" warningGeorge Hung1-1/+1
get rid of "ignored null byte in input" warning for the usb-network.sh Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I2a18f568b362601fa1c41ec39a8c1cecf09f8862
2021-07-01meta-quanta: gbs: remove packagegroup-obmc/gbs-apps settingsGeorge Hung4-57/+47
remove packagegroup-obmc-apps-extras/packagegroup-gbs-apps and add all the needed binaries to obmc-phosphor-image.bbappend Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ic56cb146987881e5b6312057ca412427f1d1ba29
2021-07-01meta-quanta: gbs: update some changes to gbs-sysinit scriptGeorge Hung1-10/+24
- remove unnecessary reset PHY action - check the FIU node for different kernel version - rebind the module for the I2C switch on I2C bus 11 as it only can work with the normal power Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I9b4390d146902484c75bdce20ef6eead2833fc14
2021-07-01meta-quanta: gbs: remove patches for phosphor-ipmi-hostGeorge Hung5-571/+1
remove patches: - Update IPMI Chassis Control command transition requests - Add Chassis State Transition interface - Update Host State Transition function - Fix issues and support signed sensor values Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I8f9f7d576ef7f7672bedf803ee73f331f96768ff
2021-07-01meta-quanta: gbs: remove gbs-nvme-pwr-ctrl/mac-address packagesGeorge Hung4-39/+0
remove packages and recipe files: - mac-address - gbs-nvme-pwr-ctrl Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ic9d6a48d16ec058d1f444badc2f3e69628f77859
2021-07-01meta-quanta: gbs: remove the patch for phosphor-pid-controlGeorge Hung2-118/+0
remove patch: - Add the ability to dynamically set the failSafe percent Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I3fdb60d288fb2fcf83928ba712a546f823849652
2021-06-30meta-quanta: gbs: Fix x86-power-control power-config-host0.jsonBrandon Kim1-6/+8
https://gerrit.openbmc-project.xyz/42539 brought in a change in the json, now requiring "gpio_configs". Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I0361d6c4ed6fa440ae2e32a4ce9c364ee91d8380
2021-06-28meta-quanta: gbs: add system event sensor to handle non-IPMI-SELGeorge Hung1-0/+6
Since the phosphor-logging still has other event types other than IPMI SEL and also put them in the "/var/lib/phosphor-logging/errors" directory. It would make "ipmitool sel list" result in the unspecified error Thus, map these logs to the system event sensor as "Undetermined system hardware failure" Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I00d557fba529d9b762746f8e582df336a16e630f
2021-06-25google-ipmi-sys: srcrev bump 3b1b427c1f..ac730af213Andrew Geissler1-3/+5
William A. Kennington III (3): makefile: Fix target install treewide: Cleanup pedantic C++ warnings build: Add meson build linyuny (1): Add new google ipmi sys command: SysHostPowerOff Change-Id: I988b24ca97d95ffa4ef7332741b682f1fae06011 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-23meta-quanta: gbs: remove the patch for phosphor-hwmonGeorge Hung2-272/+0
remove patch: - Add power on monitor mechanism patch Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I932828d69948c3e0daa8fd428d620a75325e0ac9
2021-06-23meta-quanta: gbs: remove kernel patchesGeorge Hung5-619/+0
removed patches: - AMD CPU temperature hwmon driver - seven segment display drivers - adm1275 temperature sensors enable patch Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ic3f566ee4d39d954fc2cbcc12e4b5b970f645733
2021-06-22meta-quanta: gbs: update the service and remove unused scriptGeorge Hung2-15/+2
- Add always restart to the service file ref: https://gerrit.openbmc-project.xyz/42451 - Add retry 10 times when the service failed - remove unused script Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Ia3b027077d8cc9fae65013d38bf1ea730dbbbe42
2021-06-18meta-quanta: gbs: Modified pid sensor type from margin to tempGeorge Hung5-530/+646
- Remove read-margin-temp files and codes - Modified sensor type in pid json to temp setpoint set to target temp Kp set to Kp * scalar Ki set to Ki * scalar - Pre-detect nvme present status in fan-table-init.sh, and delete settings if nvme present is false. Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: Iba4ac164a7a39ca1be109301402911d432294997
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