How the Set boot mode and Set boot source works ?
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.
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
Quoted 10 lines · Brad Chou
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.