* How the Set boot mode and Set boot source works ?
@ 2018-05-07 9:39 Brad Chou
2018-05-07 9:54 ` Tom Joseph
0 siblings, 1 reply; 2+ messages in thread
From: Brad Chou @ 2018-05-07 9:39 UTC (permalink / raw)
To: openbmc
[-- Attachment #1: Type: text/plain, Size: 575 bytes --]
Hi everyone,
I have read the https://github.com/openbmc/docs/blob/master/REST-cheatsheet.md <https://github.com/openbmc/docs/blob/master/REST-cheatsheet.md>
And follow it to Set boot mode and Set boot source.
My CPU is Intel x86 based, so I don’t expected it will work with those two commands.
So I just want to know how those two commands work with openpower system.
Does the CPU send some commands to BMC to get these settings when power up ?
What kind of command formate ?
If I want to make my x86 CPU to work with it, what should I going to do first ?
Thanks.
[-- Attachment #2: Type: text/html, Size: 1016 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How the Set boot mode and Set boot source works ?
2018-05-07 9:39 How the Set boot mode and Set boot source works ? Brad Chou
@ 2018-05-07 9:54 ` Tom Joseph
0 siblings, 0 replies; 2+ messages in thread
From: Tom Joseph @ 2018-05-07 9:54 UTC (permalink / raw)
To: Brad Chou, openbmc
[-- Attachment #1: Type: text/plain, Size: 1129 bytes --]
Hello Brad,
These boot options correspond to the boot flags in the Get/Set system
boot options command.
The get/set system boot options command can be used to configure boot
mode/boot source.
On OpenPower systems, Petitboot sends IPMI commands to get/set these
parameters.
Refer this to understand how the IPMI command is mapped to the D-Bus
property.
https://github.com/openbmc/phosphor-host-ipmid/blob/master/chassishandler.cpp#L1181
https://github.com/openbmc/phosphor-host-ipmid/blob/master/chassishandler.cpp#L1320
Regards,
Tom
On Monday 07 May 2018 03:09 PM, Brad Chou wrote:
> Hi everyone,
> I have read the
> https://github.com/openbmc/docs/blob/master/REST-cheatsheet.md
> And follow it to *Set boot mode* and *Set boot source*.
> My CPU is Intel x86 based, so I don’t expected it will work with those
> two commands.
> So I just want to know how those two commands work with openpower system.
> Does the CPU send some commands to BMC to get these settings when
> power up ?
> What kind of command formate ?
> If I want to make my x86 CPU to work with it, what should I going to
> do first ?
>
> Thanks.
[-- Attachment #2: Type: text/html, Size: 2326 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-07 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07 9:39 How the Set boot mode and Set boot source works ? Brad Chou
2018-05-07 9:54 ` Tom Joseph
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.