commit | d8f9f3fba79bdd834b20268c164b1aea57b6d1a1 | [log] [tgz] |
---|---|---|
author | Manojkiran Eda <manojkiran.eda@gmail.com> | Sat Dec 16 23:19:09 2023 +0530 |
committer | ManojKiran Eda <manojkiran.eda@gmail.com> | Thu Jan 04 06:05:12 2024 +0000 |
tree | 29245be1353699c55b1e44849e81ad726aa6de10 | |
parent | e7f0b66cf075c5a44decd82494e8ea5ad68cccdb [diff] |
Remove an unused variable This commit removes biosPasswordFile variable which is not used anywhere in the code. Tested by: 1. Removed the un-used variable and daemon still compiles and builds. So this commit is removing an already dead code. Functionally this does not impact any features. Change-Id: Ic3a1642bff20977d34270e9d9015feee320db374 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.