Age | Commit message (Collapse) | Author | Files | Lines |
|
Add the fru YAML configuration of Power Supply for fp5280g2.
Tested:
ipmitool -I lanplus -H ${IP} -U root -P 0penBmc -C 17 fru list
FRU Device Description : Builtin FRU Device (ID 0)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Serial : 000000000000
Board Part Number : 0000000
FRU Device Description : cpu0 (ID 1)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Mfg : IBM
Board Product : PROCESSOR MODULE
Board Serial : YA1934426664
Board Part Number : 02CY296
FRU Device Description : dimm2 (ID 5)
Product Manufacturer : Samsung Electronics
Product Name : DDR4-2666 16GiB 64-bit ECC RDIMM
Product Part Number : M393A2K43BB1-CTD
Product Serial : 367f4c9d
FRU Device Description : powersupply0 (ID 20)
Product Name : powersupply0
Product Part Number : PS-2801-12L
Product Serial : 6K12A0118446MM
FRU Device Description : powersupply1 (ID 21)
Product Name : powersupply1
Product Part Number : PS-2801-12L
Product Serial : 6K12A0118362NS
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I04b45f5839f991f98b3f628db2246d4dced804c8
|
|
Generally we will set the fruID of the board to 0.
Tested:
ipmitool -I lanplus -H ${IP} -U root -P 0penBmc -C 17 fru list
FRU Device Description : Builtin FRU Device (ID 0)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Serial : 000000000000
Board Part Number : 0000000
FRU Device Description : cpu0 (ID 1)
Board Mfg Date : Mon Jan 1 08:00:00 1996
Board Mfg : IBM
Board Product : PROCESSOR MODULE
Board Serial : YA1934426664
Board Part Number : 02CY296
...
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I3912636105310855e59810cbc1fab4a4cad53a1b
|
|
Add xyz.openbmc_project.Inventory.Item.CpuCore interfaces
to all processor cores.
Tested:
busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0/core2
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) 1 "sensors" "inventory" "/xyz/openbmc_p… emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "" emits-change writable
xyz.openbmc_project.Inventory.Item.CpuCore interface - - -
xyz.openbmc_project.State.Decorator.OperationalStatus interface - - -
.Functional property b true emits-change writable
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ia7acfbf8b0a90f7b97cb7df090a7469815a6434d
|
|
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
|
|
Dbus sensor interface 'xyz.openbmc_project.Sensor.Value' migrated
from int to double. Therefore all old 'int64_t' types in
"*-ipmi-sensor*.yaml" files for this interface should be changed to
'double'.
(From meta-inspur rev: 608bb59eb418c6918135651895e2b994c715126d)
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I4610bc0b6dcff78b31c8ae7973da82aac85a456f
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
For the Cpu and Dimm's interface(xyz.openbmc_project.Inventory.Item.Cpu and
xyz.openbmc_project.Inventory.Item.Dimm), should be defined in the
fp5280g2-ipmi-fru.yaml instead of the fp5280g2-ipmi-fru-properties.yaml file.
Tested:
busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu0
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.Inventory.Decorator.Asset interface - - -
.BuildDate property s "1996-01-01 - 00:00:00" emits-change writable
.Manufacturer property s "IBM" emits-change writable
.Model property s "" emits-change writable
.PartNumber property s "02CY415" emits-change writable
.SerialNumber property s "YA1934319126" emits-change writable
xyz.openbmc_project.Inventory.Decorator.Cacheable interface - - -
.Cached property b true emits-change writable
xyz.openbmc_project.Inventory.Decorator.Replaceable interface - - -
.FieldReplaceable property b true emits-change writable
xyz.openbmc_project.Inventory.Decorator.Revision interface - - -
.Version property s "22" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "PROCESSOR MODULE" emits-change writable
xyz.openbmc_project.Inventory.Item.Cpu interface - - -
xyz.openbmc_project.State.Decorator.OperationalStatus interface - - -
.Functional property b true emits-change writable
busctl --no-pager introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/dimm0
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.Inventory.Decorator.Asset interface - - -
.BuildDate property s "" emits-change writable
.Manufacturer property s "SK Hynix" emits-change writable
.Model property s "HMA84GR7JJR4N-WM " emits-change writable
.PartNumber property s "" emits-change writable
.SerialNumber property s "0x537f68b1" emits-change writable
xyz.openbmc_project.Inventory.Decorator.Cacheable interface - - -
.Cached property b true emits-change writable
xyz.openbmc_project.Inventory.Decorator.Replaceable interface - - -
.FieldReplaceable property b true emits-change writable
xyz.openbmc_project.Inventory.Decorator.Revision interface - - -
.Version property s "" emits-change writable
xyz.openbmc_project.Inventory.Item interface - - -
.Present property b true emits-change writable
.PrettyName property s "DDR4-2666 32GiB 64-bit ECC RDIMM" emits-change writable
xyz.openbmc_project.Inventory.Item.Dimm interface - - -
.AllowedSpeedsMT property aq 0 emits-change writable
.CASLatencies property q 0 emits-change writable
.ECC property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable
.FormFactor property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable
.MaxMemorySpeedInMhz property q 0 emits-change writable
.MemoryAttributes property y 0 emits-change writable
.MemoryConfiguredSpeedInMhz property q 0 emits-change writable
.MemoryDataWidth property q 0 emits-change writable
.MemoryDeviceLocator property s "" emits-change writable
.MemorySizeInKB property u 0 emits-change writable
.MemoryTotalWidth property q 0 emits-change writable
.MemoryType property s "xyz.openbmc_project.Inventory.Item.Dim… emits-change writable
.MemoryTypeDetail property s "" emits-change writable
.RevisionCode property q 0 emits-change writable
xyz.openbmc_project.State.Decorator.OperationalStatus interface - - -
.Functional property b true emits-change writable
(From meta-inspur rev: 323e5dd3bb9ad6dd87ea6bb59f27b2562fcf4a7d)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I23ffd5fea6ab9f9057e0b72b87c1e6cd6ff5f430
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Add a specific interface for the Cpu and Dimm`s FRU properties and find
all Cpu and Dimm`s paths below the `/xyz/openbmc_project/inventory` path
thought this interface.
Testd: Saw the addition of `xyz.openbmc_project.Inventory.Item.Cpu` or
`xyz.openbmc_project.Inventory.Item.Dimm` interfaces via the D-Bus command.
busctl introspect xyz.openbmc_project.Inventory.Manager
/system/chassis/motherboard/cpu*
or
busctl introspect xyz.openbmc_project.Inventory.Manager
/system/chassis/motherboard/dimm*.
(From meta-inspur rev: 65a4f861c7adbbbc6b4ab8308beaea1c8b4fab5f)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I8d89316be4308d6eb57cf8899d44cc78df5a9b6d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
INSPURBASE is only used for pointing at licenses...point at the
licenses in oe-core in meta/files/common-licenses instead. to match the
defacto convention used in other oe layers like meta-openembedded.
(From meta-inspur rev: 052786ad38fa172500a9f641ed26e95e25e6fbc6)
Change-Id: I5394fc045042a30bdc958a6e528d9a7f947d49b9
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Tested: Manually verified sensor and sel are corrected on fp5280g2 for
psu via ipmitool commands.
(From meta-inspur rev: 74822749ef5e8a7197658af3eb1715cd85255d6d)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I0a0fe8d837be3817b6dc7048d35ffda7892e62c7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add vpd configs for fp5280g2, by adding the following specific configs
for fp5280g2 to replace the default ones.
openpower-fru-inventory
openpower-fru-vpd-layout
Tested: Manually update eeprom and verified vpd information are
corrected on fp5280g2 via dbus and ipmitool commands.
(From meta-inspur rev: 65f5494753ac5d477fb96aa163c0a8f633aaa078)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I311082d53a1339960d17db2f501c5c619b965fb8
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add ipmi configs for fp5280g2, by adding the following specific configs
for fp5280g2 to replace the default ones.
openpower-ipmi-oem
phosphor-ipmi-host
phosphor-ipmi-fru
Tested: Manually verified sensor, fru and sel are corrected on
fp5280g2 via ipmitool commands.
(From meta-inspur rev: 0adbf56907286b14f34b25335cc84815189cf128)
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I67995cba5793d4f6a45b9912bc7e03d2ce5d8759
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|