All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Fertser <fercerpav@gmail.com>
To: Nikita Pavlov <icepbix@gmail.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re: how get smbios blob with intel-ipmi-oem
Date: Tue, 11 Oct 2022 13:10:25 +0300	[thread overview]
Message-ID: <Y0VBEZnddPlHT3cW@home.paul.comp> (raw)
In-Reply-To: <CAJewAaLk0Q9fnmT_s_8TdnDfcJMXbLcS4=OZoeT5+qatDnGFKQ@mail.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@gmail.com

  reply	other threads:[~2022-10-11 10:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11  9:27 how get smbios blob with intel-ipmi-oem Nikita Pavlov
2022-10-11 10:10 ` Paul Fertser [this message]
2022-10-11 18:26   ` Nikita Pavlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y0VBEZnddPlHT3cW@home.paul.comp \
    --to=fercerpav@gmail.com \
    --cc=icepbix@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.