From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6243BC433EF for ; Tue, 14 Sep 2021 08:52:17 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01F206112E for ; Tue, 14 Sep 2021 08:52:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 01F206112E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=yadro.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4H7xtR2ztTz2yPk for ; Tue, 14 Sep 2021 18:52:15 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=yadro.com header.i=@yadro.com header.a=rsa-sha256 header.s=mta-01 header.b=IZYYGsij; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=yadro.com (client-ip=89.207.88.252; helo=mta-01.yadro.com; envelope-from=a.kartashev@yadro.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=yadro.com header.i=@yadro.com header.a=rsa-sha256 header.s=mta-01 header.b=IZYYGsij; dkim-atps=neutral Received: from mta-01.yadro.com (mta-02.yadro.com [89.207.88.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4H7xsf5rsxz2xlG for ; Tue, 14 Sep 2021 18:51:34 +1000 (AEST) Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 2A57741D34; Tue, 14 Sep 2021 08:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-transfer-encoding:mime-version:user-agent:content-type :content-type:organization:references:in-reply-to:date:date:from :from:subject:subject:message-id:received:received:received; s= mta-01; t=1631609489; x=1633423890; bh=aXoPXotgLofqNYWHFMN7ACIHs tX5+cV5iiK5lc+HOsY=; b=IZYYGsijraUuSw6n7JdQFfiI1ktq9Lp/dDCzHFWdV bFpYJpiycagxw6RgOGkyuTr7VR/zTxn3PT1DQMXV0zsTU63SqVhyGRphBHd3sw2b AkMnlJ59g6Kgv1oEXTmSI7LwCifSGd5zN2fnB79WjBp6npqUYhOuGaQWpND2WjNG 04= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ypvUbK6BQ5pr; Tue, 14 Sep 2021 11:51:29 +0300 (MSK) Received: from T-EXCH-04.corp.yadro.com (t-exch-04.corp.yadro.com [172.17.100.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id E979C41D24; Tue, 14 Sep 2021 11:51:29 +0300 (MSK) Received: from [10.199.0.6] (10.199.0.6) by T-EXCH-04.corp.yadro.com (172.17.100.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Tue, 14 Sep 2021 11:51:29 +0300 Message-ID: <9ab79bcd06ad6b6cf574a8455247a767df8731ac.camel@yadro.com> Subject: Re: Read smbios2 file failed From: Andrei Kartashev To: Thang Nguyen , Date: Tue, 14 Sep 2021 11:51:28 +0300 In-Reply-To: <5f94cf85-6ded-3520-8ad2-592fade91e81@amperemail.onmicrosoft.com> References: <5f94cf85-6ded-3520-8ad2-592fade91e81@amperemail.onmicrosoft.com> Organization: YADRO Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Originating-IP: [10.199.0.6] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-04.corp.yadro.com (172.17.100.104) X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" 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!!! -- Best regards, Andrei Kartashev