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
|
|
It's already merged to the upstream for kernel 5.10
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie8d82b3d393bd7e8324aa0b3482ac43c481df3f5
|
|
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
|
|
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>
|
|
ref: https://gerrit.openbmc-project.xyz/24337
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id02a797a515363f74fcff27fc6ce9fc88a4bd9cc
|
|
- 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
|
|
Correct as the cable sensor type for cable sensors
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5483e0cf103dccdf38a79ce781529e0f6b7b2d88
|
|
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
|
|
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
|
|
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
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I2a5eb57d100ced02043bf68f64e4596c59da6ebd
|
|
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
|
|
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
|
|
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Idce541a84d476fa9c5af0fd1311eee9f9732679b
|
|
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
|
|
- 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
|
|
They should be the cable sensor type
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5056a7bd51effdc34ca89966da8ab4f666bbc92a
|
|
- 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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
- 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
|
|
Adjust ro/rw partition offset according to the kernel dts
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I78d6e6d689de22e96b900ed1ce97714102d18473
|
|
Remove ikvm and fru-device packages
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I3a6cb2b92ffcae11b775813bec12190399d27c88
|
|
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
|
|
- 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
|
|
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>
|
|
Google-Bug-Id: 186163211
Change-Id: I0e7a43b93cb441ee382b5b94e6f5aac24aaddc7d
Signed-off-by: Willy Tu <wltu@google.com>
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
- 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
|
|
The backup WCTemp was being set to 72000 * 1000, clean up the logic.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ic752b188cb06f9755fcfa6f21f530dcb979ac813
|
|
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
|
|
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
|
|
- 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
|
|
Fix the uboot config to always apply because the palmetto machine
override is no longer set.
Tested: With companion layers patch was able to build.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ifc16e06a0906d5530a8ccfbe2a15dcc8d9fa9296
|
|
Add the @nvmeList@ template and dynamically detect for which
drives we should have and populated the JSON accordingly
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id0f6cefe80ae72dc8d3601d0a03dd1039341175c
|
|
Latest upstream yocto has moved on to the 3.3 hardknott release
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ieae36798d66d21c2c642931f06407d3bb2acf163
|
|
Since it needs to read WCTEMP from the nvme SSD to overwirte
read-margin-temp json config, add the dependency to make
sure the pid control service start after the nvme service
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id11ee5eb9e4cb994c700849d58996d7c25c4618e
|
|
- Add the ability to dynamically set the failSafe percent
https://gerrit.openbmc-project.xyz/38112
Note:
It's already submitted to Gerrit and under review
Also, it will be removed until it's merged
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I0df3c413f46df880aa585af2c8cbc0fa8a5140a6
|
|
update the fan hwmon variables to be wrapped in @@ to
avoid any mis-replacement
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I6ecfb868fe1b58b2918bdb2760462250f0c4ae3a
|
|
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
|
|
Josh Lehan (2):
Update README
Modified return value from min to NaN when NVMe present is false
Signed-off-by: Harvey Wu <Harvey.Wu@quantatw.com>
Change-Id: Iecb067d10507c0a60ad585b47ee5d0184705325d
|
|
Change to work-round for the kernel dts, so revert back
the following commit:
https://gerrit.openbmc-project.xyz/c/openbmc/meta-quanta/+/38877
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I21af8da577f2554b55886fc0133f94be77bc3520
|
|
mapper wait call should not be called every loop
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I7763f8dfbd78fdacbdbf21076cbc56cde8b7bc17
|
|
The D-bus type for the sensor value change to use double
and the read-margin-temp already update for that, so replace
millidegree by degree for the unit
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib2725e7834ea2bd0021807ee5395f45c07b08c49
|
|
Read WCTEMP reading and overwrite to config-margin.json
and update the WCTEMP variables to be wrapped in @@ to
avoid any mis-replacement
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I2f6eae64acc1db089c1a3ca48288ae360d555dac
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: If3358964f776d0f9ae55f4eee5ea05d6d95b050a
|
|
Josh Lehan (2):
Massively refactored to fix bugs and use double
Add single point of failure mode and error detect
quadpixels (1):
Reuse DBus connections and reduce redundant DBus messages
Harvey Wu (8):
use struct to save zones objects
comment some print log in util.cpp
comment some print log in dbus.hpp
fix function input parameter
fit the coding standard
Add option and function according issue #11
Add "debug", "ignore" option
Add NVMe Present Option
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I8cfa8d127c4ff2f9d8ba02bea73bcca6d2c62f9e
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ia161322f75a9c967dab489cdb93776e8abbc828a
|