how get smbios blob with intel-ipmi-oem

Nikita Pavlov icepbix at gmail.com
Wed Oct 12 05:26:55 AEDT 2022


Hi Paul,
Thanks for your response.

I request to this <Intel General Application>:<Get NIC Info> for test.

Now I have some compile errors this
https://github.com/Intel-BMC/provingground/tree/master/services/smbios
...
In file included from /home/qs/provingground/services/smbios/src/cpu.cpp:17:
/home/qs/provingground/services/smbios/src/cpu.hpp:111:17: error:
‘std::string phosphor::smbios::Cpu::processorSocket(std::string)’ marked
‘override’, but does not override
  111 |     std::string processorSocket(std::string value) override;
...
/home/qs/provingground/services/smbios/src/cpu.cpp: In member function
‘std::string phosphor::smbios::Cpu::processorSocket(std::string)’:
/home/qs/provingground/services/smbios/src/cpu.cpp:38:9: error:
‘processorSocket’ is not a member of
‘sdbusplus::xyz::openbmc_project::Inventory::Item::server::Cpu’
   38 |         processorSocket(value);
...
And other typical errors.

I'll fix them and post my progress.



вт, 11 окт. 2022 г. в 13:10, Paul Fertser <fercerpav at gmail.com>:

> Hi Nikita,
>
> On Tue, Oct 11, 2022 at 12:27:58PM +0300, Nikita Pavlov wrote:
> > Now I work with intel-ipmi-oem and want to get smbios blob.
>
> If you're going to use MDRv1 protocol then I can share the experience.
>
> We use intel-ipmi-oem and it handles requests like 0x3e:0x20 (for
> region status) by calling methods of a D-Bus object, which you should
> also be able to query manually following
>
> busctl introspect xyz.openbmc_project.Smbios.MDR_V1
> /xyz/openbmc_project/Smbios/MDR_V1
>
> output.
>
> "xyz.openbmc_project.Smbios.MDR_V1" is handled by
> https://github.com/Intel-BMC/provingground/tree/master/services/smbios .
>
> Example of requesting status of the first region:
>
> # ipmitool raw 0x3e 0x20 1
>  11 01 01 02 00 00 80 cc 0a 91
>
> > I use intel-ipmi-oem lib and ipmi-whitelist.conf with
> phosphor-host-ipmid.
> > I test this by ipmitool like this ipmitool raw 0x30 0x1a and get:
>
> Why are you using 0x30 0x1a, it seems to be
> <Intel General Application>:<Get NIC Info> so completely unrelated?
>
> HTH
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:fercerpav at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20221011/ab08b312/attachment-0001.htm>


More information about the openbmc mailing list