/openbmc/smbios-mdr/ |
H A D | README.md | 1 # smbios-mdr 3 ## SMBIOS Parser 6 binary [SMBIOS][1] table and publishing the system information on D-Bus, to be 9 The SMBIOS table is usually sent to the BMC by the host firmware (BIOS). The 11 the SMBIOS data, but there are at least two implementation today: 20 needs to send an updated SMBIOS table. 23 data to the correct agent (e.g. `smbios-mdr`). The [D-Bus interface][3] between 24 the IPMI handler and `smbios-mdr` is largely a mirror of IPMI commands. 35 implement support for specific blobs. Here in `smbios-mdr` we provide such a 36 blob handler for the `/smbios` blob. It works by writing the data into [all …]
|
/openbmc/qemu/include/hw/firmware/ |
H A D | smbios.h | 8 * SMBIOS Support 49 /* SMBIOS Entry Point 50 * There are two types of entry points defined in the SMBIOS specification 53 * can be used in a 64-bit target system, except that SMBIOS 2.1 entry point 54 * only allows the SMBIOS struct table to reside below 4GB address space. 57 /* SMBIOS 2.1 (32-bit) Entry Point 58 * - introduced since SMBIOS 2.1 78 /* SMBIOS 3.0 (64-bit) Entry Point 79 * - introduced since SMBIOS 3.0 100 /* This goes at the beginning of every SMBIOS structure. */ [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Smbios/ |
H A D | README.md | 1 # SMBIOS MDR V2 5 SMBIOS MDR V2 service exposes D-Bus methods for SMBIOS Version 2 operations. 7 ### SMBIOS MDR V2 Interface 9 SMBIOS MDR V2 interface `xyz.openbmc_project.Smbios.MDR_V2` provides following 16 - SendDirectoryInformation - Send directory information to SMBIOS directory. 21 SMBIOS data start to transfer. 22 - AgentSynchronizeData - Synchronize SMBIOS data from file after data transfer
|
H A D | MDR_V2.interface.yaml | 2 SMBIOS MDR V2 service 11 Directory index of SMBIOS. 27 Index of SMBIOS directory. 32 Data information of SMBIOS. 38 Send directory information to SMBIOS directory. 47 Directory index of SMBIOS. 59 Data set ID of SMBIOS table. 86 Index of SMBIOS directory. 129 Synchronize SMBIOS data from file. 143 Index of SMBIOS directory.
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Smbios/ |
H A D | meson.build | 4 sdbusplus_current_path = 'xyz/openbmc_project/Smbios' 7 'xyz/openbmc_project/Smbios/MDR_V2__markdown'.underscorify(), 9 '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml', 10 '../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml', 24 'xyz/openbmc_project/Smbios/MDR_V2',
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/smbios/ |
H A D | smbios-mdr_git.bb | 2 …ION = "This package parses SMBIOS tables, reads Intel CPU PIROM and PECI and provides a dedicated … 3 HOMEPAGE = "http://github.com/openbmc/smbios-mdr" 15 PACKAGECONFIG[smbios-no-dimm] = "-Ddimm-dbus=disabled,-Ddimm-dbus=enabled" 18 PACKAGECONFIG[smbios-ipmi-blob] = "-Dsmbios-ipmi-blob=enabled,-Dsmbios-ipmi-blob=disabled,phosphor-… 29 SRC_URI = "git://github.com/openbmc/smbios-mdr.git;branch=master;protocol=https" 32 SYSTEMD_SERVICE:${PN} += "smbios-mdrv2.service"
|
/openbmc/u-boot/include/ |
H A D | smbios.h | 5 * Adapted from coreboot src/include/smbios.h 11 /* SMBIOS spec version implemented */ 15 /* SMBIOS structure types */ 201 * fill_smbios_header() - Fill the header of an SMBIOS table 203 * This fills the header of an SMBIOS table structure. 221 * Function prototype to write a specific type of SMBIOS structure 230 * write_smbios_table() - Write SMBIOS table 232 * This writes SMBIOS table at a given address. 234 * @addr: start address to write SMBIOS table. If this is not 236 * @return: end address of SMBIOS table (and start address for next entry)
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Smbios/MDR_V2/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/Smbios/MDR_V2' 6 'xyz/openbmc_project/Smbios/MDR_V2__cpp'.underscorify(), 8 '../../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.errors.yaml', 9 '../../../../../yaml/xyz/openbmc_project/Smbios/MDR_V2.interface.yaml', 31 'xyz/openbmc_project/Smbios/MDR_V2',
|
/openbmc/qemu/tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/ |
H A D | BiosTablesTest.h | 2 Expose the address(es) of the ACPI RSD PTR table(s) and the SMBIOS entry 6 that is at offset 0 in the structure. Once the RSD PTR and SMBIOS anchor 7 address(es) are retrieved, the hypervisor may perform various ACPI and SMBIOS 10 This feature is a development aid, for supporting ACPI and SMBIOS table unit 67 // matches. Smbios21 is the guest-physical address of the SMBIOS 2.1 (32-bit) 68 // Entry Point Structure from the SMBIOS v3.2.0 specification, in 8-byte 70 // the SMBIOS 3.0 (64-bit) Entry Point Structure from the same specification,
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_smbios.c | 11 #include <smbios.h> 16 * Install the SMBIOS table as a configuration table. 22 /* Map within the low 32 bits, to allow for 32bit SMBIOS tables */ in efi_smbios_register() 27 /* Reserve 4kiB page for SMBIOS */ in efi_smbios_register() 42 * Generate SMBIOS tables - we know that efi_allocate_pages() returns in efi_smbios_register()
|
/openbmc/intel-ipmi-oem/include/ |
H A D | smbiosmdrv2handler.hpp | 25 static constexpr const char* mdrType2File = "/var/lib/smbios/smbios2"; 26 static constexpr const char* smbiosPath = "/var/lib/smbios"; 28 1024 * 60; // Total size will transfer for smbios table 32 0x0101; // Agent ID for smbios entry 45 // smbios 49 static constexpr const int smbiosDirIndex = 0; // SMBIOS directory index 52 15; // Version of smbios table 54 0x45464748; // Time stamp when smbios table created 60 64 * 1024; // Total size of smbios table 67 constexpr const char* mdrv2Path = "/xyz/openbmc_project/Smbios/MDR_V2"; [all …]
|
/openbmc/smbios-mdr/src/ |
H A D | mdrv2.cpp | 25 #include <xyz/openbmc_project/Smbios/MDR_V2/error.hpp> 31 namespace smbios namespace 43 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDirectoryInformation() 49 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDirectoryInformation() 129 lg2::error("smbios is not ready for update"); in getDataOffer() 130 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDataOffer() 186 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in getDataInformation() 260 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDirectoryInformation() 267 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDirectoryInformation() 310 throw sdbusplus::xyz::openbmc_project::Smbios::MDR_V2::Error:: in sendDataInformation() [all …]
|
H A D | mdrv2_main.cpp | 35 connection->request_name("xyz.openbmc_project.Smbios.MDR_V2"); in main() 37 auto mdrV2 = std::make_shared<phosphor::smbios::MDRV2>( in main() 39 phosphor::smbios::defaultObjectPath, in main() 40 phosphor::smbios::defaultInventoryPath); in main()
|
H A D | firmware_inventory.cpp | 15 namespace smbios namespace 24 phosphor::smbios::mapperBusName, phosphor::smbios::mapperPath, in getExistingVersionPaths() 25 phosphor::smbios::mapperInterface, "GetSubTreePaths"); in getExistingVersionPaths() 29 std::array<std::string, 1>({phosphor::smbios::versionInterface})); in getExistingVersionPaths() 212 } // namespace smbios
|
/openbmc/smbios-mdr/include/ |
H A D | mdrv2.hpp | 39 #include <xyz/openbmc_project/Smbios/MDR_V2/server.hpp> 46 namespace smbios namespace 53 "/xyz/openbmc_project/Smbios/MDR_V2"; 55 "xyz.openbmc_project.Smbios.GetRecordType"; 87 sdbusplus::server::xyz::openbmc_project::smbios::MDRV2> 114 sdbusplus::server::xyz::openbmc_project::smbios::MDRV2>( in MDRV2() 123 lg2::info("SMBIOS data file path: {F}", "F", smbiosFilePath); in MDRV2() 124 lg2::info("SMBIOS control object: {O}", "O", smbiosObjectPath); in MDRV2() 125 lg2::info("SMBIOS inventory path: {I}", "I", smbiosInventoryPath); in MDRV2() 207 } // namespace smbios
|
/openbmc/openbmc/meta-nvidia/meta-gb200nvl-obmc/recipes-phosphor/smbios/ |
H A D | smbios-mdr_%.bbappend | 3 # smbios-ipmi-blob is used to collect SMBIOS information from IPMI blobs 4 PACKAGECONFIG:append = " smbios-ipmi-blob"
|
/openbmc/qemu/tests/functional/acpi-bits/bits-config/ |
H A D | bits-cfg.txt | 10 # smbios: Dump all SMBIOS structures. 18 batch = test acpi smbios
|
/openbmc/qemu/hw/smbios/ |
H A D | smbios-stub.c | 2 * SMBIOS stubs for platforms that don't support SMBIOS. 24 #include "hw/firmware/smbios.h"
|
H A D | smbios.c | 2 * SMBIOS Support 27 #include "hw/firmware/smbios.h" 35 * SMBIOS tables provided by user with '-smbios file=<foo>' option 69 * 0 which counts as unknown (SMBIOS 3.1.0/Table 21). Set the 137 .name = "smbios", 152 .help = "binary file containing an SMBIOS element", 161 .help = "SMBIOS element type", 190 .help = "SMBIOS element type", 227 .help = "SMBIOS element type", 260 .help = "SMBIOS element type", [all …]
|
H A D | smbios_type_38.c | 2 * IPMI SMBIOS firmware handling 12 #include "hw/firmware/smbios.h" 16 /* SMBIOS type 38 - IPMI */ 72 " SMBIOS, ignoring this entry.", info->register_spacing); in smbios_build_one_type_38()
|
H A D | smbios_build.h | 2 * SMBIOS Support 95 /* update smbios max. element size */ \ 101 /* update smbios element count */ \ 105 /* IPMI SMBIOS firmware handling */
|
H A D | smbios_legacy_stub.c | 2 * IPMI SMBIOS firmware handling 11 #include "hw/firmware/smbios.h"
|
/openbmc/smbios-mdr/service_files/ |
H A D | smbios-mdrv2.service | 2 Description=Intel BMC SMBIOS MDR V2 9 ExecStartPre=/bin/mkdir -p /var/lib/smbios
|
H A D | xyz.openbmc_project.cpuinfo.service | 3 Requires=smbios-mdrv2.service 5 After=smbios-mdrv2.service
|
/openbmc/smbios-mdr/src/smbios-ipmi-blobs/ |
H A D | handler.cpp | 30 constexpr const char* mdrV2Service = "xyz.openbmc_project.Smbios.MDR_V2"; 31 constexpr const char* mdrV2Interface = "xyz.openbmc_project.Smbios.MDR_V2"; 38 bus.new_method_call(mdrV2Service, phosphor::smbios::defaultObjectPath, in syncSmbiosData() 50 phosphor::smbios::defaultObjectPath); in syncSmbiosData() 115 /* SMBIOS blob handler does not support read. */ in read() 202 lg2::error("create folder failed for writing smbios file"); in commit() 213 "Write data from flash error - Open SMBIOS table file failure"); in commit()
|