commit | 72bed802bff8b5c1a7f656e415deb9dadd8e597f | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Wed Jan 24 06:18:48 2024 -0600 |
committer | Manojkiran Eda <manojkiran.eda@gmail.com> | Wed Jan 24 07:47:48 2024 -0600 |
tree | 13ce5888b3d14534449bb3a75dcc82a0419de468 | |
parent | d8f9f3fba79bdd834b20268c164b1aea57b6d1a1 [diff] |
Update cereal dependency It seems that, we cannot directly make the cereal packages as required, since the libcereal bitbake recipe does not seem to supply the necessary package config files which meson build system could find using the dependency() call. The libcereal bitbake recipe does not seem to put the package config files but seem to install the necessary header files into the includes, so mark the cereal dependency as not required, but add the checks for finding the necessary cereal headers rather than the package config file. Just copied the cereal dependency check code from other repositories like phosphor-state-manager & pldm. Tested by : 1. Did a bitbake build with this change and made sure that the bios-config-mgr builds & figure outs the cereal dependency. Change-Id: Ib1139bfc41024a9f29953ed0427fa9fc0bbf238c Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Remote BIOS Configuration via BMC Overview Provides ability for the user to view and modify the BIOS setup configuration parameters remotely via BMC at any Host state. Modifications to the parameters take place upon the next system reboot or immediate based on the host firmware. Please refer https://github.com/openbmc/docs/blob/master/designs/remote-bios-configuration.md
Remote BIOS Configuration (RBC) service exposes D-Bus methods for BIOS settings management operations.
RBC Manager Interface xyz.openbmc_project.BIOSConfig.Manager provides following methods, properties.
Object Path : /xyz/openbmc_project/BIOSConfig/Manager
xyz.openbmc_project.BIOSConfig.Manager
methods: SetAttribute -To set the particular BIOS attribute with new value. GetAttribute -To get the bios attribute current values and pending values if again.
Properites: ResetBIOSSettings - Contain reset BIOS setting type: Interface have to set NoAction this property, when Reset BIOS settings are informed to the BIOS. BaseBIOSTable - Save the whole BIOS table. map{attributeName,struct{attributeType,readonlyStatus,displayname, description,menuPath,current,default, array{struct{optionstring,optionvalue}}}} Example 1: {"DdrFreqLimit", {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String, false, "Memory Operating Speed Selection", "Force specific Memory Operating Speed or use Auto setting.", "Advanced/Memory Configuration/Memory Operating Speed Selection", "0x00", "0x0B", { {"OneOf", "auto"}, {"OneOf", "2133"}, {"OneOf", "2400"}, {"OneOf", "2664"}, {"OneOf", "2933"} } } } Example 2: {"BIOSSerialDebugLevel", {xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Integer, false, "BIOS Serial Debug level", "BIOS Serial Debug level during system boot.", "Advanced/Debug Feature Selection", 0x00, 0x01, { {"MinBound", 0}, {"MaxBound", 4}, {"ScalarIncrement",1} } } }
Signals: AttributeChanged - Signal sent out when attribute is changed
PasswordInterface:
xyz.openbmc_project.BIOSConfig.Password provides following Methods and Properities.
xyz.openbmc_project.BIOSConfig.Password Interface
Methods: ChangePassword - Change the BIOS setup password.
Properities: PasswordInitialized - To indicate BIOS password related details are received or not.