Power Restore Policy (Intel platform)

Bills, Jason M jason.m.bills at linux.intel.com
Sat Jun 5 01:06:53 AEST 2021

On 6/3/2021 8:16 PM, 吳秉昌 wrote:
> Hi Teams
> I am new to OpenBMC, In Power Restore Policy function, I setting "Always On” via web, and reboot the BMC (the system is power off), I expect the system will start, but it don’t.
Hi Paul,

Welcome to OpenBMC!

In x86-power-control, the Power Restore Policy is only invoked after an 
AC-boot.  So, it doesn't happen just on a BMC reboot, the host has to 
lose power.

x86-power-control uses a D-Bus property from the settings application to 
determine if the BMC is booting from an AC recovery:
         "org.freedesktop.DBus.Properties", "Get",
         "xyz.openbmc_project.Common.ACBoot", "ACBoot");

On our platforms we use a small shell script that runs on start-up to 
check the resetreason from u-boot and set the "ACBoot" property accordingly:

> My system is intel platform, and already install x86-power-control.
> All suggestions are welcome, very thanks
> BR
> Paul

More information about the openbmc mailing list