Ipmi firmware user guide am5010 – Kontron AM5010 IPMI User Manual
Page 20

IPMI Firmware User Guide
AM5010
Page 20
© 2008 Kontron AG
ID 1022-2948, Rev. 1.0
6.2.2.4 Get Control State (Firmware Hub, Boot Order)
LUN
NetFn
CMD
Get Control State (Firmware Hub, Boot Order)
00h
OEM = 3Eh
21h
Byte Data Field
Request data
1
Control ID
00h Firmware Hub (BIOS Flash) selection
9Dh BIOS Boot Order Configuration
1 Completion
code
Response data
4
Control State (refer 6.2.2.3)
00h .. 01h for control ID = Firmware Hub Flash Select
00h .. FFh for control ID = Boot Order Configuration
6.2.2.5 OEM Module Quiescence Feedback
Overview
Please refer to 6.12, Hot Swap.
If the OS doesn’t fully support ACPI this command provides support to control a graceful
shut down of the AM5010. There is a Graceful Reboot and Shutdown Daemon (grnsd) for
Linux included in the newest Linux BSPs being offered by Kontron. It works as described in
the following “Usage for a self written shut down daemon” below.
If ACPI is fully supported this command can be used to set a timeout time for the case that
the ACPI means (ACPI daemon etc.) are unable to shut down the system in time. As a default
value at system start this time is set to 0 (endless wait).
Usage for a self written shut down daemon
This command normally is used by a shut down daemon in a non ACPI supporting software
environment. If a timeout time has to be set to avoid an endless waiting for the sleep state the
daemon calls this command after system start with the “set quiesce wait timeout” bit set and
the “Quiesce wait timeout” time <> 0. Afterwards the daemon calls this command cyclically
with the “OS daemon present” bit set. When the MMC gets a FRU Control (Quiesce) request
from the carrier (e.g. during a Hot Swap sequence) it sets the “quiesce request (FRU
Control)” bit in its command response. After the daemon sees this bit set in the response
it should shut down the system. After having set the “quiesce request (FRU Control)” bit
the MMC starts the timeout timer (if a timeout time was defined) and monitors the sleep
signal line to recognize the sleep state which should be caused by the shut down. When
the MMC detects the sleep state (signal) or it receives a command with the “quiescence
acknowledge” bit set or the timeout timer has expired, the MMC sends a “Module Hot
Swap event” message to the carrier, and in the following the payload power will be switched
off.