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
|
|
This commit enables support for power supply monitoring
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I815ebd2e6135c4e858744c8c5d48121ccc7689dc
|
|
The mssage is: WARNING: Recipe phosphor-fp5280g2-psu-update sets B
variable with trailing slash 'work/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/phosphor-fp5280g2-psu-update/1.0+git${SRCPV}-r1/git/',
remove it.
Tested: Built fp5280g2 successfully and without warnings.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I6b039fe019f9cc9ea2dccf1636480fa08f00fb29
|
|
Add the configuration related to PSU and confirm that these services
successfully updated to the image.
Tested: built successfully on fp5280g2
busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
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.Association.Definitions interface - - -
.Associations property a(sss) 5 "sensors" "inventory" "/xyz/openbmc_p… emits-change writable
xyz.openbmc_project.Inventory.Decorator.Asset interface - - -
.BuildDate property s "" emits-change writable
.Manufacturer property s "" emits-change writable
.Model property s "PS-2801-12L" emits-change writable
.PartNumber property s "V03101G000000000" emits-change writable
.SerialNumber property s "6K12A0118446MM" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "powersupply0" emits-change writable
xyz.openbmc_project.Inventory.Item.PowerSupply interface - - -
(From meta-inspur rev: 90408ad10ce0647f51f44e9642b7c7901f625ed4)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I37a347a21c217425d28a10fcebaced862e3e0218
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add phosphor-psu-software-manager and use inspur specific binary tool
to update fp5280g2's psu firmware.
(From meta-inspur rev: 38802b27a5b96f2d406f17805e77971fc76e46ec)
Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Change-Id: I366453eda485e6f96cbb6ef8672ea4011abf463e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Since the SYSTEMD_ENVIRONMENT_FILE_${PN} defined in
obmc-phosphor-systemd.bbclass, and the phosphor-power_%.bbappend have
not inherit obmc-phosphor-systemd, so all of the
power-supply-monitor-*.conf are not installed.
Tested: Built fp5280g2 successfully and includes the
power-supply-monitor configs.
(From meta-inspur rev: 05c197192a813e5d276e9b2c0c7d4ac19f726b7d)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Icd31b517536cd77ced911deb796c7c7549b0b480
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add psu.json and power-supply-monitor-*.conf for fp5280g2.
Parsed PSUs asset information via pmbus driver and exposed properties to
D-BUS interface.
Tested: Verified and built successfully on fp5280g2 and obtained correct
PSUs asset information by busctl command.
busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager
/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0
xyz.openbmc_project.Inventory.Decorator.Asset interface - - -
.BuildDate property s "" emits-change writable
.Manufacturer property s "" emits-change writable
.Model property s "PS-2162-5L" emits-change writable
.PartNumber property s "" emits-change writable
.SerialNumber property s "6L5LX01173722Z" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "powersupply0" emits-change writable
xyz.openbmc_project.Inventory.Item.PowerSupply interface - - -
xyz.openbmc_project.Software.Version interface - - -
.Purpose property s "xyz.openbmc_project.Software.Version.V… emits-change writable
.Version property s "1.000-1.00" emits-change writable
(From meta-inspur rev: da7f477ed1ae83cabc291349ee6609ca1890caf5)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ifaad67483f7429223d2066ca233ede58dfbc3149
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|