Age | Commit message (Collapse) | Author | Files | Lines |
|
Upstream bbclasses changed to typically use the `:${PN}` override
syntax, including the SYSTEMD_ variables. Change our systemd.bbclass
to do the same for consistency and perform a tree-wide variable
replacement.
Spot checked by building bletchley and witherspoon and checking
some of the SYSTEMD_LINK directives on installed packages under qemu.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
|
|
Refer to: https://lore.kernel.org/openbmc/YQ1FD5q8KbhbXVBK@heinlein/
```
poky/scripts/contrib/convert-overrides.py meta-inspur
git grep "_[a-z0-9_/-]*[ :]" -- meta-inspur | grep ".bb"
git grep -l _fp5280g2 -- meta-inspur | xargs sed -i \
's/_fp5280g2/:fp5280g2/'
git grep -l _on5263m5 -- meta-inspur | xargs sed -i \
's/_on5263m5/:on5263m5/'
git grep -l _virtual -- meta-inspur | xargs sed -i \
's/_virtual/:virtual/'
```
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I5ef5039691caf5e33fb865da0fdd70d95d7e3bdf
|
|
The intent behind this commit is to add the configuration of
total_power, after power on, read the sensor value of total_power
from occ-hwmon and successfully read it through D-Bus.
Tested:
~# mapper get-service /xyz/openbmc_project/sensors/power/total_power
xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1
~# busctl introspect xyz.openbmc_project.Hwmon-b7759d36485edc452dd4ab56fcddbc713138c18574d600852a5ebf252410dd34.Hwmon1 /xyz/openbmc_project/sensors/power/total_power
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
org.freedesktop.DBus.Introspectable interface - - -
.Introspect method - s -
org.freedesktop.DBus.Peer interface - - -
.GetMachineId method - s -
.Ping method - - -
org.freedesktop.DBus.Properties interface - - -
.Get method ss v -
.GetAll method s a{sv} -
.Set method ssv - -
.PropertiesChanged signal sa{sv}as - -
xyz.openbmc_project.Sensor.Value interface - - -
.MaxValue property d inf emits-change writable
.MinValue property d -inf emits-change writable
.Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change writable
.Value property d 122 emits-change writable
xyz.openbmc_project.State.Decorator.OperationalStatus interface - - -
.Functional
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Iba09b549b0b0661ece8404d6d0ab307db8335779
|
|
The repository supports it, so switch it over in bitbake.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d96c79b395ee2614ddd869091569f245426c5c7
|
|
- In the BmcWeb repo, according to the `LABEL` in the power-supply
configuration, get the `unit` value of the power type
(PowerInputWatts & PowerOutputWatts).
link: https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/sensors.hpp#L912
- Since the `LABEL` naming of the previous configuration file was
wrong, it needs to be updated and conforms to the `LABEL` naming
convention.
- Also, sync update association.json to ensure that the correct
sensor value can be obtained.
Tested:
- Built image-bmc successfully on fp5280g2 machine.
- Obtain the correct `PowerInputWatts` & `PowerOutputWatts` by
viewing the BmcWeb log.
- Obtain `redfish/v1/Chassis/chassis/Power` by the Redfish command:
... ...
"PowerSupplies": [
{
"@odata.id": "/redfish/v1/Chassis/chassis/Power#/PowerSupplies/0",
"EfficiencyPercent": 90,
"IndicatorLED": "Off",
"Manufacturer": "",
"MemberId": "powersupply0",
"Model": "PS-2801-12L",
"Name": "powersupply0",
"PartNumber": "",
"PowerInputWatts": 13.9375,
"PowerOutputWatts": 5.5,
"SerialNumber": "6K12A0117473YX",
"Status": {
"Health": "OK",
"State": "Enabled"
}
}
]
... ...
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ie88a629c97ab8ad3136a49f71b810b930a820ab2
|
|
Add the fsi-master file path to get the correct OCC information.
Tested: built successfully on fp5280g2 and get the corrent OCC information by
the D-Bus command.
(From meta-inspur rev: bf4c44199ffa9cb3804df09932440002f9d0d2c7)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I35ef99d98b3078b625e809e911265a56c4849cc9
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested: Build fp5280g2 board and load on the target hardware
successfully and manually verified via DBUS interface
(From meta-inspur rev: cb39b871faa21244a3d1bb55f8d153ba87bfd3a6)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I3adb14da90f72bdbac0cefcf64ff1b8a274dd916
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Tested: booted a fp5280g2,manually binded the OCC driver when OCC activated,
and saw core-temp,dimm-temp and power sensors via REST API.
(From meta-inspur rev: f24af46e265e6541f26fb88c650e5ef681e51898)
Signed-off-by: John Wang <wangzqbj@inspur.com>
Change-Id: I5b99d406159b080a2d6be53f23250ef356e8bfe2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
temperature sensors inlet and outlet of tmp112, adc voltage sensors and
fan-tach sensors.
Tested: Built fp5280g2 board and loaded on the target hardware
successfully and manually verified via DBUS interface.
(From meta-inspur rev: f3c4afcb935e605f727e0552842e418db4eef6fc)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I231d14195bffac5451c98bfbabc4ecd836aead67
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|