openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [x86-power-control]: press the power button for a long time that can't force turn off system power
@ 2021-07-23 10:28 Chris Chen (TPI)
  2021-07-23 20:36 ` Bills, Jason M
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Chen (TPI) @ 2021-07-23 10:28 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1723 bytes --]

Hi all,

I am working on an ast2600 with Intel CPU.
The system power currently is able to turn on during Phosphor OpenBMC boot up after I completed works following:

  1.  enable ACPI in u-boot
  2.  set GPIOP0 ~ P3 pass-through in u-boot
  3.  porting ESPI driver from AST SDK v6.01 to linux-aspeed repository
  4.  add "&gpio0" with gpio-line-names which has POWER_BUTTON, POWER_OUT, SIO_S3, SIO_S5, etc. defintion in the dts, I think the "x86-power-control" repository required these.
  5.  append "x86-power-control" and "intel-ipmi-oem" repositories to image

However, I always only got the following logs when I pressed the power button for a long time (> 4s).
=====
power-control[263]: PowerControl: power button pressed
power-control[263]: powerStateOn: power button pressed event received
power-control[263]: Host0: Moving to "Graceful Transition to Off" state
power-control[263]: Graceful power-off timer started
=====

It doesn't occur "SIO_ONCONTROL value changed: 1 -> SIO power good de-assert event received", etc. operations and then to turn off the power.

Can anyone do me a favor to give me some clues for what I was wrong?


Thank you in advance for your help.

Regards,
Chris Chen


Legal Disclaimer :
The information contained in this message may be privileged and confidential. 
It is intended to be read only by the individual or entity to whom it is addressed 
or by their designee. If the reader of this message is not the intended recipient, 
you are on notice that any distribution of this message, in any form, 
is strictly prohibited. If you have received this message in error, 
please immediately notify the sender and delete or destroy any copy of this message!

[-- Attachment #2: Type: text/html, Size: 2938 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-08-18 11:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23 10:28 [x86-power-control]: press the power button for a long time that can't force turn off system power Chris Chen (TPI)
2021-07-23 20:36 ` Bills, Jason M
2021-07-24  3:04   ` 回覆: " Chris Chen (TPI)
2021-07-26 16:46     ` Bills, Jason M
2021-08-16  3:52       ` Chris Chen (TPI)
2021-08-16  6:30         ` Andrew Jeffery
2021-08-16 10:45           ` 回覆: " Chris Chen (TPI)
2021-08-17  1:57             ` Andrew Jeffery
2021-08-17 11:17               ` Chris Chen (TPI)
2021-08-17 11:30                 ` Andrew Jeffery
2021-08-17 19:04                   ` Bills, Jason M
2021-08-18 11:07                     ` 回覆: " Chris Chen (TPI)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).