BootProgress: Update the boot progress effecter
Tested:
PDR information:
PLDMTerminusHandle: 1
effecterID: 1
entityType: Virtual Machine Manager
entityInstanceNumber: 0
containerID: 0
effecterSemanticID: 0
effecterInit: noInit
effecterDescriptionPDR: false
compositeEffecterCount: 1
stateSetID: Boot Progress(196)
possibleStatesSize: 4
possibleStates: 1 2 3 5 9 21 22 26
root@rainier:~# obmcutil state
CurrentBMCState : xyz.openbmc_project.State.BMC.BMCState.Ready
CurrentPowerState : xyz.openbmc_project.State.Chassis.PowerState.On
CurrentHostState : xyz.openbmc_project.State.Host.HostState.Quiesced
BootProgress : xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit
OperatingSystemState: xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Inactive
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: Ib3ed8dc6ed54f30eeba0a9bee9fc314e5fa6149a
diff --git a/configurations/pdr/11.json b/configurations/pdr/11.json
index 2d50bda..8627831 100644
--- a/configurations/pdr/11.json
+++ b/configurations/pdr/11.json
@@ -9,17 +9,23 @@
"effecters" : [{
"set" : {
"id" : 196,
- "size" : 1,
- "states" : [1,2]
+ "size" : 4,
+ "states" : [1,2,3,5,9,21,22,26]
},
"dbus" : {
"path": "/xyz/openbmc_project/state/host0",
- "interface": "xyz.openbmc_project.State.OperatingSystem.Status",
- "property_name": "OperatingSystemState",
+ "interface": "xyz.openbmc_project.State.Boot.Progress",
+ "property_name": "BootProgress",
"property_type": "string",
"property_values": [
- "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.Standby",
- "xyz.openbmc_project.State.OperatingSystem.Status.OSStatus.BootComplete"
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.Unspecified",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.SystemInitComplete",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.MemoryInit",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.SecondaryProcInit",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.PCIInit",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSRunning",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.BusInit",
+ "xyz.openbmc_project.State.Boot.Progress.ProgressStages.PrimaryProcInit"
]
}
}]