commit | f59116530cecf7a2e2bdaf78b0df50b0c5d964d6 | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Sat Dec 16 13:15:54 2023 +0530 |
committer | Manojkiran Eda <manojkiran.eda@gmail.com> | Sat Dec 16 23:38:18 2023 +0530 |
tree | b1a7a3178feb3b53bff6bbec3f1a443260c3a068 | |
parent | 918d1a3e7d41828a5ad53785df47a9453347b16c [diff] |
Add missing nlohmann_json dependency The bios-password part of code relies on seed file which is in JSON format and also uses the nlohmann parse functions to parse it, so add it to the dependency list. Change-Id: I7f4ab5a79f8909ee527861a9275ddc2282599a67 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.