/openbmc/docs/designs/ |
H A D | boot-progress.md | 51 As of [ComputerSystem.v1_13_0][7], the `BootProgress` object is officially in 54 To summarize, the `LastState` property under this new `BootProgress` object 68 There is also a `LastStateTime` associated with this new BootProgress object 75 it also does not preclude them. The `BootProgress` D-Bus property is associated 81 - Enhance the existing [BootProgress][3] D-Bus property to cover all supported 84 and time of the last update to `BootProgress` 85 - Ensure the `BootProgress` and `BootProgressLastUpdate` properties are updated 88 `BootProgress` property on D-Bus 90 `BootProgressLastUpdate` property on D-Bus when it sees `BootProgress` 93 appropriate mappings to the `BootProgress` and `BootProgressLastUpdate D-Bus [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | hypervisor_state_manager.cpp | 62 void Hypervisor::updateCurrentHostState(std::string& bootProgress) in updateCurrentHostState() argument 64 debug("New BootProgress: {BOOTPROGRESS}", "BOOTPROGRESS", bootProgress); in updateCurrentHostState() 66 if (bootProgress == "xyz.openbmc_project.State.Boot.Progress." in updateCurrentHostState() 71 else if (bootProgress == "xyz.openbmc_project.State.Boot.Progress." in updateCurrentHostState() 76 else if (bootProgress == "xyz.openbmc_project.State.Boot.Progress." in updateCurrentHostState() 87 // BootProgress changed and it is not one of the above so in updateCurrentHostState() 99 auto propertyMap = msgData.find("BootProgress"); in bootProgressChangeEvent() 102 // Extract the BootProgress in bootProgressChangeEvent() 103 auto& bootProgress = std::get<std::string>(propertyMap->second); in bootProgressChangeEvent() local 104 updateCurrentHostState(bootProgress); in bootProgressChangeEvent()
|
H A D | hypervisor_state_manager.hpp | 20 using BootProgress = typedef 53 BootProgress::interface), in Hypervisor() 68 /** @brief Check if BootProgress change affects hypervisor state 70 * @param[in] bootProgress - BootProgress value to check 73 void updateCurrentHostState(std::string& bootProgress); 76 /** @brief Process BootProgress property changes 78 * Instance specific interface to monitor for changes to the BootProgress 89 /** @brief Watch BootProgress changes to know hypervisor state **/
|
H A D | host_reset_recovery.cpp | 27 using BootProgress = typedef 36 constexpr auto BOOT_PROGRESS_PROP = "BootProgress"; 47 using ProgressStages = BootProgress::ProgressStages; in wasHostBooting() 51 method.append(BootProgress::interface, BOOT_PROGRESS_PROP); in wasHostBooting() 57 auto bootProgress = std::get<ProgressStages>(bootProgressV); in wasHostBooting() local 59 if (bootProgress == ProgressStages::Unspecified) in wasHostBooting() 65 info("Host was booting before BMC reboot: {BOOTPROGRESS}", in wasHostBooting() 66 "BOOTPROGRESS", bootProgress); in wasHostBooting() 70 error("Error reading BootProgress, error {ERROR}, service {SERVICE}, " in wasHostBooting()
|
H A D | host_state_manager.hpp | 96 ProgressStages bootProgress(ProgressStages value) override; 259 server::Progress::bootProgress()), in save() 276 std::string bootProgress; in load() local 287 archive(reqTranState, bootProgress, osState); in load() 296 bootProgress(Host::convertProgressStagesFromString(bootProgress)); in load()
|
H A D | host_state_manager.cpp | 46 namespace bootprogress = sdbusplus::server::xyz::openbmc_project::state::boot; 298 this->bootProgress(bootprogress::Progress::ProgressStages::Unspecified); in sysStateChangeJobRemoved() 449 Host::ProgressStages Host::bootProgress(ProgressStages value) in bootProgress() function in phosphor::state::manager::Host 451 auto retVal = bootprogress::Progress::bootProgress(value); in bootProgress()
|
H A D | obmcutil | 5 OPTS="bmcstate,bootprogress,chassiskill,chassisoff,chassison,chassisstate,hoststate,\ 411 for query in bmcstate chassisstate hoststate bootprogress osstate 417 bootprogress) 421 PROPERTY=BootProgress
|
/openbmc/phosphor-state-manager/test/ |
H A D | hypervisor_state.cpp | 20 std::string bootProgress = "Invalid.Boot.Progress"; in TEST() local 21 hypObj.updateCurrentHostState(bootProgress); in TEST() 24 bootProgress = "xyz.openbmc_project.State.Boot.Progress." in TEST() 26 hypObj.updateCurrentHostState(bootProgress); in TEST() 29 bootProgress = "xyz.openbmc_project.State.Boot.Progress." in TEST() 31 hypObj.updateCurrentHostState(bootProgress); in TEST() 34 bootProgress = "xyz.openbmc_project.State.Boot.Progress." in TEST() 36 hypObj.updateCurrentHostState(bootProgress); in TEST()
|
/openbmc/openbmc-test-automation/lib/ |
H A D | state_map.py | 45 # (BMC , Chassis , Host , BootProgress, OperatingSystemState) 55 # (BMC , Chassis , Host , BootProgress, OperatingSystemState) 65 # (BMC , Chassis , Host , BootProgress, OperatingSystemState) 75 # (BMC , Chassis , Host , BootProgress, OperatingSystemState) 85 # (BMC , Chassis , Host , BootProgress, OperatingSystemState) 97 # (BMC , Chassis , Host , BootProgress) 106 # (BMC , Chassis , Host , BootProgress) 115 # (BMC , Chassis , Host , BootProgress) 124 # (BMC , Chassis , Host , BootProgress) 133 # (BMC , Chassis , Host , BootProgress) [all …]
|
H A D | utils.robot | 260 ${state}= Read Attribute ${OPENBMC_BASE_URI}sensors/host/BootProgress 356 ${state}= Read Attribute ${HOST_STATE_URI} BootProgress quiet=${quiet} 950 # "BootProgress": { 960 RETURN ${boot_progress["BootProgress"]["LastState"]} ${boot_progress["Status"]["State"]} 1056 [Documentation] Get BootProgress state and expect boot state mismatch. 1060 # boot_state Value of the BootProgress state to match against. 1068 [Documentation] Get BootProgress state and expect boot state to match. 1072 # boot_state Value of the BootProgress state to match. 1080 [Documentation] Get BootProgress state and expect boot state to match 1085 # boot_states List of the BootProgress states to match.
|
H A D | state_manager.robot | 130 # "BootProgress": "xyz.openbmc_project.State.Boot.Progress.ProgressStages.OSStart", 136 ${boot_stage}= Get Host State Attribute BootProgress
|
/openbmc/openpower-occ-control/ |
H A D | utils.cpp | 25 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot::server:: typedef 226 BootProgress getBootProgress() in getBootProgress() 228 BootProgress bootProgessStage; in getBootProgress() 232 HOST_STATE_OBJ_PATH, "BootProgress"); in getBootProgress() 240 BootProgress bootProgressStatus = getBootProgress(); in isHostRunning() 241 if ((bootProgressStatus == BootProgress::SystemInitComplete) || in isHostRunning() 242 (bootProgressStatus == BootProgress::SystemSetup) || in isHostRunning() 243 (bootProgressStatus == BootProgress::OSRunning)) in isHostRunning()
|
/openbmc/phosphor-debug-collector/ |
H A D | dump_utils.hpp | 25 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot::server:: typedef 194 * @return BootProgress on success 198 inline BootProgress getBootProgress() in getBootProgress() 204 return getStateValue<BootProgress>(bootProgressInterface, hostStateObjPath, in getBootProgress() 205 "BootProgress"); in getBootProgress() 219 BootProgress bootProgressStatus = getBootProgress(); in isHostRunning() 220 if ((bootProgressStatus == BootProgress::SystemInitComplete) || in isHostRunning() 221 (bootProgressStatus == BootProgress::SystemSetup) || in isHostRunning() 222 (bootProgressStatus == BootProgress::OSStart) || in isHostRunning() 223 (bootProgressStatus == BootProgress::OSRunning) || in isHostRunning() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/Boot/ |
H A D | Progress.interface.yaml | 5 - name: BootProgress 15 BootProgressLastUpdate is the last time the BootProgress property was 18 BootProgress value to know how long the boot has been on the current
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | platform_oem_ibm.cpp | 25 using BootProgress = in sendBiosAttributeUpdateEvent() typedef 29 constexpr auto hostStateProperty = "BootProgress"; in sendBiosAttributeUpdateEvent() 34 hostStatePath, hostStateProperty, BootProgress::interface); in sendBiosAttributeUpdateEvent() 36 using Stages = BootProgress::ProgressStages; in sendBiosAttributeUpdateEvent()
|
/openbmc/skeleton/pystatemgr/ |
H A D | discover_system_state.py | 21 "bootprogress": { 23 "object_name": "/org/openbmc/sensors/host/BootProgress", 84 intf = getInterface(bus, dbus_objects, "bootprogress")
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_timed_power_on.robot | 63 # Check if the system BootProgress state changed. If changed, it implies the 93 # Check if the system BootProgress state changed. If changed, it implies the 94 # system is powering on after user timer set and delta time to update BootProgress
|
/openbmc/openpower-hw-diags/util/ |
H A D | dbus.cpp | 258 constexpr auto property = "BootProgress"; in hostRunningState() 263 std::string bootProgress(std::get<std::string>(value)); in hostRunningState() local 266 using BootProgress = sdbusplus::xyz::openbmc_project::State::Boot:: in hostRunningState() typedef 269 BootProgress stage = sdbusplus::xyz::openbmc_project::State::Boot:: in hostRunningState() 270 server::Progress::convertProgressStagesFromString(bootProgress); in hostRunningState() 272 if ((stage == BootProgress::SystemInitComplete) || in hostRunningState() 273 (stage == BootProgress::OSRunning)) in hostRunningState()
|
/openbmc/skeleton/op-pwrctl/ |
H A D | power_control_obj.c | 153 /* Handler for BootProgress signal from BootProgress sensor */ 192 if (strcmp(property, "BootProgress") == 0) in on_boot_progress() 197 g_print("BootProgress: %s\n", boot_progress); in on_boot_progress() 466 /* Listen for BootProgress signal from BootProgress sensor */ in on_bus_acquired()
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_firmware_boot_side.robot | 97 [Documentation] Get BootProgress state and expect boot state mismatch. 99 … # Match any of the BootProgress state SystemHardwareInitializationComplete|OSBootStarted|OSRunning
|
/openbmc/openbmc-test-automation/openpower/mpipl/ |
H A D | test_mpipl_basic.robot | 108 [Documentation] Get BootProgress state and expect boot state mismatch. 110 … # Match any of the BootProgress state SystemHardwareInitializationComplete|OSBootStarted|OSRunning
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | phosphor-reset-sensor-states@.service | 11 …openbmc_project/state/host%i xyz.openbmc_project.State.Boot.Progress BootProgress s xyz.openbmc_p…
|
/openbmc/pldm/host-bmc/ |
H A D | dbus_to_terminus_effecters.cpp | 189 using BootProgress = in isHostOn() typedef 195 hostStatePath, "BootProgress", BootProgress::interface); in isHostOn() 197 using Stages = BootProgress::ProgressStages; in isHostOn()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Host.interface.yaml | 93 BootProgress property will provide details on which it is.
|
/openbmc/openbmc-test-automation/openpower/ipmi/ |
H A D | test_ipmi_sdr.robot | 68 # BootProgress | 03h | ok | 34.2 |
|