05f8d57e | 31-Jan-2020 |
jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> |
Add Activation interface to HSBP version object
Add activation interface to HSBP version object to represent the 'active' state of firmware.
Tested: Flashed and check HSBP object for activation sta
Add Activation interface to HSBP version object
Add activation interface to HSBP version object to represent the 'active' state of firmware.
Tested: Flashed and check HSBP object for activation status.
Tested: 1. Verified in Redfish using below URL. GET: https://<BMC-IP>/redfish/v1/UpdateService/FirmwareInventory/ J85894_HSBP_1 Response: { "@odata.context": "/redfish/v1/$metadata#SoftwareInventory. SoftwareInventory", "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/ J85894_HSBP_1", "@odata.type": "#SoftwareInventory.v1_1_0.SoftwareInventory", "Description": "HSBP image", "Id": "J85894_HSBP_1", "Name": "Software Inventory", "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Enabled" }, "Updateable": false, "Version": "00.02.01" }
Change-Id: I28e2c36594e2d1c889b3a31391f57212b045a741 Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
show more ...
|
e6db783f | 06-Jan-2020 |
James Feist <james.feist@linux.intel.com> |
Fix Software Version Interface
Should be /xyz/openbmc_project/software based on https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/28238
Tested: Still available over redfish
Change-Id: I0a98230
Fix Software Version Interface
Should be /xyz/openbmc_project/software based on https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/28238
Tested: Still available over redfish
Change-Id: I0a9823029d8ea030d1709328d893e65fbd916228 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
d0d36f10 | 21-Nov-2019 |
James Feist <james.feist@linux.intel.com> |
Add Asset and StorageController interface
This makes it so we can populate the storage controller redfish schema.
Tested: Redfish validator passed
Change-Id: Ie3f5ae7e5abf0e0fd766491ea14939c749882
Add Asset and StorageController interface
This makes it so we can populate the storage controller redfish schema.
Tested: Redfish validator passed
Change-Id: Ie3f5ae7e5abf0e0fd766491ea14939c7498828c7 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
e881852b | 04-Nov-2019 |
James Feist <james.feist@linux.intel.com> |
Add drive logging
This adds logging for drive failures and inventory changes.
Tested:
{ "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/
Add drive logging
This adds logging for drive failures and inventory changes.
Tested:
{ "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/1565674864_1", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2019-08-13T05:41:04+00:00", "EntryType": "Event", "Id": "1565674864_1", "Message": "Drive 2 with serial number N/A was installed.", "MessageArgs": [ "Drive", "2", "N/A" ], "MessageId": "OpenBMC.0.1.InventoryAdded", "Name": "System Event Log Entry", "Severity": "OK" }, { "@odata.context": "/redfish/v1/$metadata#LogEntry.LogEntry", "@odata.id": "/redfish/v1/Systems/system/LogServices/EventLog/Entries/1565674987", "@odata.type": "#LogEntry.v1_4_0.LogEntry", "Created": "2019-08-13T05:43:07+00:00", "EntryType": "Event", "Id": "1565674987", "Message": "Drive Error Occurred: Drive 1.", "MessageArgs": [ "Drive 1" ], "MessageId": "OpenBMC.0.1.DriveError", "Name": "System Event Log Entry", "Severity": "Warning" }
Change-Id: Ia23e6f48b753cbeb36c3176c39a28f687ad7061c Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
42b49c17 | 29-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Update status in Redfish
Create associations when failed to change the status to Warning.
Tested:
{ "@odata.context": "/redfish/v1/$metadata#Drive.Drive", "@odata.id": "/redfish/v1/Systems
Update status in Redfish
Create associations when failed to change the status to Warning.
Tested:
{ "@odata.context": "/redfish/v1/$metadata#Drive.Drive", "@odata.id": "/redfish/v1/Systems/system/Storage/1/Drive/Drive_1", "@odata.type": "#Drive.v1_7_0.Drive", "Status": { "Health": "Warning", "HealthRollup": "Warning", "State": "Enabled" } }
Change-Id: I3e5f87dc1253e8f24396a924e79d5474b0e5754a Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
8675a91b | 16-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Make hsbp-manager expose all redfish properties
Hsbp manager needs to query entity-manager for nvme fields to populate all driver interfaces. This is needed so indexing works correctly. This also ex
Make hsbp-manager expose all redfish properties
Hsbp manager needs to query entity-manager for nvme fields to populate all driver interfaces. This is needed so indexing works correctly. This also exposes all M.2 drive interfaces at the end of the hsbp range. This allows correct numbering. When we find a drive in entity-manager, we backtrack from the virtual bus on the mux, to find out what bus the mux is on, this tells us the hsbp. We then use the virtual bus to identify the channel, this tells us the drive index.
Tested: Saw 9 drives with a 1 hsbp and 1 M.2 configuration
Change-Id: I8e730a6a4229b3816991c629439ed4639710d114 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
9f6565db | 09-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Handle power state changes
We need to check if power is on as the hsbp goes away during power off. This copies the power logic from dbus-sensors and uses it to avoid scanning when power is off.
Tes
Handle power state changes
We need to check if power is on as the hsbp goes away during power off. This copies the power logic from dbus-sensors and uses it to avoid scanning when power is off.
Tested: Warnings go away
Change-Id: Ie949e7a98eb70592318710f3eecdfe766f71f110 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
09dd2314 | 09-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Add LED hooks to hsbp manager
This adds the led group interface so that they can be activiated by NVMe daemon.
Tested: Set using dbus, went and saw drive flashing
Change-Id: I2e1aa3f9338609370d975
Add LED hooks to hsbp manager
This adds the led group interface so that they can be activiated by NVMe daemon.
Tested: Set using dbus, went and saw drive flashing
Change-Id: I2e1aa3f9338609370d9758a7c4874428dac5d4ea Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
db2e0e76 | 07-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
hsbp-manager: Add drive interface to fru-less drives
Some drives don't have frus, but should still show up in redfish. For this reason we need to populate the drive interface when it is not availabl
hsbp-manager: Add drive interface to fru-less drives
Some drives don't have frus, but should still show up in redfish. For this reason we need to populate the drive interface when it is not available in entity-manager.
Tested: All drives showed up in redfish
Change-Id: If3bfa1e3e9c03146a77c896a5c983fbdaff3f4f5 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
0b236ab8 | 02-Oct-2019 |
James Feist <james.feist@linux.intel.com> |
Create associations for drives with inventory
This creates associations so that redfish can know which drives map to which configuration items.
Tested:
root@intel-obmc:~# busctl introspect xyz.ope
Create associations for drives with inventory
This creates associations so that redfish can know which drives map to which configuration items.
Tested:
root@intel-obmc:~# busctl introspect xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/drive/Drive_2 --no-pager 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 "inventory" "drive" "/xyz/openbmc_p... emits-change xyz.openbmc_project.Inventory.Item interface - - - .Present property b true emits-change .PrettyName property s "Drive 2" emits-change xyz.openbmc_project.State.Decorator.OperationalStatus interface - - - .Functional property b true emits-change xyz.openbmc_project.State.Drive interface - - - .Rebuilding property b false emits-change
Also show up in mapper
Change-Id: Ia050316ac55faa89aad86567c93f9a74594e9180 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
244f3236 | 27-Sep-2019 |
James Feist <james.feist@linux.intel.com> |
Add rebuilding to hsbp manager
Interface is pushed here: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/25671
Tested: available on dbus
Change-Id: I79a73bb0e62951b09f4eb8b
Add rebuilding to hsbp manager
Interface is pushed here: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-dbus-interfaces/+/25671
Tested: available on dbus
Change-Id: I79a73bb0e62951b09f4eb8bf0594aa39916b5dd9 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
4577222a | 27-Sep-2019 |
James Feist <james.feist@linux.intel.com> |
hsbp-manager: add drive presence and software version
This adds support for reading the sw version and drive presence from the hsbp cpld.
Tested:
Version is available in redfish
root@intel-obmc:~
hsbp-manager: add drive presence and software version
This adds support for reading the sw version and drive presence from the hsbp cpld.
Tested:
Version is available in redfish
root@intel-obmc:~# busctl tree xyz.openbmc_project.HsbpManager --no-pager `-/xyz `-/xyz/openbmc_project |-/xyz/openbmc_project/inventory | `-/xyz/openbmc_project/inventory/item | |-/xyz/openbmc_project/inventory/item/drive | | |-/xyz/openbmc_project/inventory/item/drive/Drive_1 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_2 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_3 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_4 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_5 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_6 | | |-/xyz/openbmc_project/inventory/item/drive/Drive_7 | | `-/xyz/openbmc_project/inventory/item/drive/Drive_8 | `-/xyz/openbmc_project/inventory/item/hsbp | `-/xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1
root@intel-obmc:~# busctl introspect xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1 --no-pager 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.Item interface - - - .Present property b true emits-change .PrettyName property s "J85894 HSBP 1" emits-change xyz.openbmc_project.Software.Version interface - - - .Version property s "00.02.01" emits-change .Purpose property s "xyz.openbmc_project.Software.Version... emits-change
Change-Id: I73fd2669f4a0e9b8e499107a960f2169f63873e3 Signed-off-by: James Feist <james.feist@linux.intel.com>
show more ...
|
c95cf671 | 29-Aug-2019 |
Feist, James <james.feist@linux.intel.com> |
Add HSBP Manager Daemon
This is the initial commit for the hsbp-manager daemon. Currently it reads a json configuration and detects whether the cpld is available. More feaures will be added in small
Add HSBP Manager Daemon
This is the initial commit for the hsbp-manager daemon. Currently it reads a json configuration and detects whether the cpld is available. More feaures will be added in small patches.
Tested:
busctl introspect --no-pager xyz.openbmc_project.HsbpManager /xyz/openbmc_project/inventory/item/hsbp/J85894_HSBP_1 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.Item interface - - - .Present property b true emits-change .PrettyName property s "J85894 HSBP 1" emits-change
Change-Id: Ibbce272e045f8643af74b778f273168442623919 Signed-off-by: Feist, James <james.feist@linux.intel.com>
show more ...
|