Age | Commit message (Collapse) | Author | Files | Lines |
|
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 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
|
|
- 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
|
|
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
|
|
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
|
|
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ia161322f75a9c967dab489cdb93776e8abbc828a
|
|
Recipe name as updated to gbs-inventory-cleanup. DEPENDS also need to be
updated to ensure compilation.
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Icc43de8501e3eea2da437074ece62d3a02746b88
|
|
Set the Max/Min value to i2cool sensors to avoid the
abnormal current/thershold values in the SEL logs
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie46e07a9a41f65b820258675f0e213e5434583cc
|
|
This layer provides libseccomp.
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Change-Id: I84513d56f2ed75fab49043196b98ef8b858e394f
|
|
Sometimes LED manager service will get sdbus "the name
is not activatable" error for the first start, so add
retry 10 times to make sure the service start successfully
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ic9e429bca70cae3272547de6f8c8f96df0d02a9c
|
|
Use a unique name for this recipe so it won't conflict
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ie2d5d71a73288ad7b6d1d35812cb8bfc7a11e5ae
|
|
Specify the Restart as on-failure to fix the config error
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I39e9e4d79e36f1222a3e54c12702b9b8b0ee56fa
|
|
It's already added in meta-google layer, so remove the
nftables kernel configs from here
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41161
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ib9a0201987da19e94a225b3487f506af388c536f
|
|
1. add gbmc distro override
2. add GBMC_NCSI_IF_NAME to enable gbmc-ncsi-config
3. enable kernel netfilter configurations to be compatible
with gbmc network config rules
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5b36f79d4a6dcb31753deb860d2e0c7f3349efbd
|
|
1. Change CPU margin from 13C to 15C
2. NVMe SSD margin = WCTemp - 7
(WCTemp = Warning Composite Temperature Threshold)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Id9af01305764132fa537afada073826f3d37125e
|
|
Add the fleeting2 sensor for the hda temperature
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I5dd3ebfcedc07df15677bacdf0f029e009213adf
|
|
Change to set CRITILO fan speed to 1800 RPM for fan failsafe
consideration according to the thermal team suggestion
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I2fef191d53b095bce6518583dea072700ff9a0e7
|
|
Set CRITILO fan speed to 600 RPM for host tool fan pwm calculation
(From meta-quanta rev: 3bee1ba439c56ccb37ee1465a7d4209f757db015)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ica5a0e030f32425f74c30ad5c2dd80b875227b87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Do i2cool temperature calibration by phosphor-virtual-sensor
Also, as the phosphor-virtual-sensor generate the same D-Bus path,
chage the sensor name in hwmon to avoid the duplicate D-Bus path
(From meta-quanta rev: e1562d81de2b88bfee04cd2440133caa334b726f)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I31f000c8ab3cdcef100e95a2fd4de5ecb19ad14a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Enable enhanced mode to improve the memory training
(From meta-quanta rev: caf2eedb93f5b0f7e0764d1bfdfdb0a758ea1477)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I46f745d8450aa330b76f815cbf7bccbb15b84674
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Since the fan hwmon sysfs path may change, if the hwmon path of config
json is already replaced by fan-table-init.sh, it would never change
in rw partition. Add config-sku.json to make sure the correct fan hwmon
sysfs path is replaced
(From meta-quanta rev: fb6723490cc9cbc8fd806cdd6d795e7feca4173b)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ic4ae24f3311a1ced845b60bddf247cef6b3c1e1e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Work-round to correct the SlimSAS cable sensor names/GPIO associations
for the silkscreen
(From meta-quanta rev: 60e4870a9a3949b941d5e054cafca0aae1891671)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I36aa91674bfe5bb565142675ebe2209fd5fdd1b8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Adjust the IOUT/POUT GAIN for ADM1272 since main source
changed for DVT/PVT HW
(From meta-quanta rev: 1c42eb58913bf5d2af803a774e623ebcc64ec252)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Iae21f6ff4b840019b1b3e6dbf470212d71ff2514
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Stop phosphor-hwmon before performing a tray power cycle to
avoid ADM1272 doing an abnormal I2C transaction and causing
ADM1272 driver probe to fail due to wrong Manufacturer ID.
(From meta-quanta rev: 2143eac88d3643e4a8d461eec2ed9a2d2e6a32f3)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ibd69cb956d76dbe08f0bb6e6bce115d5bab469df
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Since their pwm/tach are inverted physically, so work-round to
exchange the pwm/tach for fb_fan1 and fb_fan2
(From meta-quanta rev: b673c1f821cf041b4cb178ea09cd0fdb5095d421)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: If148239ed199000b20d1782579f344a3e3bd72ee
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|