openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Thang Nguyen <thang@amperemail.onmicrosoft.com>
To: Andrei Kartashev <a.kartashev@yadro.com>, openbmc@lists.ozlabs.org
Subject: Re: Read smbios2 file failed
Date: Wed, 15 Sep 2021 12:41:52 +0700	[thread overview]
Message-ID: <d93fc722-2a24-0921-56ee-b9968edbd6a6@amperemail.onmicrosoft.com> (raw)
In-Reply-To: <9ab79bcd06ad6b6cf574a8455247a767df8731ac.camel@yadro.com>

Hi Andrei,

I see output of "dmidecode --dump-bin" follows SMBIOS specification. As 
the data for smbios-mdr does not follow this, do you know about the 
document or any information I can reference to prepare data to send to BMC??


Best Regards,

Thang Q. Nguyen

On 14/09/2021 15:51, Andrei Kartashev wrote:
> No, it is not same as "dmidecode --dump-bin".
>
> On Tue, 2021-09-14 at 13:46 +0700, Thang Nguyen wrote:
>> On 13/09/2021 23:56, Andrei Kartashev wrote:
>>> You need to somehow deliver smbios data image to BMC. This means,
>>> your
>>> BIOS should implementat some logic to transfer this data.
>>> For BMC side see example here:
>>> https://github.com/openbmc/intel-ipmi-oem/blob/master/src/smbiosmdrv2handler.cpp
>> Hi Andrei,
>>
>> What is the format of smbios data to transfer to BMC? Is it the same
>> content of "dmidecode --dump-bin" command from Host Linux? or
>> anything
>> special in formatting the content to send?
>>
>>> On Mon, 2021-09-13 at 17:40 +0300, Alexander Raih wrote:
>>>> Hi guys, I am beginner in openbmc
>>>> I build openbmc with smbios-mdr repository and I have error:
>>>>
>>>> Read data from flash error - Open MDRV2 table file failure
>>>>
>>>> There isnt file in /var/lib/smbios/smbios2
>>>>
>>>> How I can resolve this problem?
>>>> Help me please!!!

  reply	other threads:[~2021-09-15  5:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 14:40 Alexander Raih
2021-09-13 16:56 ` Andrei Kartashev
2021-09-14  6:46   ` Thang Nguyen
2021-09-14  8:51     ` Andrei Kartashev
2021-09-15  5:41       ` Thang Nguyen [this message]
2021-09-15  8:16         ` Andrei Kartashev
2021-09-15 13:18           ` Garrett, Mike (HPE Server Firmware)
2021-09-16  2:40             ` CS20 CHLi30
2021-09-16 11:18               ` Thang Nguyen
2021-09-16 22:36                 ` Jie Yang
2021-09-17 13:40                   ` Thang Nguyen

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=d93fc722-2a24-0921-56ee-b9968edbd6a6@amperemail.onmicrosoft.com \
    --to=thang@amperemail.onmicrosoft.com \
    --cc=a.kartashev@yadro.com \
    --cc=openbmc@lists.ozlabs.org \
    --subject='Re: Read smbios2 file failed' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).