/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Bios_v1.xml | 4 <!--# Redfish Schema: Bios v1.2.3 --> 33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Bios"> 37 <EntityType Name="Bios" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 38 …Bios` schema contains properties related to the BIOS attribute registry. The attribute registry d… 39 …<Annotation Term="OData.LongDescription" String="This resource shall represent BIOS attributes for… 48 …<Annotation Term="OData.Description" String="The attributes in the BIOS resource can be updated."/> 58 <String>/redfish/v1/Systems/{ComputerSystemId}/Bios</String> 59 …ish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Bios</String> 60 … <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Bios</String> 66 … <Annotation Term="OData.Description" String="This action resets the BIOS attributes to default."/> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | Bios_v1.xml | 4 <!--# Redfish Schema: Bios v1.2.3 --> 33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Bios"> 37 <EntityType Name="Bios" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 38 …Bios` schema contains properties related to the BIOS attribute registry. The attribute registry d… 39 …<Annotation Term="OData.LongDescription" String="This resource shall represent BIOS attributes for… 48 …<Annotation Term="OData.Description" String="The attributes in the BIOS resource can be updated."/> 58 <String>/redfish/v1/Systems/{ComputerSystemId}/Bios</String> 59 …ish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Bios</String> 60 … <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Bios</String> 66 … <Annotation Term="OData.Description" String="This action resets the BIOS attributes to default."/> [all …]
|
/openbmc/pldm/docs/ |
H A D | bios_implementation.md | 1 # BIOS Support 3 Redfish supports the BIOS Attribute Registry, which provides users with a list 4 of BIOS attributes supported in the BIOS configuration. To incorporate BIOS 6 Base BIOS Table. PLDM populates the Base BIOS Table for the BIOS Config Manager 7 based on BIOS JSON files. BIOS functionality is integrated into PLDM according 9 [PLDM BIOS Specification](https://www.dmtf.org/sites/default/files/standards/documents/DSP0247_1.0.… 10 BIOS attributes, also referred to as BIOS parameters or configuration settings, 13 [BIOS JSON file](https://github.com/openbmc/pldm/tree/master/oem/ibm/configurations/bios/com.ibm.Ha… 15 [Base BIOS Table](https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_… 16 hosted by [BIOS Config Manager](https://github.com/openbmc/bios-settings-mgr). [all …]
|
/openbmc/openbmc-test-automation/pldm/ |
H A D | test_pldm_bios_attributes.robot | 3 Documentation Module to test PLDM BIOS attribute types. 13 Suite Setup PLDM BIOS Attribute Suite Setup 14 Suite Teardown PLDM BIOS Attribute Suite Cleanup 26 Verify Get BIOS Attribute With Invalid Attribute Name 27 [Documentation] Verify get BIOS attribute with invalid attribute name. 31 ${pldm_output}= pldmtool bios GetBIOSAttributeCurrentValueByHandle -a ${random_attr} 35 # pldmtool bios GetBIOSAttributeCurrentValueByHandle -a hjkhkj 42 Verify Set BIOS Attribute With Invalid Attribute Name 43 [Documentation] Verify set BIOS attribute with invalid attribute name. 47 ${pldm_output}= pldmtool bios SetBIOSAttributeCurrentValue -a ${random_str} -d ${random_str} [all …]
|
H A D | test_redfish_bios_attributes.robot | 2 Documentation This suite test various BIOS attributes operations using Redfish. 14 Suite Setup Redfish BIOS Suite Setup 15 Suite Teardown Run Keyword And Ignore Error Redfish BIOS Suite Cleanup 27 Redfish Verify Set BIOS Attribute With Invalid Attribute Name 28 [Documentation] Verify set BIOS attribute with invalid attribute name using 37 Redfish Verify Set Invalid Optional Value For BIOS Enumeration Attribute Type 38 [Documentation] Verify set invalid optional value for BIOS enumeration attribute type 50 Redfish Verify Set Out Of Range Integer Value For BIOS Integer Attribute Type 51 [Documentation] Verify set out of range integer value for BIOS integer attribute type 64 Redfish Verify Set Out Of Range String Value For BIOS String Attribute Type [all …]
|
/openbmc/bios-settings-mgr/ |
H A D | README.md | 1 # Remote BIOS Configuration 7 The **biosconfig_manager** service enables users to view and modify the BIOS 16 - **Remote management** of BIOS settings. 18 - **Reset BIOS Settings** support through the dbus. 19 - **ChangePassword** support to change the BIOS setup password. 23 The Manager interface exposes methods and properties to Get & Set BIOS 24 attributes via [dbus][pdi-manager-bios]. 46 - **SetAttribute** Sets a specific BIOS attribute to a new value. 47 - **GetAttribute** Retrieves the current and pending values of a BIOS attribute. 51 - **ResetBIOSSettings** To reset the BIOS settings based on the Reset Flag. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/BIOSConfig/ |
H A D | README.md | 1 # Remote BIOS Configuration via BMC 5 Provides ability for the user to view and modify the BIOS setup configuration 11 Remote BIOS Configuration (RBC) service exposes D-Bus methods for BIOS settings 22 - `SetAttribute` -To set the particular BIOS attribute with new value. 23 - `GetAttribute` -To get the bios attribute current and pending values. 27 - `ResetBIOSSettings` - To reset the BIOS settings based on the Reset Flag. 28 - `BaseBiosTable` - To store all bios attributes details. 29 - `PendingAttributes` - To store pending bios Attributes list. 37 - `ChangePassword` - To change BIOS setup password. 41 - `PasswordInitialized` - To indicate BIOS password related details are received [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | bios_handler.hpp | 12 * @brief Interface class for BIOS handling. 15 * concrete class that intends to use the feature provided via BIOS handler 22 * @brief API to back up or restore BIOS attributes. 31 * @brief Callback API to be triggered on BIOS attribute change. 34 * value from DBus message broadcasted on BIOS attribute change. 35 * The definition should be overridden in concrete class to deal with BIOS 44 * @brief IBM specifc BIOS handler class. 50 * @brief Construct a new IBM BIOS Handler object 52 * This constructor constructs a new IBM BIOS Handler object 60 * @brief API to back up or restore BIOS attributes. [all …]
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-gbs/gbs-bios-update/ |
H A D | gbs-bios-update.bb | 14 SRC_URI += " file://bios-verify.sh \ 15 file://bios-update.sh \ 16 file://phosphor-ipmi-flash-bios-verify.service \ 17 file://phosphor-ipmi-flash-bios-update.service \ 18 file://config-bios.json \ 21 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bios.json" 25 install -m 0755 ${UNPACKDIR}/bios-verify.sh ${D}${bindir}/ 26 install -m 0755 ${UNPACKDIR}/bios-update.sh ${D}${bindir}/ 29 … install -m 0644 ${UNPACKDIR}/phosphor-ipmi-flash-bios-verify.service ${D}${systemd_system_unitdir} 30 … install -m 0644 ${UNPACKDIR}/phosphor-ipmi-flash-bios-update.service ${D}${systemd_system_unitdir} [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | bios_table.h | 9 #include <libpldm/bios.h> 17 * structure representing bios table iterator 21 /** @brief Create a bios table iterator 24 * @param[in] type - Type of pldm bios table 31 /** @brief Release a bios table iterator 32 * @param[in] iter - Pointer to bios table iterator 36 /** @brief Check if the iterator reaches the end of the bios table 37 * @param[in] iter - Pointer to the bios table iterator 45 * @param[in] iter - Pointer the bios table iterator 49 /** @brief Get the bios table entry that the iterator points to [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | bios_attr_utils.robot | 2 Documentation Utilities for redfish BIOS attribute operations. 17 Set BIOS Attribute Value And Verify 19 [Documentation] Set BIOS attribute handle with attribute value and verify. 23 # ${attr_handle} BIOS Attribute handle (e.g. 'vmi_if0_ipv4_method'). 27 # Check if the BIOS attribute value type is string. 31 # Handling the case when the BIOS attribute value is an empty string. 42 # BIOS attribute with _current are ReadOnly can not be updated. 44 Log To Console BIOS attribute with _current are ReadOnly can not be updated !! 49 IF '${verify}' == '${True}' Verify BIOS Attribute ${attr_handle} ${attr_val} 53 Set Optional BIOS Attribute Values And Verify [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | Bios.v1_2_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Bios.v1_2_3.json", 3 "$ref": "#/definitions/Bios", 26 "#Bios.ChangePassword": { 29 "#Bios.ResetBios": { 42 …"description": "The list of BIOS attributes and their values as determined by the manufacturer or … 43 …BIOS attributes and their values as determined by the manufacturer or provider. This object shall… 69 "Bios": { object 71 …Bios` schema contains properties related to the BIOS attribute registry. The attribute registry d… 72 … "longDescription": "This resource shall represent BIOS attributes for a Redfish implementation.", 106 …urce ID of the attribute registry that has the system-specific information about a BIOS resource.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | Bios.v1_2_3.json | 2 "$id": "http://redfish.dmtf.org/schemas/v1/Bios.v1_2_3.json", 3 "$ref": "#/definitions/Bios", 26 "#Bios.ChangePassword": { 29 "#Bios.ResetBios": { 42 …"description": "The list of BIOS attributes and their values as determined by the manufacturer or … 43 …BIOS attributes and their values as determined by the manufacturer or provider. This object shall… 69 "Bios": { object 71 …Bios` schema contains properties related to the BIOS attribute registry. The attribute registry d… 72 … "longDescription": "This resource shall represent BIOS attributes for a Redfish implementation.", 106 …urce ID of the attribute registry that has the system-specific information about a BIOS resource.", [all …]
|
/openbmc/docs/designs/ |
H A D | bios-bmc-smm-error-logging.md | 1 # BIOS->BMC SMM Error Logging Queue Daemon 15 We've identified use cases where the BIOS will go into System Management Mode 19 implement a circular buffer over a shared BIOS->BMC buffer that the BIOS can 24 There are various ways of communicating between the BMC and the BIOS, but there 38 1. The BMC shall initialize the shared buffer in a way that the BIOS can 40 2. After initialization, the BIOS shall not have to wait for an ack back from 42 3. The BIOS shall be the main writer to the shared buffer, with the BMC mainly 45 5. The BIOS must be able to write a payload (~1KB) to the buffer within 50µs 68 … bytes | 0x0 | BMC at init | Allows the BIOS to determine if it … 69 …BIOS Interface Version | 4 bytes | 0x4 | BIOS at ini… [all …]
|
H A D | remote-bios-configuration.md | 1 # Remote BIOS Configuration (RBC) via BMC 11 Current OpenBMC doesn't provide mechanism to configure the BIOS remotely. This 14 Remote BIOS Configuration provides ability for the user to view and modify BIOS 15 setup configuration parameters remotely via a BMC at any Host state. New BIOS 22 2. <https://redfish.dmtf.org/schemas/v1/Bios.v1_1_0.json> 27 1. Mechanism to configure BIOS settings remotely over network interface. 28 2. BMC should support the ability to set the value of all BIOS variables to the 33 send the updated BIOS variables on next BIOS boot only. It will not initiate 34 a BIOS boot immediately. 35 5. In immediate model, BMC should send message to the system firmware (BIOS) [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | mocked_bios.hpp | 9 class MockBIOSStringTable : public pldm::responder::bios::BIOSStringTable 19 void checkHeader(const pldm::responder::bios::Table& attrEntry, in checkHeader() 20 const pldm::responder::bios::Table& attrValueEntry) in checkHeader() 22 auto attrHeader = pldm::responder::bios::table::attribute::decodeHeader( in checkHeader() 25 pldm::responder::bios::table::attribute_value::decodeHeader( in checkHeader() 32 void checkEntry(pldm::responder::bios::Table& entry, in checkEntry() 33 pldm::responder::bios::Table& expectedEntry) in checkEntry() 50 void checkConstructEntry(pldm::responder::bios::BIOSAttribute& attribute, in checkConstructEntry() 51 pldm::responder::bios::BIOSStringTable& stringTable, in checkConstructEntry() 52 pldm::responder::bios::Table& expectedAttrEntry, in checkConstructEntry() [all …]
|
/openbmc/openbmc/meta-openpower/classes/ |
H A D | openpower-software-manager-ubi.bbclass | 4 obmc-flash-bios-ubiattach.service \ 5 obmc-flash-bios-ubimount@.service \ 6 obmc-flash-bios-ubiumount-ro@.service \ 7 obmc-flash-bios-ubiumount-rw@.service \ 8 obmc-flash-bios-ubipatch.service \ 9 obmc-flash-bios-ubiremount.service \ 10 obmc-flash-bios-cleanup.service \
|
/openbmc/qemu/roms/ |
H A D | Makefile | 51 # We need that to combine multiple images (legacy bios, 61 @echo " bios -- update bios.bin (seabios)" 63 @echo " pxerom -- update nic roms (bios only)" 64 @echo " efirom -- update nic roms (bios+efi)" 80 bios: build-seabios-config-seabios-128k \ target 83 cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin 84 cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin 85 cp seabios/builds/seabios-microvm/bios.bin ../pc-bios/bios-microvm.bin 90 cp seabios/builds/vga-isavga/vgabios.bin ../pc-bios/vgabios.bin 93 cp seabios/builds/vga-$*/vgabios.bin ../pc-bios/vgabios-$*.bin [all …]
|
/openbmc/openbmc-test-automation/oem/nuvoton/ |
H A D | test_ipmi_flash.robot | 15 ${image-bios} image-bios 16 ${image-bios-sig} image-bios.sig 25 Test BIOS Firmware Update 26 [Documentation] Test BIOS firmware update over IPMI. 32 Update BIOS Firmware ${IMAGE_HOST_FILE_PATH_0} 33 Verify BIOS Version ${IMAGE_HOST_FILE_PATH_0} 38 Update BIOS Firmware ${IMAGE_HOST_FILE_PATH_1} 39 Verify BIOS Version ${IMAGE_HOST_FILE_PATH_1} 44 Test Invalid BIOS Firmware Update 45 [Documentation] Test Invalid BIOS firmware update over IPMI. [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | bios.hpp | 27 * BiosService class supports handle get method for bios. 52 "/redfish/v1/Systems/{}/Bios", BMCWEB_REDFISH_SYSTEM_URI_NAME); in handleBiosServiceGet() 53 asyncResp->res.jsonValue["@odata.type"] = "#Bios.v1_1_0.Bios"; in handleBiosServiceGet() 54 asyncResp->res.jsonValue["Name"] = "BIOS Configuration"; in handleBiosServiceGet() 55 asyncResp->res.jsonValue["Description"] = "BIOS Configuration Service"; in handleBiosServiceGet() 56 asyncResp->res.jsonValue["Id"] = "BIOS"; in handleBiosServiceGet() 57 asyncResp->res.jsonValue["Actions"]["#Bios.ResetBios"]["target"] = in handleBiosServiceGet() 58 std::format("/redfish/v1/Systems/{}/Bios/Actions/Bios.ResetBios", in handleBiosServiceGet() 68 BMCWEB_ROUTE(app, "/redfish/v1/Systems/<str>/Bios/") in requestRoutesBiosService() 75 * BiosReset class supports handle POST method for Reset bios. [all …]
|
/openbmc/openbmc/meta-google/recipes-google/google-bios-key/ |
H A D | google-bios-key.bb | 1 SUMMARY = "Google BIOS Public Keys" 2 DESCRIPTION = "Google BIOS Public Keys" 14 FILES:${PN} += "${datadir}/google-bios-key/platforms_secure.pem" 15 FILES:${PN} += "${datadir}/google-bios-key/platforms_bringup.pem" 20 install -d ${D}${datadir}/google-bios-key 21 install -m 0644 ${UNPACKDIR}/platforms_secure.pem ${D}${datadir}/google-bios-key 22 install -m 0644 ${UNPACKDIR}/platforms_bringup.pem ${D}${datadir}/google-bios-key 24 ln -s -r ${D}${datadir}/google-bios-key/platforms_secure.pem ${D}${datadir}/platforms_secure.pem 25 … ln -s -r ${D}${datadir}/google-bios-key/platforms_bringup.pem ${D}${datadir}/platforms_bringup.pem
|
/openbmc/openpower-pnor-code-mgmt/ubi/ |
H A D | obmc-flash-bios-ubimount@.service | 3 Requires=obmc-flash-bios-ubiattach.service 4 After=obmc-flash-bios-ubiattach.service 5 OnFailure=obmc-flash-bios-ubiumount-ro@%i.service obmc-flash-bios-ubiumount-rw@%i.service 10 ExecStart=/usr/bin/obmc-flash-bios squashfsmount pnor-ro-%i %i 11 ExecStart=/usr/bin/obmc-flash-bios ubimount pnor-rw-%i 12 ExecStart=/usr/bin/obmc-flash-bios ubimount pnor-prsv
|
/openbmc/openbmc/meta-asrock/meta-common/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update.sh | 3 die() { logger -s -t bios-update "Error: $*"; exit 1; } 4 info() { logger -s -t bios-update "$*"; } 7 . /etc/default/bios-update || die "Failed: unable to load /etc/default/bios-update" 30 die "host must be off before performing BIOS update" 34 # sets variables (gpioset background PIDs and bios flash mtd chardev, 48 info "Attaching BIOS flash..." 49 …echo "$bios_flash_spidev" > "$smc_drvdir/bind" || die "failed to attach aspeed-smc driver to BIOS … 52 tmp="$(grep -xl bios /sys/class/mtd/*/name)" 56 [ -c "$bios_mtd_dev" ] || die "bios mtd chardev not found" 61 info "Detaching BIOS flash..." [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/ |
H A D | kudo-bios-update.bb | 1 SUMMARY = "Phosphor OpenBMC Kudo BIOS Firmware Upgrade Command" 2 DESCRIPTION = "Phosphor OpenBMC Kudo BIOS Firmware Upgrade Comman Daemon" 16 FILES:${PN} += "${datadir}/phosphor-ipmi-flash/config-bios.json" 19 file://phosphor-ipmi-flash-bios-update.service \ 20 file://config-bios.json \ 25 phosphor-ipmi-flash-bios-update.service \ 30 install -m 0644 ${UNPACKDIR}/config-bios.json ${D}${datadir}/phosphor-ipmi-flash 32 …install -m 0644 ${UNPACKDIR}/phosphor-ipmi-flash-bios-update.service ${D}${systemd_system_unitdir}
|
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/flash/ |
H A D | bios-version.bb | 11 file://bios-version.sh \ 12 file://bios-version.service \ 17 install -m 0755 ${UNPACKDIR}/bios-version.sh ${D}/${sbindir}/ 20 install -m 0644 ${UNPACKDIR}/bios-version.service ${D}${systemd_system_unitdir}/ 23 SYSTEMD_SERVICE:${PN} += "bios-version.service" 25 FILES:${PN} += "${systemd_system_unitdir}/bios-version.service ${sbindir}/bios-version.sh"
|