History log of /openbmc/phosphor-host-ipmid/chassishandler.hpp (Results 1 – 8 of 8)
Revision Date Author Comments
# 86ac4991 24-Jun-2021 Chen Yugang <yugang.chen@linux.intel.com>

support BMC boot flag valid bit clearing

Set/Get system boot options commands don't support
BMC boot flag valid bit clearing, add it.

Tested: it test by ipmi commands:
set B

support BMC boot flag valid bit clearing

Set/Get system boot options commands don't support
BMC boot flag valid bit clearing, add it.

Tested: it test by ipmi commands:
set BIOS boot option with parameter 3
ipmitool raw 0x00 0x08 0x03 xx
get boot option with parameter 3
ipmitool raw 0x00 0x09 0x03 0 0
for example:
ipmitool raw 0x00 0x08 0x03 2
no response, without error response
ipmitool raw 0x00 0x09 0x03 0 0
01 03 02
the third response datum is the value by setting boot option.


Change-Id: I7db3c7d9f52b107b5b07d94fe58f3c7ada761460
Signed-off-by: Chen Yugang <yugang.chen@linux.intel.com>

show more ...


# 97c62e1d 19-Jan-2021 John Wang <wangzhiqiang.bj@bytedance.com>

chassisHandler: Fix the style error

Signed-off-by: John Wang <wangzhiqiang.bj@bytedance.com>
Change-Id: I1edc30cca1e11b57b7d457d066ce11fd49d8b078


# ab369285 10-Oct-2020 huanghe <he.huang@intel.com>

Add set in progress paramter to set/get boot option command

Signed-off-by: huanghe <he.huang@intel.com>
Change-Id: Ib977e9c6a1b4ca6bbca9695c30fa90496cf211a6


# bfd8fc4b 05-May-2020 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>

chassishandler: SetSystemBootOptions to new API

Rewrite ipmiChassisSetSysBootOptions to use newly introduced IPMI
provider API

Tested:
verified using IPMI chassis bootparam

chassishandler: SetSystemBootOptions to new API

Rewrite ipmiChassisSetSysBootOptions to use newly introduced IPMI
provider API

Tested:
verified using IPMI chassis bootparam command and raw commands

Command: ipmitool chassis bootparam set bootflag force_disk
Response: Set Boot Device to force_disk
Command: ipmitool chassis bootparam set bootflag force_pxe
Response: Set Boot Device to force_pxe
Command: ipmitool chassis bootdev pxe options=persistent
Response: Set Boot Device to pxe
Command: ipmitool chassis bootparam set bootflag force_bios
Response: Set Boot Device to force_bios
Command: ipmitool chassis bootparam set bootflag force_safe
Response: Set Chassis Boot Parameter 5 failed: Invalid data field in
request

Command: ipmitool raw 0 8 0x5 0 0 0 0 0 //setBootOptions param 5
Response: //Success
Command: ipmitool raw 0 8 0x4 0 0 //setBootOptions param 4
Response: //Success
Command: ipmitool raw 0 8 0x61 0x21 0x70 0x62 0x21 0x00 0x01
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0x01 0x01 0x04 0 0 0 0 1 1 1 1 //setBootOptions param 61
Response: //Success
Command: ipmitool raw 0 8 0 0 //setBootOptions param 0
Response: Unable to send RAW command (channel=0x0 netfn=0x0 lun=0x0
cmd=0x8 rsp=0x80): Unknown (0x80)

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Signed-off-by: srikanta mondal <srikantax.mondal@intel.com>
Change-Id: I6faa0b5162ba02bbe0e8a3acaba092888ed48acc

show more ...


# bc996a35 17-Jun-2019 Jason M. Bills <jason.m.bills@linux.intel.com>

Fix power restore policy input parameter check

This changes the power restore policy command to return invalid
parameter for any unsupported policy option (greater than 0x03).

T

Fix power restore policy input parameter check

This changes the power restore policy command to return invalid
parameter for any unsupported policy option (greater than 0x03).

Tested:
ipmitool raw 0 6 0
07
ipmitool chassis status
Power Restore Policy : always-off
ipmitool raw 0 6 1
07
ipmitool chassis status
Power Restore Policy : previous
ipmitool raw 0 6 2
07
ipmitool chassis status
Power Restore Policy : always-on
ipmitool raw 0 6 3
07
ipmitool chassis status
Power Restore Policy : always-on
ipmitool raw 0 6 4
Unable to send RAW command (channel=0x0 netfn=0x0 lun=0x0 cmd=0x6 rsp=0xcc): Invalid data field in request

Change-Id: Ie78e00753f6dfd8b7bccce38c239a8103b6cc3fd
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>

show more ...


# f4e38515 21-May-2019 Yong Li <yong.b.li@linux.intel.com>

Chassishandler: Add chassis identify state support for chassis status command

Return the present chassis identify state in get chassis status command:
Off
Temporary on
Indefinite

Chassishandler: Add chassis identify state support for chassis status command

Return the present chassis identify state in get chassis status command:
Off
Temporary on
Indefinite on
Reserved

Tested:
Set chassis identify in different states:
ipmitool raw 0 4 10 0
ipmitool raw 0 4 0 1
ipmitool raw 0 4 0 0

Then query the chassis status and check on the third byte
ipmitool raw 0 1

Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
Change-Id: I66690b74823a6b819c4fda25d95bc8690b98181a

show more ...


# ae4b040b 01-Nov-2018 Yong Li <yong.b.li@linux.intel.com>

Implement set chassis capabilities IPMI commands

Create a new dbus interface for the chassis capabilities, and
store the chassis capabilities using phosphor settings manager

Tes

Implement set chassis capabilities IPMI commands

Create a new dbus interface for the chassis capabilities, and
store the chassis capabilities using phosphor settings manager

Tested By:
ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 5 0 2 4 6 8 0xa
ipmitool -H $BMCIP -U root -P 0penBmc -I lanplus raw 0 0

Change-Id: Id01555358adfec3814fd03b3e6d422916c861039
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>

show more ...


# 46470a38 07-Sep-2018 Patrick Venture <venture@google.com>

rename headers to match style

Moving headers from ".h" to ".hpp"

Reworked the header inclusion a bit so that host-ipmid is treated as a
library, and local headers aren't.

rename headers to match style

Moving headers from ".h" to ".hpp"

Reworked the header inclusion a bit so that host-ipmid is treated as a
library, and local headers aren't.

renamed apphandler.h => apphandler.hpp
renamed chassishandler.h => chassishandler.hpp
renamed globalhandler.h => globalhandler.hpp
renamed sensorhandler.h => sensorhandler.hpp
renamed storageaddsel.h => storageaddsel.hpp
renamed storagehandler.h => storagehandler.hpp
renamed systemintfcmds.h => systemintfcmds.hpp

Change-Id: I9d4ce3dd57e2e996800f9020a10cc10cdf2c3914
Signed-off-by: Patrick Venture <venture@google.com>

show more ...